From owner-freebsd-current Wed Jul 3 0:19: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4814737B400 for ; Wed, 3 Jul 2002 00:19:04 -0700 (PDT) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 445D443E42 for ; Wed, 3 Jul 2002 00:19:04 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g637IwY3034494; Wed, 3 Jul 2002 03:18:59 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <40690.1025103465@axl.seasidesoftware.co.za> References: <40690.1025103465@axl.seasidesoftware.co.za> Date: Wed, 3 Jul 2002 03:18:56 -0400 To: Sheldon Hearn , Szilveszter Adam From: Garance A Drosihn Subject: Re: What's the right way to build XFree86-4 now? Cc: current@FreeBSD.ORG, taguchi@tohoku.iij.ad.jp Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 4:57 PM +0200 6/26/02, Sheldon Hearn wrote: >Here's what I did to get XFree86-4 to build with the base system's >toolchain in -CURRENT: I thought I'd try this out. Before starting, I did a cvsup of all my ports tree. >a) ports/devel/imake-4: > > Replace files/patch-d and files/patch-xthreads with the attached > patch-config::cf::FreeBSD.cf. > > Add the attached patch-config::cf::bsdLib.tmpl. In both of these, I had to change the header lines (the lines which specify the file to patch) from: config/cf/FreeBSD.cf.orig to cf/FreeBSD.cf.orig I was then able to 'make patch' and 'make install' (I did a 'make extract' before touching any patches in imake-4/files). Without changing those lines, the 'make patch' would fail. >b) ports/x11/XFree86-4-libraries: > > Replace files/patch-z45 with the attached patch-z45. > I made the above switch, and it compiled fine. It then died in the middle of my 'make install' attempt: - - - - - installing in lib/GL/GL... /usr/bin/install -c -m 0644 libGL.a /usr/X11R6/lib ranlib /usr/X11R6/lib/libGL.a + /usr/bin/install -c -m 0755 libGL.so.1.2 /usr/X11R6/lib/libGL.so.1 + true + rm -f /usr/X11R6/lib/libGL.so + ln -s libGL.so.1 /usr/X11R6/lib/libGL.so install in lib/GL/GL done installing in lib/GL/mesa/src/OSmesa... /usr/bin/install -c -m 0644 libOSMesa.a /usr/X11R6/lib ranlib /usr/X11R6/lib/libOSMesa.a rm -f ../../../../../lib/GL/mesa/src/translate.o unshared/../../../../../lib/GL/mesa/src/translate.o LD_LIBRARY_PATH=../../../../../exports/lib cc -c -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -I../../../../../exports/include/X11 -I../../../../../include/extensions -I../../../../../extras/Mesa/src/OSmesa -I../../../../../extras/Mesa/src -I../../../../../extras/Mesa/include -I../../../../.. -I../../../../../exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DMALLOC_0_RETURNS_NULL ../../../../../lib/GL/mesa/src/translate.c -o unshared/../../../../../lib/GL/mesa/src/translate.o Assembler messages: FATAL: can't create unshared/../../../../../lib/GL/mesa/src/translate.o: No such file or directory *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/GL/mesa/src/OSmesa. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/GL. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries. - - - - - (note that this means the package didn't get registered...) I did not even try to guess what this problem might be (hey, it's pretty late at this point!). >c) ports/x11-servers/XFree86-4-Server: > > Add the attached patch-gcc31, taken from Motoyuki Konno's post to > with the following Message-ID: > > <200206041243.g54Chxc16331@sakura.mk.bsdclub.org> I thought I'd pretend that #b worked perfectly, and try this too. In my case, I also wanted the matrox drives, so I have export WITH_MATROX_GXX_DRIVER=yes but that still died with "internal compiler error in failed_reload, at reload1.c:5050", while compiling translate.c, while processing included file ../../../../extras/Mesa/src/trans_tmp.h. So, no joy in mudville just yet... -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message