Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2006 20:54:26 +1100
From:      Sam Lawrance <boris@brooknet.com.au>
To:        ports@freebsd.org
Cc:        x11@freebsd.org
Subject:   imake / xorg build error
Message-ID:  <B5FB1309-227E-49E6-B246-3D48E98E646F@brooknet.com.au>

next in thread | raw e-mail | index | archive | help
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.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B5FB1309-227E-49E6-B246-3D48E98E646F>