Re: portsupgrade and XFree86-4.4.0

From: Peter Weiss, Sun Microsystems, Germany <Peter.Weiss_at_Sun.com>
Date: Fri, 16 Apr 2004 14:27:54 +0200
>>>>> "Anthony" == Anthony Wood <adwood_at_earthlink.net> writes:

Anthony> On Thu, Apr 15, 2004 at 09:48:33AM +0200, Sascha Holzleiter wrote:

Anthony> [...]

Anthony> On a related not, when compiling 4.4.99.3, I get:

Anthony>  making all in lib/GL/GL...  rm -f libGL.a ar clq libGL.a
Anthony> ../../../lib/GL/glx/unshared/?*.o ../../../lib/GL/glx/glapi_x86.o
Anthony> ../../../lib/GL/dri/unshared/XF86dri.o
Anthony> ../../../lib/GL/dri/unshared/dri_glx.o
Anthony> ../../../lib/GL/dri/drm/unshared/?*.o /usr/libexec/elf/ar:
Anthony> ../../../lib/GL/dri/drm/unshared/?*.o: No such file or directory ***
Anthony> Error code 1

Anthony> Peter, did you have to do anything to overcome this?

Hello Anthony,

Nope, the compilation went okay without any problems (I used the original
4.4.0 sources from xfree.org). The only thing I had to do was to fix the
Makefile in xc/lib/GL/GL/Makefile:

:2$ grep thread Makefile  * e
      THREADS_LIBS = -lpthread
   THREADS_CXXLIBS = -lpthread

(It used to be set to -lc_r)

Now the dependencies are fixed:

:2$ ldd /usr/X11R6/lib/libGL.so
/usr/X11R6/lib/libGL.so:
        libpthread.so.1 => /usr/lib/libpthread.so.1 (0x281b3000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x281d6000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x281db000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x281e8000)
        libc.so.5 => /lib/libc.so.5 (0x28075000)

I'd suggest to ensure that none of the libs in /usr/{local,X11R6}/lib has any
dependency on libc_r (check either with ldd(1) or objdump(1)).

See my other posting in this thread how I solved this.  More details on
request.

Peter

-- 
Peter Weiss               / Peter.Weiss_at_germany.sun.com
Sun Microsystems GmbH     / Sonnenallee 1, D-85551 Kirchheim-Heimstetten
(+49 89) 46008 2947       / mobil 0177/ 60 40 121
Received on Fri Apr 16 2004 - 03:27:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:51 UTC