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

Re: Problem building RPM



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).


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