From owner-freebsd-ports@FreeBSD.ORG Sun Jun 3 15:21:42 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 190DD16A421 for ; Sun, 3 Jun 2007 15:21:42 +0000 (UTC) (envelope-from sven.schellack@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 7F8CF13C4BA for ; Sun, 3 Jun 2007 15:21:41 +0000 (UTC) (envelope-from sven.schellack@gmx.de) Received: (qmail 31137 invoked by uid 0); 3 Jun 2007 14:55:00 -0000 Received: from 84.61.47.172 by www036.gmx.net with HTTP; Sun, 03 Jun 2007 16:55:00 +0200 (CEST) Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" Date: Sun, 03 Jun 2007 16:55:00 +0200 From: "Sven Schellack" In-Reply-To: Message-ID: <20070603145500.206540@gmx.net> MIME-Version: 1.0 References: To: Gerald Pfeifer , ports@FreeBSD.org X-Authenticated: #28740748 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX19zS2kf85Vzn75r44V/rNJq5lh36WFYvBMAEyBU9I JyUAVBHKGekLg0k03EMdbe8hmji0hwUbqfGw== X-GMX-UID: E7MQZsoxeSEqae3v3XUhdHp+IGRvb8AC Cc: Subject: Re: Help with X.org/USE_GL problem needed (was: New X.org and emulators/wine) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 15:21:42 -0000 Hi, just some observations that might help: I installed a new -CURRENT test system about 1.5 weeks ago and then built 7.2. drmOpenOnce and drmCloseOnce do belong to libdrm - see http://lists.freedesktop.org/archives/xorg-announce/2006-November/000175.html I got the same error and recompiled libdrm and after that (and applying the LDT patches to the kernel - see the -CURRENT mailinglist for the thread. But that's a different story...) Wine 0.9.37 built and installed properly (and works, too ;-) ). Hope this helps a little?!? Sven > I'm afraid I did not get a response to this problem, which is strictly > related to the X.org update and now I'm really stuck. > > Could any of the experts look into my analysis below and advise how to > proceed? > > Thanks, > Gerald > > On Sun, 27 May 2007, Gerald Pfeifer wrote: > > After updating my test system to the lastest X.org packages and making > > the adjustments to emulators/wine which I include at the end, my testing > > caught the fact that Wine longer builds the following files: > > > > tar: lib/wine/glu32.dll.so: Cannot stat: No such file or directory > > tar: lib/wine/libglu32.def: Cannot stat: No such file or directory > > tar: lib/wine/libopengl32.def: Cannot stat: No such file or directory > > tar: lib/wine/libwined3d.def: Cannot stat: No such file or directory > > tar: lib/wine/opengl32.dll.so: Cannot stat: No such file or directory > > tar: lib/wine/wined3d.dll.so: Cannot stat: No such file or directory > > > > This is the case because the configure check for glXCreateContext being > > present in -lGL failed. > > > > Diving into the configure log, I spotted the following: > > > > configure:8335: checking for glXCreateContext in -lGL > > configure:8370: cc -o conftest -O2 -fno-strict-aliasing -pipe > > -I/files/pfeifer/porttest/wine/include -I/usr/local/include > > -L/files/pfeifer/porttest/wine/lib -L/usr/local/lib conftest.c > > -lGL -L/usr/local/lib -R/usr/local/lib -lXext -lX11 > > -lm -Wl,-rpath,/files/pfeifer/porttest/wine/lib/wine >&5 > > /usr/local/lib/libGL.so: undefined reference to `drmOpenOnce' > > /usr/local/lib/libGL.so: undefined reference to `drmCloseOnce' > > > > So, while glXCreateContext is actually provided, two other symbols > > libGL.so is looking for in turn are missing. > > > > Now, indeed I cannot find any library providing these on my system. > > /usr/local/lib/libdrm.so.2 comes close in that it provides drmOpen > > and drmClose, but not the drmOpenOnce and drmCloseOnce variants. > > > > Any hints where I should direct my investigations? > > > > Gerald > > > > PS: Updated port below... > > > > Index: Makefile > > =================================================================== > > RCS file: /home/pcvs/ports/emulators/wine/Makefile,v > > retrieving revision 1.233 > > diff -u -3 -p -r1.233 Makefile > > --- Makefile 19 May 2007 20:04:49 -0000 1.233 > > +++ Makefile 27 May 2007 20:21:42 -0000 > > @@ -7,8 +7,7 @@ > > # > > > > PORTNAME= wine > > -PORTVERSION= 0.9.36 > > -PORTREVISION= 1 > > +PORTVERSION= 0.9.37 > > PORTEPOCH= 1 > > CATEGORIES= emulators > > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \ > > @@ -18,11 +17,9 @@ MASTER_SITE_SUBDIR= ${PORTNAME} > > MAINTAINER= gerald@FreeBSD.org > > COMMENT= Microsoft Windows compatibility layer for Unix-like systems > > > > -# wine/dlls/glut32/ depends on the presence of libglut. > > LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \ > > freetype.9:${PORTSDIR}/print/freetype2 \ > > gdraw.1:${PORTSDIR}/print/fontforge \ > > - glut.4:${PORTSDIR}/graphics/libglut \ > > xml2:${PORTSDIR}/textproc/libxml2 > > > > GNU_CONFIGURE= yes > > @@ -38,7 +35,7 @@ ONLY_FOR_ARCHS= i386 > > USE_BISON= yes > > USE_BZIP2= yes > > USE_GMAKE= yes > > -USE_GL= yes > > +USE_GL= glut > > USE_XPM= yes > > > > SUB_FILES= pkg-message > > Index: distinfo > > =================================================================== > > RCS file: /home/pcvs/ports/emulators/wine/distinfo,v > > retrieving revision 1.135 > > diff -u -3 -p -r1.135 distinfo > > --- distinfo 27 Apr 2007 20:42:14 -0000 1.135 > > +++ distinfo 27 May 2007 20:21:42 -0000 > > @@ -1,3 +1,3 @@ > > -MD5 (wine-0.9.36.tar.bz2) = 8cc54b83b5beafcc3d998a04ed723a39 > > -SHA256 (wine-0.9.36.tar.bz2) = > 97266030c40266dce8bc3a0f7085dd1b101c4660562137ac606a96a4cb9133f3 > > -SIZE (wine-0.9.36.tar.bz2) = 11843261 > > +MD5 (wine-0.9.37.tar.bz2) = d8f361e6fe7520cda983a78673cd3bda > > +SHA256 (wine-0.9.37.tar.bz2) = > ea6dd625c19a04956a743616b91d5de6239746860966c6c242475bb06b7008d0 > > +SIZE (wine-0.9.37.tar.bz2) = 11915704 > > Index: pkg-plist > > =================================================================== > > RCS file: /home/pcvs/ports/emulators/wine/pkg-plist,v > > retrieving revision 1.112 > > diff -u -3 -p -r1.112 pkg-plist > > --- pkg-plist 27 Apr 2007 20:42:15 -0000 1.112 > > +++ pkg-plist 27 May 2007 20:21:42 -0000 > > @@ -708,6 +708,7 @@ lib/wine/msvideo.dll16 > > lib/wine/mswsock.dll.so > > lib/wine/msxml3.dll.so > > lib/wine/nddeapi.dll.so > > +lib/wine/net.exe.so > > lib/wine/netapi32.dll.so > > lib/wine/newdev.dll.so > > lib/wine/notepad.exe.so > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger