bug when i sudo port selfupdate
Hello when i make a sudo selfupdate, i have the report : MacPorts base version 1.5 installed Downloaded MacPorts base version 1.600 Configuring, Building and Installing new MacPorts base Error: /opt/local/bin/port: selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 2 Command output: config.status: WARNING: src/programs/daemondo/Makefile.in seems to ignore the --datarootdir setting config.status: creating Makefile config.status: creating Mk/macports.autoconf.mk config.status: creating doc/prefix.mtree config.status: creating doc/macosx.mtree config.status: creating doc/macports.conf config.status: creating portmgr/freebsd/Makefile config.status: creating portmgr/fedora/macports.spec config.status: creating src/Makefile config.status: creating src/macports1.0/macports_autoconf.tcl config.status: creating src/tclobjc1.0/Makefile config.status: creating src/port1.0/port_autoconf.tcl config.status: creating src/registry1.0/registry_autoconf.tcl config.status: creating src/programs/Makefile config.status: creating src/macports1.0/macports_fastload.tcl config.status: creating src/config.h ===> making all in config make[1]: Nothing to be done for `all'. ===> making all in doc make[1]: Nothing to be done for `all'. ===> making all in src ===> making all in src/cregistry gcc -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic -g -Os -DHAVE_CONFIG_H -I.. -I. -I"/usr/local/include" -DHAVE_CONFIG_H registry.c -o registry.o In file included from ../cregistry/registry.h:36, from ../cregistry/entry.h:36, from registry.c:42: /usr/local/include/tcl.h:19:20: error: common.h: No such file or directory make[2]: *** [registry.o] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 what should i do ? Thanks
Jean-Luc BERTE wrote:
===> making all in src/cregistry gcc -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic -g -Os -DHAVE_CONFIG_H -I.. -I. -I"/usr/local/include" -DHAVE_CONFIG_H registry.c -o registry.o In file included from ../cregistry/registry.h:36, from ../cregistry/entry.h:36, from registry.c:42: /usr/local/include/tcl.h:19:20: error: common.h: No such file or directory
It is picking up something from /usr/local here, which should not happen. Do you have some "external" Tcl installed? Rainer
participants (2)
-
Jean-Luc BERTE
-
Rainer Müller