Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Install module Tcl Strawberryperl

by VinsWorldcom (Prior)
on May 14, 2018 at 18:23 UTC ( #1214486=note: print w/replies, xml ) Need Help??


in reply to Install module Tcl Strawberryperl

It seems your errors are in the linking. See your "mostly harmless" warning - it actually is pretty harmful. You need libtcl86.a to be found somewhere on your system. Assuming it's not there, you can create it from tcl86.dll which I'm assuming must be there somewhere in your Tcl install directory. Example code below assumes it's in C:\ActiveTcl\bin\tcl86.dll

cd C:\ActiveTcl\bin pexports tcl86.dll > tcl86.def dlltool --as-flags=--64 -m i386:x86-64 -k --output-lib libtcl86.a --in +put-def tcl86.def

Then...

perl Makefile.PL "LIBS=-LC:/ActiveTcl/bin -ltcl86" dmake

Replies are listed 'Best First'.
Re^2: Install module Tcl Strawberryperl
by Anonymous Monk on May 14, 2018 at 19:25 UTC

    Hi,

    ActiveTcl comes with a .lib

     C:\Tcl8.6/lib/tcl86.lib

    And  strawberry-perl-5.20.3.3-32bit-portable finds it no problem using ExtUtils::MakeMaker version 7.10 and 7.34 (latest).

    ... g++.exe -o blib\arch\auto\Tcl\Tcl.xs.dll -Wl,--base-file -Wl,dll.base +-mdll -s -L"C:\strawberry-perl-5.20.3.3-32bit-portable\perl\lib\CORE" -L"C:\strawberry-perl-5.20.3.3-32bit-portable\c\lib" Tcl.o "C:\strawberry-perl-5.20.3.3-32bit-portable\perl\lib\CORE\libperl520.a +" "C:\Tcl8.6\lib\tcl86.lib" ....

    I think OP should verify .lib file exists, then get latest ExtUtils::MakeMaker and try again

      Hi

      My ActiveTcl installation has a tcl86t.lib (note the t). I'll need to first understand ExtUtils::MakeMaker as I do not know this module and I am not quite sure what do I have to do with it.

        Hi,

        Try calling  perl Makefile.PL -DTCL_LIB_FILE=tcl86t.lib

        While this is not an issue with ExtUtils::MakeMaker itself, still a good idea to keep it current

        This is a bug in VKON/Tcl-1.05/Makefile.PL , it is not retrieving TCL_LIB_FILE= value from C:/ActiveTcl/lib/tclConfig.sh , which ought to be tcl86t.lib

        Maybe TCL_LIB_FILE value wasn't available before , but its available know. You should report this bug to VKON ( bug-Tcl@rt.cpan.org ) and reference this thread

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-05-29 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (166 votes). Check out past polls.

    Notices?