Bug 37309

Summary: XFree86-4 port (XFree86 4.2) doesn't compile
Product: Ports & Packages Reporter: Gianluca Sordiglioni <inzet>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Gianluca Sordiglioni 2002-04-21 11:50:01 UTC
Trying to compile the XFree86-4 port to switch from 4.1 to 4.2, compilation stop
s with this error:
installing in programs/scripts...
/usr/bin/install -c -m 0755 xon.sh /usr/X11R6/bin/xon
install in programs/scripts done
installing in programs/glxinfo...
rm -f glxinfo
LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo  -ansi -pedantic -Dasm=__asm -Wa
ll -Wpointer-arith     -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -L/
usr/X11R6/lib -pthread -lm   -Wl,-rpath,/usr/X11R6/lib
/usr/libexec/elf/ld: cannot find -lGLU
*** Error code 1
Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/glxinfo.
*** Error code 1
Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
*** Error code 1
Stop in /usr/ports/x11/XFree86-4-clients/work/xc.
*** Error code 1

Retyping 'make install' compilation unexpectly goes on, but stops again when com
piling XFree86-4-font100dpi port. The output message is:
===>  Configuring for XFree86-font100dpi-4.2.0
(cd /usr/ports/x11-fonts/XFree86-4-font100dpi/work/xc/fonts/encodings &&  imake
-DUseInstalled -DProjectRoot=/usr/X11R6 -I/usr/X11R6/lib/X11/config  -DTOPDIR=..
/../.. -DCURDIR=.;  make Makefiles ;  make includes ;  make depend)
making Makefiles in large...
including in ./large...
depending in ./large...
(cd /usr/ports/x11-fonts/XFree86-4-font100dpi/work/xc/fonts/bdf/100dpi &&  imake
 -DUseInstalled -DProjectRoot=/usr/X11R6 -I/usr/X11R6/lib/X11/config  -DTOPDIR=.
./../.. -DCURDIR=.;  make Makefiles ;  make includes ;  make depend)
make: don't know how to make /usr/X11R6/bin/ucs2any.pl. Stop
*** Error code 2
Stop in /usr/ports/x11-fonts/XFree86-4-font100dpi.
*** Error code 1
Stop in /usr/ports/x11/XFree86-4.

Fix: 

None.
Even reinstalling required ports (libiconv-1.7_2, bison-1.35, gettext-0.11.1_1,
gmake-3.79.1_1, imake-4.2.0, freetype2-2.0.9) has effect.
How-To-Repeat: Install XFree86 4.1 from scratch then update port tree to upgrade to XFree86 4.2.

cd /usr/ports/x11/XFree86-4
make && make install
Comment 1 Doug Barton freebsd_committer freebsd_triage 2002-04-21 23:51:44 UTC
Responsible Changed
From-To: freebsd-ports->jmz


Over to maintainer.
Comment 2 Ernst de Haan 2002-04-29 15:19:06 UTC
I think I found a solution. You should portupgrade XFree86-4-libraries first. 
Then the portupgrade XFree86 proceeds.

/Ernst
Comment 3 jmz freebsd_committer freebsd_triage 2002-07-14 23:29:49 UTC
Responsible Changed
From-To: jmz->anholt

Switch maintainer.
Comment 4 Eric Anholt freebsd_committer freebsd_triage 2002-08-21 06:09:15 UTC
State Changed
From-To: open->closed

both of these errors should be taken care of now.