Skip Menu |

This queue is for tickets about the Tcl CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: frankbrassil [...] gmail.com
Cc:
AdminCc:

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



Subject: Tcl Compile Fails
Date: Wed, 4 Sep 2013 17:04:31 +1000
To: bug-Tcl [...] rt.cpan.org
From: Francis Brassil <frankbrassil [...] gmail.com>
Loading Tcl Module fails: sudo cpanm Tcl --> Working on Tcl Fetching http://www.cpan.org/authors/id/V/VK/VKON/Tcl-1.02.tar.gz ... OK Configuring Tcl-1.02 ... OK Building and testing Tcl-1.02 ... FAIL ! Installing Tcl failed. See /home/frank/.cpanm/work/1378278079.15525/build.log for details. Retry with --force to force install it. The following is from the build.log file Checking dependencies from MYMETA.yml ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.57_05) Building and testing Tcl-1.02 cp Tcl.pm blib/lib/Tcl.pm /usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/ExtUtils/typemap -typemap typemap Tcl.xs > Tcl.xsc && mv Tcl.xsc Tcl.c Please specify prototyping behavior for Tcl.xs (see perlxs manual) cc -c -Itcl-core/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\" -fPIC "-I/usr/lib/perl/5.14/CORE" -DUSE_TCL_STUBS Tcl.c In file included from Tcl.xs:14:0: /usr/lib/perl/5.14/CORE/perl.h:612:24: fatal error: sys/types.h: No such file or directory compilation terminated. make: *** [Tcl.o] Error 1 -> FAIL Installing Tcl failed. See /home/frank/.cpanm/work/1378278079.15525/build.log for details. Retry with --force to force install it. I would be most grateful for any advice. Kind regards -- Frank Brassil Ph: 0430 483 902
missing "sys/types.h" means you need to install aot-get install libc6-dev what is your $^O BTW?