Date: Thu, 24 May 2007 20:29:06 +0200 From: Dejan Lesjak <dejan.lesjak@ijs.si> To: freebsd-x11@freebsd.org Cc: 'Florent Thoumie' <flz@freebsd.org>, Christopher Prance <christopher.prance@gmail.com> Subject: Re: Upgrading to Xorg 7.2.0 Message-ID: <200705242029.07654.dejan.lesjak@ijs.si> In-Reply-To: <46558424.66ba74de.282c.7c3b@mx.google.com> References: <46555fb0.2fb6361b.282c.518a@mx.google.com> <46558324.2070900@FreeBSD.org> <46558424.66ba74de.282c.7c3b@mx.google.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 24 May 2007 14:25:08 Christopher Prance wrote: > > -----Original Message----- > > From: Florent Thoumie [mailto:flz@FreeBSD.org] > > Sent: Thursday, May 24, 2007 2:21 PM > > To: Christopher Prance > > Cc: 'Tom Evans'; freebsd-x11@FreeBSD.org > > Subject: Re: Upgrading to Xorg 7.2.0 > > > > Christopher Prance wrote: > > >> -----Original Message----- > > >> From: Tom Evans [mailto:tevans.uk@googlemail.com] > > >> Sent: Thursday, May 24, 2007 1:07 PM > > >> To: Christopher Prance > > >> Cc: freebsd-x11@FreeBSD.org > > >> Subject: Re: Upgrading to Xorg 7.2.0 > > >> > > >> On Thu, 2007-05-24 at 11:49 +0200, Christopher Prance wrote: > > >>> Hello all, > > >>> > > >>> I've been having some problems while trying to upgrade to Xorg > > >>> 7.2.0, it seems that when I'm doing a pkgdb -F and I run into stale > > >>> dependency for anything -> xdriinfo, it fails with this as it > > > > builds: > > >>> ===> xdriinfo-1.0.1_1 depends on file: > > >>> /usr/local/libdata/pkgconfig/glproto.pc - found > > >>> ===> xdriinfo-1.0.1_1 depends on file: > > >> > > >> /usr/local/libdata/pkgconfig/x11.pc > > >> > > >>> - found > > >>> ===> xdriinfo-1.0.1_1 depends on executable in : pkg-config - > > > > found > > > > >>> ===> xdriinfo-1.0.1_1 depends on shared library: glut.4 - found > > >>> ===> Configuring for xdriinfo-1.0.1_1 > > >>> configure: WARNING: you should use --build, --host, --target > > >>> checking for a BSD-compatible install... /usr/bin/install -c -o > > > > root > > > > >>> -g wheel checking whether build environment is sane... yes checking > > >>> for > > >> > > >> gawk... > > >> > > >>> gawk checking whether make sets $(MAKE)... yes checking whether to > > >>> enable maintainer-specific portions of Makefiles... no checking for > > >>> i386-portbld-freebsd6.2-gcc... cc checking for C compiler default > > >>> output file name... a.out checking whether the C compiler works... > > >> > > >> yes > > >> > > >>> checking whether we are cross compiling... no checking for suffix > > > > of > > > > >>> executables... > > >>> checking for suffix of object files... o checking whether we are > > >> > > >> using > > >> > > >>> the GNU C compiler... yes checking whether cc accepts -g... yes > > >>> checking for cc option to accept ANSI C... none needed checking for > > >>> style of include used by make... GNU checking dependency style of > > >>> cc... gcc3 checking for a BSD-compatible install... > > > > /usr/bin/install > > > > >>> -c -o root -g wheel checking return type of signal handlers... void > > >>> checking for i386-portbld-freebsd6.2-pkg-config... no checking for > > >>> pkg-config... /usr/local/bin/pkg-config checking pkg-config is at > > >>> least version 0.9.0... yes checking for XDRIINFO... yes checking > > > > for > > > > >>> library containing glXGetProcAddressARB... no > > >>> configure: error: cannot find GL library - make sure Mesa or other > > >>> OpenGL package is installed See `config.log' for more details. > > >>> ===> Script "configure" failed unexpectedly. > > >>> Please report the problem to x11@FreeBSD.org [maintainer] and > > > > attach > > > > >>> the "/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/config.log" > > >> > > >> including > > >> > > >>> the output of the failure of your make command. Also, it might be a > > >>> good idea to provide an overview of all packages installed on your > > >>> system (e.g. an `ls /var/db/pkg`). > > >>> *** Error code 1 > > >>> > > >>> Stop in /usr/ports/x11/xdriinfo. > > >>> > > >>> I have actually just deleted the dependency which I hope did not > > >>> mess anything up. I'm still learning as I go so any help would be > > >> > > >> appreciated. > > >> > > >>> All of my LibGL, libGLU, and libglut, are installed and still no > > >> > > >> luck. > > >> > > >>> Thanks, > > >>> Christopher Prance > > >> > > >> Can you attach the > > >> "/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/config.log" including > > >> the output of the failure of your make command. Also, it might be a > > >> good idea to provide an overview of all packages installed on your > > >> system (e.g. an `ls /var/db/pkg`). > > > > > > Here is the list of pkgs and the config.log file.... > > > > > > Thanks in advance! > > > > Can you give me the output of ldd /usr/local/lib/libGL.so.1? > > > > -- > > Florent Thoumie > > flz@FreeBSD.org > > FreeBSD Committer > > /usr/local/lib/libGL.so.1: > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x281cd000) > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x2828e000) > libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x2829b000) > libXdamage.so.1 => /usr/X11R6/lib/libXdamage.so.1 (0x282a0000) > libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x282a3000) > libm.so.4 => /lib/libm.so.4 (0x282a8000) > libpthread.so.2 => /lib/libpthread.so.2 (0x282be000) > libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x282e3000) I'm sorry if you mentioned that before, but you don't have /usr/X11R6 -> /usr/local symlink yet? Assuming you don't and /usr/X11R6/lib/libXdamage.so.1 is still there from xorg-libraries-6.9 [1] then you should remove it (or move it somewhere out of the way) and rebuild libGL so it relinks with the one in /usr/local (that should be there from libXdamage port). Unfortunately they don't seem compatible... Then (assuming it goes well) try xdriinfo again. Dejan [1] it should get removed with xorg-libraries-6.9 port which you apparently don't have installed any more from the output posted before. It's strange that it got left somehow. Output of "pkg_which /usr/X11R6/lib/libXdamage.so.1" (and for the other libraries in above ldd output might be useful if nonempty. Note that you also have a couple of xorg-server ports installed, which also isn't usual situation. Does "pkgdb -F" not mention those?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705242029.07654.dejan.lesjak>