Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^6: Perl5.26 installing Tk module manually

by syphilis (Bishop)
on May 13, 2021 at 12:28 UTC ( #11132532=note: print w/replies, xml ) Need Help??


in reply to Re^5: Perl5.26 installing Tk module manually
in thread Perl5.26 installing Tk module manually

WARNING: The sqrt and ** (pow) overloading is buggy on ActivePerl. (See the README file.)

Ooops ... you shouldn't be getting that warning. (Now fixed on github.)

I used the wizard to install perl-5.28.1 from the AS msi. I'm still having trouble getting anywhere - maybe there's something in the registry, from a previous installation that's causing problems.
I've pretty much lost interest in persevering with it.

Having added my gcc-4.7.0 compiler and dmake to my path, here's what I get when I try a manual build of Math::LongDouble:
C:\sisyphusion\Math-LongDouble-0.22>perl Makefile.PL WARNING: The sqrt and ** (pow) overloading is buggy on ActivePerl. (See the README file.) Checking if your kit is complete... Looks good ... Detected uninstalled Perl. Trying to continue. Have \_64\active~1.28\lib Want \temp\activestate--------please-run-the-install-script--------\li +b Warning (mostly harmless): No library found for -lm Warning (mostly harmless): No library found for -lmoldname Warning (mostly harmless): No library found for -lkernel32 Warning (mostly harmless): No library found for -luser32 Warning (mostly harmless): No library found for -lgdi32 Warning (mostly harmless): No library found for -lwinspool Warning (mostly harmless): No library found for -lcomdlg32 Warning (mostly harmless): No library found for -ladvapi32 Warning (mostly harmless): No library found for -lshell32 Warning (mostly harmless): No library found for -lole32 Warning (mostly harmless): No library found for -loleaut32 Warning (mostly harmless): No library found for -lnetapi32 Warning (mostly harmless): No library found for -luuid Warning (mostly harmless): No library found for -lws2_32 Warning (mostly harmless): No library found for -lmpr Warning (mostly harmless): No library found for -lwinmm Warning (mostly harmless): No library found for -lversion Warning (mostly harmless): No library found for -lodbc32 Warning (mostly harmless): No library found for -lodbccp32 Warning (mostly harmless): No library found for -lcomctl32 Failed to opendir 'C:\TEMP\ActiveState--------please-run-the-install-s +cript--------\lib\CORE' to find header files: No such file or directory at C:/_64/ActiveState-5.28/site/lib/ExtUtil +s/MM_Any.pm line 3049.
I don't understand any of that.
I don't know what or where the "uninstalled Perl" is.
The directory \_64\active~1.28\lib does not exist AFAICT.
I don't understand the direction to "please-run-the-install-script".

Also, in their perl/site/lib/ActivePerl/Config.pm, there's a sub _warn that begins:
sub _warn { my($msg) = @_; unless (-t STDOUT) { print "\n$msg\n"; return; } require Win32::Console; .....
If AS is going to conditionally call Win32::Console, it's probably a good idea that they include Win32::Console in their distribution. (You can pass that suggestion on to them if you like.)
My first attempts at using the cpan utility resulted simply in the announcement that Win32::Console could not be found, and should be installed.
I speculate that _warn() had been called because dmake could not be found in my path ... but that useful piece of information never made it to the screen because -t STDOUT was "True" && Win32::Console was nowhere to be found.

Cheers,
Rob

Replies are listed 'Best First'.
Re^7: Perl5.26 installing Tk module manually
by Marshall (Canon) on May 15, 2021 at 02:56 UTC
    I used the wizard to install perl-5.28.1 from the AS msi. I'm still having trouble getting anywhere - maybe there's something in the registry, from a previous installation that's causing problems.

    That might very well be. Prior to some release number which I forget, you had to run the Windows uninstaller first before running a new version's .msi file.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2021-09-16 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?