Re: Problem building RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Feb 2009 15:27:15 +0000, Mike wrote:

> Hi I am haaving a problem building a rpm for vlc 0.9.8 (spec file attached)
> 
> The same spec file works for vlc 0.8.6*
> 
> The final output is
> 
> Binary file /home/mike/rpmbuild/BUILDROOT/vlc-0.9.8a-ffmpeg.i386/usr/bin/vlc
> matches
> Found '/home/mike/rpmbuild/BUILDROOT/vlc-0.9.8a-ffmpeg.i386' in
> installed files; aborting
> error: Bad exit status from /var/tmp/rpm-tmp.3P5LVn (%install)

You don't run "make" in %build, but only in %install. Effectively, you
compile all the stuff no earlier than in %install, where %makeinstall
alters lots of paths that find their way into the compiled files
(see "rpm --eval %makeinstall" on what it does).

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux