Macport 1.6.0, Leopard and port swi-prolog and tetex do not build
Jean-Philippe Humbert
jean-philippe.humbert at gmx.de
Sun Jan 13 11:39:28 PST 2008
Hi,
I don´t see this in Trac, so I post it here.
I have tried after a fresh Installation from MAcport 1.6 on Leopard to
rebuild every ports I use.
1/ I can´t build tetex:
---> Building teTeX with target all
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_print_teTeX/work/tetex-src-3.0" && make
all " returned error 2
Command output: help-window.c:91: error: 'XmNtopAttachment' undeclared
(first use in this function)
help-window.c:91: error: 'XmATTACH_FORM' undeclared (first use in this
function)
help-window.c:91: warning: left-hand operand of comma expression has
no effect
help-window.c:94: error: 'XmNleftAttachment' undeclared (first use in
this function)
help-window.c:94: warning: left-hand operand of comma expression has
no effect
help-window.c:95: error: 'XmNrightAttachment' undeclared (first use in
this function)
help-window.c:95: warning: left-hand operand of comma expression has
no effect
help-window.c:96: error: 'XmNbottomAttachment' undeclared (first use
in this function)
help-window.c:96: warning: left-hand operand of comma expression has
no effect
help-window.c:97: error: 'XmNscrollingPolicy' undeclared (first use in
this function)
help-window.c:97: error: 'XmAUTOMATIC' undeclared (first use in this
function)
help-window.c:97: warning: left-hand operand of comma expression has
no effect
help-window.c:98: error: 'XmNscrollBarDisplayPolicy' undeclared (first
use in this function)
help-window.c:98: error: 'XmAS_NEEDED' undeclared (first use in this
function)
help-window.c:98: warning: left-hand operand of comma expression has
no effect
help-window.c:100: warning: implicit declaration of function
'XmCreateScrolledText'
help-window.c:100: warning: assignment makes pointer from integer
without a cast
help-window.c: In function 'init_item':
help-window.c:205: error: 'xmFormWidgetClass' undeclared (first use in
this function)
help-window.c:206: error: 'XmNtopAttachment' undeclared (first use in
this function)
help-window.c:206: error: 'XmATTACH_FORM' undeclared (first use in
this function)
help-window.c:207: error: 'XmNleftAttachment' undeclared (first use in
this function)
help-window.c:208: error: 'XmNrightAttachment' undeclared (first use
in this function)
help-window.c:209: error: 'XmNbottomAttachment' undeclared (first use
in this function)
help-window.c: In function 'initialize_items':
help-window.c:296: error: 'XmVERSION_STRING' undeclared (first use in
this function)
make[3]: *** [help-window.o] Error 1
make[2]: *** [libguibuild] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1
2/ I can´t build swi-prolog:
Jph at Christel/~ % sudo port install -v swi-prolog >> prolog.log
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_lang_swi-prolog/work/pl-5.6.48" && make
all " returned error 2
Command output: config.status: creating Makefile
config.status: creating config.h
touch .pkg-config
cd packages && make
for p in clib cpp odbc table xpce sgml sgml/RDF semweb http chr clpqr
nlp ssl pldoc plunit jpl zlib; do \
if [ -r $p/Makefile ]; then make -C $p || exit 1; fi; \
done
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o random.o random.c
../plld.sh -shared -o random.dylib random.o
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o error.o error.c
error.c: In function 'pl_error':
error.c:78: warning: unused variable 'argn'
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o process.o process.c
../plld.sh -shared -o unix.dylib error.o process.o
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o socket.o socket.c
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o nonblockio.o nonblockio.c
../plld.sh -shared -o socket.dylib error.o socket.o nonblockio.o
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o form.o form.c
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o cgi.o cgi.c
../plld.sh -shared -o cgi.dylib error.o form.o cgi.o
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o memfile.o memfile.c
../plld.sh -shared -o memfile.dylib error.o memfile.o
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o files.o files.c
../plld.sh -shared -o files.dylib error.o files.o
../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
-Imaildrop/rfc822 -DHAVE_CONFIG_H -c -o mime.o mime.c
(cd maildrop/rfc2045 && make)
make[3]: *** No targets specified and no makefile found. Stop.
make[2]: *** [maildrop/rfc2045/librfc2045.a] Error 2
make[1]: *** [objects] Error 1
make: *** [packages] Error 2
Error: Status 1 encountered during processing.
Well I have no idea what happens here.
Can someone help or should I report this in Trac?
Thanks
// Jean-Philippe Humbert
More information about the macports-users
mailing list