Subject: | Install problems |
I cannot install the package. Building fails. I'm using perl v5.8.4,
tcl-8.4.6 and tk-8.4.6-r1.
CPAN module install output:
...
Extracting tkTableWin.c
Extracting tkTableversion.h
Extracting version.h
Finding dependencies for tkTable.c
Finding dependencies for tkTableCell.c
Finding dependencies for tkTableCellSort.c
Finding dependencies for tkTableCmds.c
Finding dependencies for tkTableEdit.c
Finding dependencies for tkTableTag.c
Finding dependencies for tkTableUtil.c
Finding dependencies for tkTableWin.c
ERROR from evaluation of /root/.cpan/build/Tk-TableMatrix-1.1/pTk/Makefile.PL: Can't locate object method "dir_target" via package "PACK002" at ./Makefile.PL line 237.
MY::postamble('PACK002=HASH(0x85c2da8)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 611
ExtUtils::MakeMaker::new('MM', 'PACK002=HASH(0x85c2da8)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 53
ExtUtils::MakeMaker::WriteMakefile('VERSION', 804.027, 'XS_VERSION', 804.027, 'DEFINE', '', 'INC', '-I/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk -I/usr/X11R6...', 'XS_VERSION', ...) called at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk/MMutil.pm line 584
Tk::MMutil::TkExtMakefile('NAME', 'Tk::pTk', 'VERSION', 1.1, 'XS_VERSION', 0.9, 'LINKTYPE', 'static', 'OBJECT', ...) called at ./Makefile.PL line 28
require ./Makefile.PL called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 183
ExtUtils::MakeMaker::eval_in_x('PACK001=HASH(0x821511c)', '/root/.cpan/build/Tk-TableMatrix-1.1/pTk') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 170
eval {...} called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 170
ExtUtils::MakeMaker::eval_in_subdirs('PACK001=HASH(0x821511c)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 594
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x821511c)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 53
ExtUtils::MakeMaker::WriteMakefile('VERSION', 804.027, 'XS_VERSION', 804.027, 'DEFINE', '', 'INC', '-I/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk -I/usr/lib/p...', 'LIBS', ...) called at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk/MMutil.pm line 584
Tk::MMutil::TkExtMakefile('VERSION', 1.1, 'XS_VERSION', 1.1, 'EXE_FILES', 'ARRAY(0x83dea34)', 'NAME', 'Tk::TableMatrix', 'DIR', ...) called at Makefile.PL line 71
ExtUtils::MakeMaker::eval_in_x('PACK001=HASH(0x821511c)', '/root/.cpan/build/Tk-TableMatrix-1.1/pTk') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 170
eval {...} called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 170
ExtUtils::MakeMaker::eval_in_subdirs('PACK001=HASH(0x821511c)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 594
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x821511c)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 53
ExtUtils::MakeMaker::WriteMakefile('VERSION', 804.027, 'XS_VERSION', 804.027, 'DEFINE', '', 'INC', '-I/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk -I/usr/lib/p...', 'LIBS', ...) called at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk/MMutil.pm line 584
Tk::MMutil::TkExtMakefile('VERSION', 1.1, 'XS_VERSION', 1.1, 'EXE_FILES', 'ARRAY(0x83dea34)', 'NAME', 'Tk::TableMatrix', 'DIR', ...) called at Makefile.PL line 71
ExtUtils::MakeMaker::eval_in_subdirs('PACK001=HASH(0x821511c)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 594
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x821511c)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 53
ExtUtils::MakeMaker::WriteMakefile('VERSION', 804.027, 'XS_VERSION', 804.027, 'DEFINE', '', 'INC', '-I/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk -I/usr/lib/p...', 'LIBS', ...) called at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk/MMutil.pm line 584
Tk::MMutil::TkExtMakefile('VERSION', 1.1, 'XS_VERSION', 1.1, 'EXE_FILES', 'ARRAY(0x83dea34)', 'NAME', 'Tk::TableMatrix', 'DIR', ...) called at Makefile.PL line 71
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Gentoo emerge output:
theodor ~ # emerge Tk-TableMatrix
Calculating dependencies ...done!
Show quoted text
>>> emerge (1 of 1) dev-perl/Tk-TableMatrix-1.1 to /
>>> md5 src_uri ;-) Tk-TableMatrix-1.1.tar.gz
>>> Unpacking source...
>>> Unpacking Tk-TableMatrix-1.1.tar.gz to /var/tmp/portage/Tk-TableMatrix-1.1/work
>>> Source unpacked.
### Note: 'Building Outside of Tk itself' Messages are Expected Here ####
/usr/bin/perl is installed in /usr/lib/perl5/5.8.4/i686-linux okay
PPM for perl5.008004
Test Compiling config/signedchar.c
Test Compile/Run config/unsigned.c
Test Compiling config/Ksprintf.c
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.so.6.2
Using -I/usr/X11R6/include to find /usr/X11R6/include/X11/Xlib.h
/var/tmp/portage/Tk-TableMatrix-1.1/work/Tk-TableMatrix-1.1 does not start with /usr/lib/perl5/vendor_perl/5.8.4/i686-linux
i.e. building outside Tk itself
/var/tmp/portage/Tk-TableMatrix-1.1/work/Tk-TableMatrix-1.1/pTk does not start with /usr/lib/perl5/vendor_perl/5.8.4/i686-linux
i.e. building outside Tk itself
Generating Dependencies for linux, win_arch=x
Test Compiling config/Hstrtoul.c
Test Compiling config/Hstrdup.c
Test Compiling config/Hstrcasecmp.c
Extracting mm.h
Extracting tkTable.c
Extracting tkTable.h
Extracting tkTableCell.c
Extracting tkTableCellSort.c
Extracting tkTableCmds.c
Extracting tkTableEdit.c
Extracting tkTableTag.c
Extracting tkTableUtil.c
Extracting tkTableWin.c
Extracting tkTableversion.h
Extracting version.h
Finding dependencies for tkTable.c
Finding dependencies for tkTableCell.c
Finding dependencies for tkTableCellSort.c
Finding dependencies for tkTableCmds.c
Finding dependencies for tkTableEdit.c
Finding dependencies for tkTableTag.c
Finding dependencies for tkTableUtil.c
Finding dependencies for tkTableWin.c
ERROR from evaluation of /var/tmp/portage/Tk-TableMatrix-1.1/work/Tk-TableMatrix-1.1/pTk/Makefile.PL: Can't locate object method "dir_target" via package "PACK002" at ./Makefile.PL line 237.
MY::postamble('PACK002=HASH(0x85cb278)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 611
ExtUtils::MakeMaker::new('MM', 'PACK002=HASH(0x85cb278)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 53
ExtUtils::MakeMaker::WriteMakefile('VERSION', 804.027, 'XS_VERSION', 804.027, 'DEFINE', '', 'INC', '-I/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk -I/usr/X11R6...', 'XS_VERSION', ...) called at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk/MMutil.pm line 584
Tk::MMutil::TkExtMakefile('NAME', 'Tk::pTk', 'VERSION', 1.1, 'XS_VERSION', 0.9, 'LINKTYPE', 'static', 'OBJECT', ...) called at ./Makefile.PL line 28
require ./Makefile.PL called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 183
ExtUtils::MakeMaker::eval_in_x('PACK001=HASH(0x81d10e4)', '/var/tmp/portage/Tk-TableMatrix-1.1/work/Tk-TableMatrix-1.1/pTk') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 170
eval {...} called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 170
ExtUtils::MakeMaker::eval_in_subdirs('PACK001=HASH(0x81d10e4)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 594
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x81d10e4)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 53
ExtUtils::MakeMaker::WriteMakefile('VERSION', 804.027, 'XS_VERSION', 804.027, 'DEFINE', '', 'INC', '-I/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk -I/usr/lib/p...', 'LIBS', ...) called at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk/MMutil.pm line 584
Tk::MMutil::TkExtMakefile('VERSION', 1.1, 'XS_VERSION', 1.1, 'EXE_FILES', 'ARRAY(0x83e5160)', 'NAME', 'Tk::TableMatrix', 'DIR', ...) called at Makefile.PL line 71
ExtUtils::MakeMaker::eval_in_x('PACK001=HASH(0x81d10e4)', '/var/tmp/portage/Tk-TableMatrix-1.1/work/Tk-TableMatrix-1.1/pTk') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 170
eval {...} called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 170
ExtUtils::MakeMaker::eval_in_subdirs('PACK001=HASH(0x81d10e4)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 594
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x81d10e4)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 53
ExtUtils::MakeMaker::WriteMakefile('VERSION', 804.027, 'XS_VERSION', 804.027, 'DEFINE', '', 'INC', '-I/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk -I/usr/lib/p...', 'LIBS', ...) called at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk/MMutil.pm line 584
Tk::MMutil::TkExtMakefile('VERSION', 1.1, 'XS_VERSION', 1.1, 'EXE_FILES', 'ARRAY(0x83e5160)', 'NAME', 'Tk::TableMatrix', 'DIR', ...) called at Makefile.PL line 71
ExtUtils::MakeMaker::eval_in_subdirs('PACK001=HASH(0x81d10e4)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 594
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x81d10e4)') called at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/MakeMaker.pm line 53
ExtUtils::MakeMaker::WriteMakefile('VERSION', 804.027, 'XS_VERSION', 804.027, 'DEFINE', '', 'INC', '-I/usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk -I/usr/lib/p...', 'LIBS', ...) called at /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/Tk/MMutil.pm line 584
Tk::MMutil::TkExtMakefile('VERSION', 1.1, 'XS_VERSION', 1.1, 'EXE_FILES', 'ARRAY(0x83e5160)', 'NAME', 'Tk::TableMatrix', 'DIR', ...) called at Makefile.PL line 71
make: *** Inga mål angavs och ingen makefil hittades. Stannar.
!!! ERROR: dev-perl/Tk-TableMatrix-1.1 failed.
!!! Function perl-module_src_compile, Line 65, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.