[ATrpms-devel] Problem compiling mplayer
Axel Thimm
Axel.Thimm at ATrpms.net
Thu Jul 6 12:45:04 CEST 2006
On Thu, Jul 06, 2006 at 11:30:28AM +0100, Duncan Brown wrote:
> Axel Thimm wrote:
> > This is the relevant part:
> >
> > ============ Checking for X11 headers presence ============
> > Result is: yes (using -I%{_x_includes})
> > ##########################################
> >
> > ============ Checking for X11 ============
> > Result is: no (check if the dev(el) packages are installed)
> >
> > You need to define _x_includes. On FC5 it is simply the same a
> > _includedir. E.g. add to ~/.rpmmacros something like
> >
> > _x_includes %{_includedir}
> >
> > (only on FC5, previous FCs or RHEL use different folders - just for
> > the archives)
> >
> >
> Have added this to my ~/.rpmmacros , it looks like this now:
>
> # cat ~/.rpmmacros
> %_topdir %(echo $HOME)/rpmbuild
> %_smp_mflags -j3
> %__arch_install_post /usr/lib/rpm/check-rpaths
> /usr/lib/rpm/check-buildroot
> _x_includes %{_includedir}
>
> but still no luck, it chokes at the same point
Sorry, there's a % missing. What I suggested is the correct syntax for
rpmbuild --define "...", but .rpmmacro needs the % - and the specfile
needs a whole "%define", so there are three different syntax rules for
the same thing :(
So try
%_x_includes %{_includedir}
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20060706/26396d06/attachment.bin
More information about the atrpms-devel
mailing list