From owner-freebsd-x11@FreeBSD.ORG Fri May 25 10:19:15 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F79316A400 for ; Fri, 25 May 2007 10:19:15 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail4.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id B9EEC13C43E for ; Fri, 25 May 2007 10:19:14 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by mail.ijs.si (Postfix) with ESMTP id 6BA9F192877; Fri, 25 May 2007 12:19:13 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=1180088353; bh=HtLAZkEd6ba2yJg0f1WxpiPxQCc=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:From:To:Subject:Date: User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-Disposition:Message-Id; b=DQFa1k zQI1uSCdcWYtHC3V9a5cEgctx6HqxoBgERefIxp9horcNK3LoIUXHGQXO5RuzJKI7iK HET5naov35cM1iZNTZVcYvL7TNX7VTgJcLhP0Fr27fP1b6Pk9iVLJEj DomainKey-Signature: a=rsa-sha1; s=ja-200610; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:received:received:from:to:subject:date: user-agent:cc:references:in-reply-to:mime-version:content-type: content-transfer-encoding:content-disposition:message-id; b=XUopRwW/ykzWkrswjjYbB1UohZhCkMMyPSb64f2sybYYEavH2zq2mWksC0YuEsiuR /WdJEVbHF4Tb/SIOSvv2+6voJDqpYdfh0gdMxM1rkOymhJBl0hM2N/ldC0uS3OD X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sONl9Pge8Gdw; Fri, 25 May 2007 12:19:10 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id B5AB5192842; Fri, 25 May 2007 12:19:10 +0200 (CEST) Received: from f9pc04.ijs.si (f9pc04.ijs.si [194.249.156.4]) by edina.ijs.si (Postfix) with ESMTP id 91FFF511A0; Fri, 25 May 2007 12:19:10 +0200 (CEST) From: Dejan Lesjak To: "Christopher Prance" Date: Fri, 25 May 2007 12:19:08 +0200 User-Agent: KMail/1.9.6 References: <46555fb0.2fb6361b.282c.518a@mx.google.com> <200705242029.07654.dejan.lesjak@ijs.si> <4655dfb3.053f35e0.30c9.ffffe66e@mx.google.com> In-Reply-To: <4655dfb3.053f35e0.30c9.ffffe66e@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705251219.09701.dejan.lesjak@ijs.si> Cc: freebsd-x11@freebsd.org Subject: Re: Upgrading to Xorg 7.2.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 10:19:15 -0000 On Thursday 24 of May 2007, Christopher Prance wrote: > > -----Original Message----- > > From: Dejan Lesjak [mailto:dejan.lesjak@ijs.si] > > Sent: Thursday, May 24, 2007 8:29 PM > > To: freebsd-x11@freebsd.org > > Cc: Christopher Prance; 'Florent Thoumie' > > Subject: Re: Upgrading to Xorg 7.2.0 > > > > 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? > > Ok, I made a link, well first I moved the X11R6 directory to > /usr/X11R6.old, then created the link. They port built just fine now. Go > figure.... but when I get all of this done and I start to do a portupgrade > -a will everything work out ok? Or have I royally screwed every thing up? > Again your help and everyone elses is MUCH appreciated. Erm, no. Undo that for now - ie. remove /usr/X11R6 -> /usr/local link and put X11R6.old back. The link should come in place when portupgrade is done with mergebase.sh script as said in UPDATING. Now, check and tell us the output of "pkg_which /usr/X11R6/lib/libXdamage.so.1". Dejan