Subject: Re: nautilus vs. libtool question: missing libXrender.la
To: walt <wa1ter@myrealbox.com>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 02/14/2004 23:24:12
Setting PKGSRC_PREFER=Xrender will solve this for you (after cleaning
and rebuilding the package).



On Saturday 14 February 2004 23:14, walt wrote:
> I'm running -CURRENT and trying to bring my packages up to date.  I can't
> get sysutils/nautilus to compile because of this error:
>
> /bin/sh ../libtool --mode=link gcc  -O2 -I/usr/pkg/include -I/usr/include
> -I/usr/pkg/include/libglade-2.0 -I/usr/pkg/in clude/freetype2
> -I/usr/X11R6/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib
> -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,- R/usr/X11R6/lib -o libnautilus.la
> -rpath /usr/pkg/lib -version-info 2:0:0 -Wl,-R/usr/pkg/lib
> -Wl,--export-dynamic -pthr ead -Wl,-R/usr/X11R6/lib -R/usr/pkg/lib
> -L/usr/pkg/lib -L/usr/X11R6/lib -leel-2 -lgnomeui-2 -lSM -lICE -lgailutil
> -lgla de-2.0 -lbonoboui-2 -lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lpopt
> -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0  -latk-1.0
> -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2
> -lgconf-2 -lgnomevfs-2 -lbonobo-activati on -lORBit-2 -lgobject-2.0
> -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lm   -no-undefined 
> nautilus-view-component-s tubs.lo nautilus-view-component-skels.lo
> nautilus-view-component-common.lo nautilus-distributed-undo-stubs.lo
> nautilus- distributed-undo-skels.lo nautilus-distributed-undo-common.lo
> nautilus-clipboard.lo nautilus-idle-queue.lo nautilus-scr
> oll-positionable.lo nautilus-undo-transaction.lo nautilus-undo.lo
> nautilus-view.lo nautilus-view-standard-main.lo  -lin tl
> grep:
> /usr/local/mnt/pkgsrc/sysutils/nautilus/work/.buildlink/lib/libXrender.la:
> No such file or directory sed:
> /usr/local/mnt/pkgsrc/sysutils/nautilus/work/.buildlink/lib/libXrender.la:
> No such file or directory libtool: link:
> `/usr/local/mnt/pkgsrc/sysutils/nautilus/work/.buildlink/lib/libXrender.la'
> is not a valid libtool archi ve gmake[2]: *** [libnautilus.la] Error 1
> gmake[2]: Leaving directory
> `/usr/local/mnt/pkgsrc/sysutils/nautilus/work/nautilus-2.4.2/libnautilus'
>
>
> Well, it's true, I have no libXrender.la anywhere, although I have plenty
> of other *.la files in .buildlink/lib all dated today.
>
>
> # ls -la work/.buildlink/lib/libXrender*
> lrwxr-xr-x  1 root  wheel  27 Feb 14 12:27 work/.buildlink/lib/libXrender.a
> -> /usr/X11R6/lib/libXrender.a lrwxr-xr-x  1 root  wheel  28 Feb 14 12:27
> work/.buildlink/lib/libXrender.so -> /usr/X11R6/lib/libXrender.so
> lrwxr-xr-x  1 root  wheel  30 Feb 14 12:27
> work/.buildlink/lib/libXrender.so.1 -> /usr/X11R6/lib/libXrender.so.1
> lrwxr-xr-x  1 root  wheel  32 Feb 14 12:27
> work/.buildlink/lib/libXrender.so.1.1 -> /usr/X11R6/lib/libXrender.so.1.1
> lrwxr-xr-x  1 root  wheel  32 Feb 14 12:27
> work/.buildlink/lib/libXrender.so.1.2 -> /usr/X11R6/lib/libXrender.so.1.2
>
> So, should I have a libXrender.la, or should libtool make one for me, or
> should libtool not be expecting to find one at all?  Or what?
>
> Thanks for any clue!

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/