Subject: | Problem installing Tcl on Mojave |
Date: | Fri, 19 Apr 2019 10:30:22 +0200 |
To: | bug-Tcl [...] rt.cpan.org |
From: | welle Ozean <welleozean [...] googlemail.com> |
Hello,
I am having problems installing Tcl on Mojave, both against custom Tcl/Tk
frameworks as well as a fresh ActiveTcl installation. I am using system
Perl. The error I get is *Tcl.xs:13:10: **fatal error: **'EXTERN.h' file
not found*
Here is the log with the fresh ActiveTcl:
tclsh=/usr/local/bin/tclsh
tclConfig.sh=/Library/Frameworks/Tcl.framework/Versions/8.6/tclConfig.sh
tcl_library=/Library/Frameworks/Tcl.framework/Versions/8.6/Resources/Scripts
tcl_version=8.6
Using config data in
/Library/Frameworks/Tcl.framework/Versions/8.6/tclConfig.sh
LIBS = -L/Library/Frameworks/Tcl.framework/Versions/8.6 -ltclstub8.6
INC = -I/Library/Frameworks/Tcl.framework/Versions/8.6/Headers
DEFINE = -DUSE_TCL_STUBS -DTCLSH_PATH=\"/usr/local/bin\"
-DLIB_RUNTIME_DIR=\"/Library/Frameworks/Tcl.framework\"
-DTCL_LIB_FILE=\"Tcl\"
tclConfig.sh = /Library/Frameworks/Tcl.framework/Versions/8.6/tclConfig.sh
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Tcl
Writing MYMETA.yml and MYMETA.json
cp Tcl.pm blib/lib/Tcl.pm
Running Mkbootstrap for Tcl ()
chmod 644 "Tcl.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tcl.bs
blib/arch/auto/Tcl/Tcl.bs 644
"/usr/bin/perl" "/System/Library/Perl/5.18/ExtUtils/xsubpp" -typemap
'/System/Library/Perl/5.18/ExtUtils/typemap' -typemap
'/Users/fc/.cpan/build/Tcl-1.27-Qih3pH/typemap' Tcl.xs > Tcl.xsc
Please specify prototyping behavior for Tcl.xs (see perlxs manual)
mv Tcl.xsc Tcl.c
cc -c -I/Library/Frameworks/Tcl.framework/Versions/8.6/Headers -g -pipe
-fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os
-DVERSION=\"1.27\" -DXS_VERSION=\"1.27\"
"-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"
-DUSE_TCL_STUBS -DTCLSH_PATH=\"/usr/local/bin\"
-DLIB_RUNTIME_DIR=\"/Library/Frameworks/Tcl.framework\"
-DTCL_LIB_FILE=\"Tcl\" Tcl.c
*Tcl.xs:13:10: **fatal error: **'EXTERN.h' file not found*
#include "EXTERN.h"
* ^~~~~~~~~~*
1 error generated.
make: *** [Tcl.o] Error 1
VKON/Tcl-1.27.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
VKON/Tcl-1.27.tar.gz : make NO