Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 03:18:56 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Sheldon Hearn <sheldonh@starjuice.net>, Szilveszter Adam <sziszi@bsd.hu>
Cc:        current@FreeBSD.ORG, taguchi@tohoku.iij.ad.jp
Subject:   Re: What's the right way to build XFree86-4 now?
Message-ID:  <p0511171db9484f25bdcc@[128.113.24.47]>
In-Reply-To: <40690.1025103465@axl.seasidesoftware.co.za>
References:  <40690.1025103465@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>    <freebsd-current@FreeBSD.ORG> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0511171db9484f25bdcc>