Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Tk::TableMatrix won't build on Strawberry 5.26.0

by thanos1983 (Parson)
on Jul 21, 2017 at 13:23 UTC ( [id://1195708]=note: print w/replies, xml ) Need Help??


in reply to Tk::TableMatrix won't build on Strawberry 5.26.0

Hello aplonis,

What does the FAIL Installing Tk::TableMatrix failed. See C:\Users\gan\.cpanm\work\1500635987.10348\build.log says?

Looking forward to your reply, BR.

Seeking for Perl wisdom...on the process of learning...not there...yet!

Replies are listed 'Best First'.
Re^2: Tk::TableMatrix won't build on Strawberry 5.26.0
by aplonis (Pilgrim) on Jul 21, 2017 at 13:48 UTC

    The error listed was the tail end (I assume the relevant portion) of the file build.log but here below I'll paste in the whole thing.

    cpanm (App::cpanminus) 1.7043 on perl 5.026000 built for MSWin32-x64-m +ulti-thread Work directory is C:\Users\gan/.cpanm/work/1500635987.10348 You have make C:\Strawberry\c\bin\gmake.exe You have LWP 6.26 Falling back to Archive::Tar 2.26 Searching Tk::TableMatrix () on cpanmetadb ... --> Working on Tk::TableMatrix Fetching http://www.cpan.org/authors/id/C/CE/CERNEY/Tk-TableMatrix-1.2 +3.tar.gz -> OK Unpacking Tk-TableMatrix-1.23.tar.gz Entering Tk-TableMatrix-1.23 META.yml/json not found. Creating skeleton for it. Configuring Tk-TableMatrix-1.23 Running Makefile.PL ### Note: 'Building Outside of Tk itself' Messages are Expected Here # +### PPM for perl5.026000 Test Compiling config/signedchar.c C:\Strawberry\perl\bin\perl.exe is installed in C:\STRAWB~1\perl\lib o +kay gcc: error: config/signedchar.c: No such file or directory gcc: fatal error: no input files compilation terminated. Test Compile/Run config/unsigned.c gcc: error: config/unsigned.c: No such file or directory gcc: fatal error: no input files compilation terminated. Test Compiling config/Ksprintf.c gcc: error: config/Ksprintf.c: No such file or directory gcc: fatal error: no input files compilation terminated. Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c gcc: error: config/Ksprintf.c: No such file or directory gcc: fatal error: no input files compilation terminated. C:/Users/gan/.cpanm/work/1500635987.10348/Tk-TableMatrix-1.23 does not + start with C:/Strawberry/perl/site/lib i.e. building outside Tk itself C:/Users/gan/.cpanm/work/1500635987.10348/Tk-TableMatrix-1.23/pTk does + not start with C:/Strawberry/perl/site/lib i.e. building outside Tk itself Generating Dependencies for MSWin32, win_arch=MSWin32 Test Compiling config/Hstrtoul.c gcc: error: config/Hstrtoul.c: No such file or directory gcc: fatal error: no input files compilation terminated. Test Compiling config/Hstrdup.c gcc: error: config/Hstrdup.c: No such file or directory gcc: fatal error: no input files compilation terminated. Test Compiling config/Hstrcasecmp.c gcc: error: config/Hstrcasecmp.c: No such file or directory gcc: fatal error: no input files compilation terminated. 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 Writing MYMETA.yml and MYMETA.json Writing MYMETA.yml and MYMETA.json Finding dependencies for TableMatrix.xs Generating a gmake-style Makefile Writing Makefile for Tk::TableMatrix Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24) Checking if you have Tk 800.022 ... Yes (804.033) Building and testing Tk-TableMatrix-1.23 cp TableMatrix.pm blib\lib\Tk\TableMatrix.pm AutoSplitting blib\lib\Tk\TableMatrix.pm (blib\lib\auto\Tk\TableMatrix +) cp TableMatrix/Spreadsheet.pm blib\lib\Tk\TableMatrix\Spreadsheet.pm cp TableMatrix/SpreadsheetHideRows.pm blib\lib\Tk\TableMatrix\Spreadsh +eetHideRows.pm cd pTk && gmake gmake[1]: Entering directory 'C:/Users/gan/.cpanm/work/1500635987.1034 +8/Tk-TableMatrix-1.23/pTk' gmake[1]: *** No rule to make target '..\blib\arch\Tk\pTk\.exists', ne +eded by 'config'. Stop. gmake[1]: Leaving directory 'C:/Users/gan/.cpanm/work/1500635987.10348 +/Tk-TableMatrix-1.23/pTk' gmake: *** [Makefile:1171: pTk/libpTk.a] Error 2 -> FAIL Installing Tk::TableMatrix failed. See C:\Users\gan\.cpanm\wor +k\1500635987.10348\build.log for details. Retry with --force to force + install it.

      Just an FYI, a few things to check when trouble shooting module installtions:

      Hello aplonis,

      I think the same, what does the file contains? There should be a complete log or an error indication in the file. Copy paste the content of the file.

      By the way I just tried to install the module for experimentation purposes and although that I am running on Linux I had some problems. I first had to install Tk and then I manage to install the second module. Give it a try maybe it will work for you as well.

      Looking forward to your reply, BR.

      Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1195708]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found