imake / xorg build error
Sam Lawrance
boris at brooknet.com.au
Wed Jan 25 01:54:59 PST 2006
In case anybody else comes across this error in devel/imake-6 (and
other xorg ports):
------------------------------ 8< ------------------------------
+ mv imake bootstrap
cd ./config/imake && make -f Makefile.proto imakeonly
cc -O2 -fno-strict-aliasing -pipe -O2 -fno-strength-reduce -fno-
strict-aliasing -ansi -pedantic -Wno-system-headers -Dasm=__asm -
Wall -Wpointer-arith -Wundef -I../../include -I../../exports/
include/X11 -I../.. -I../../exports/include -DCSRG_BASED -
DFUNCPROTO=15 -DNARROWPROTO -DCPP_PROGRAM="\"/usr/bin/cpp\"" -
DHAS_MERGE_CONSTANTS=`if cc -fmerge-constants -xc /dev/null -S -o /
dev/null 2> /dev/null 1> /dev/null; then echo 1; else echo 0;
fi` -DMONOLITH -c imake.c
rm -f imake
cc -o imake -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -
pedantic -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith -
Wundef imake.o -L/usr/X11R6/lib -lgnumalloc -Wl,-rpath,/usr/
X11R6/lib -Wl,-rpath-link,../../exports/lib
/usr/bin/ld: cannot find -lgnumalloc
*** Error code 1
Stop in /usr/ports/devel/imake-6/work/xc/config/imake.
*** Error code 1
Stop in /usr/ports/devel/imake-6/work/xc.
make: cannot open xmakefile.
*** Error code 2
Stop in /usr/ports/devel/imake-6.
------------------------------ 8< ------------------------------
The problem was that I was running a release built with RELEASENAME
set to something not matching the usual form (eg RELEASENAME=blah vs.
RELEASENAME=6.0-STABLE). It seems that xorg uses that string for
some pre-build configuration.
I used a faked-up uname from ports/Tools/portbuild/5/bindist/usr/bin/
uname as a workaround.
More information about the freebsd-ports
mailing list