recipe for building base with MP tcl

Bradley Giesbrecht pixilla at macports.org
Wed Sep 25 07:46:04 PDT 2013


Is there a recipe for building base with MP tcl?


I have tried building tcl with MP in a /opt/macports-test prefix; then build base with /opt/local prefix using tcl from /opt/macports-test:

$ CC=gcc-4.2 TCLSH=/opt/macports-test/bin/tclsh ./configure --prefix=/opt/local --with-tcl=/opt/macports-test/lib --with-tclinclude=/opt/macports-test/include --with-tclpackage=/opt/macports-test/lib | grep tcl
configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your environment, preventing the use of GNUstep's Foundation library
configure: WARNING: No ports tree found
checking for Tcl configuration... found /opt/macports-test/lib/tclConfig.sh
checking for existence of /opt/macports-test/lib/tclConfig.sh... loading
checking for tclsh... /opt/macports-test/bin/tclsh
checking whether tclsh was compiled with threads... yes
config.status: creating src/macports1.0/macports_autoconf.tcl
config.status: creating src/macports1.0/macports_test_autoconf.tcl
config.status: creating src/macports1.0/macports_fastload.tcl
config.status: creating src/package1.0/package_test_autoconf.tcl
config.status: creating src/port1.0/port_autoconf.tcl
config.status: creating src/port1.0/port_test_autoconf.tcl
config.status: creating src/registry2.0/registry_autoconf.tcl

$ sudo make install
/opt/macports-test/bin/tclsh src/images_to_archives.tcl "/opt/local/share/macports/Tcl"
can't find package msgcat
    while executing
"package require msgcat"
    (file "/opt/local/share/macports/Tcl/registry2.0/registry.tcl" line 40)
    invoked from within
"source /opt/local/share/macports/Tcl/registry2.0/registry.tcl"
    ("package ifneeded registry 1.0" script)
    invoked from within
"package require registry 1.0"
    (file "src/images_to_archives.tcl" line 10)
make: *** [install] Error 1

$ echo 'puts $tcl_version;package require msgcat;exit 0' | /opt/macports-test/bin/tclsh
8.6


Regards,
Bradley Giesbrecht (pixilla)



More information about the macports-dev mailing list