Skip Menu |

This queue is for tickets about the Tcl CPAN distribution.

Report information
The Basics
Id: 129231
Status: resolved
Priority: 0/
Queue: Tcl

People
Owner: Nobody in particular
Requestors: welleozean [...] googlemail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
lack of #include "EXTERN.h" ...probably means that your perl installation do not have "development" part IOW - can you build any other extension that involves compiling something? (not pure-perl module) Where is the said file "EXTERN.h"?
Subject: Re: [rt.cpan.org #129231] Problem installing Tcl on Mojave
Date: Fri, 19 Apr 2019 12:46:33 +0200
To: bug-Tcl [...] rt.cpan.org
From: welle Ozean <welleozean [...] googlemail.com>
Hi Vadim, indeed. Probably it is a macOS peculiarity with its system Perl I wasn't aware of. I installed another Perl and I could compile Tcl with no problems. So, this is not a bug with Tcl.pl but a feature/peculiarity of system Perl on macOS I need to address somewhere else (unfortunately I am in need to compile my modules the system Perl). Thank you Welle Am Fr., 19. Apr. 2019 um 10:39 Uhr schrieb Vadim Konovalov via RT < bug-Tcl@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=129231 > > > lack of > #include "EXTERN.h" > ...probably means that your perl installation do not have "development" > part > > IOW - can you build any other extension that involves compiling something? > (not pure-perl module) > Where is the said file "EXTERN.h"? >