Upgrading to Xorg 7.2.0

Florent Thoumie flz at FreeBSD.org
Thu May 24 12:32:15 UTC 2007


Christopher Prance wrote:
> 
>> -----Original Message-----
>> From: Florent Thoumie [mailto:flz at FreeBSD.org]
>> Sent: Thursday, May 24, 2007 2:21 PM
>> To: Christopher Prance
>> Cc: 'Tom Evans'; freebsd-x11 at FreeBSD.org
>> Subject: Re: Upgrading to Xorg 7.2.0
>>
>> Christopher Prance wrote:
>>>> -----Original Message-----
>>>> From: Tom Evans [mailto:tevans.uk at googlemail.com]
>>>> Sent: Thursday, May 24, 2007 1:07 PM
>>>> To: Christopher Prance
>>>> Cc: freebsd-x11 at 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 at 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 at 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)
> 
> There you go and just out of curiosity, what exactly does this tell you?  If
> you don't mind explaining.  I'm trying to learn as I go.

Check config.log for error messages related to the libGL test. It tries
to compile a small program but fails because of an unresolved symbol
which is present in libXdamage.

The weird thing is, if I try to compile the program myself (even without
specifying -lXdamage as a gcc option) it just works. So I'm not sure
what's wrong here.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20070524/54a0a4e6/signature.pgp


More information about the freebsd-x11 mailing list