Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hi Rob!

As near as I remember, the gcc version comes if you install the AS CPAN module.
As I mentioned, I am at v 5.24.
Added: I guess for v5.26 or v5.28, you perhaps would have to fork a new version like I did to add Tk in addition to Tkx in 5.26. Then add CPAN to the public reference project (in addition to Tk) if it is not already there?

I didn't try that, but I ran your suggested command in my command window, (eg cpan -i Math::LongDouble). Here are results in a readmore tag.
This is "verbatim", except that I edited out my user id on this machine.
Cheers, Marshall

Another PS: I looked at my custom AS build of 5.26 with Tk and I could add Math::LongDouble from https://github.com/sisyphus/math-longdouble to that fork, if I wanted to it that way. I do suspect that it would be possible manually add just this one module like I did for v5.24 on my machine. In the current world where computing power, memory and storage are getting to the "don't worry about it" stage, build strategies that would have been unthinkable before are now not only thinkable, but plausible and workable.

Microsoft Windows [Version 10.0.19042.928] (c) Microsoft Corporation. All rights reserved. C:\Users\xxxx\Documents\PerlProjects>cpan -i Math::LongDouble CPAN: Term::ANSIColor loaded ok (v4.06) Reading 'C:\Perl64\cpan\Metadata' Database was generated on Mon, 28 Sep 2020 05:55:34 GMT CPAN: LWP::UserAgent loaded ok (v6.29) Fetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz CPAN: YAML::XS loaded ok (v0.66) Reading 'C:\Perl64\cpan\sources\authors\01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.074) ...................................................................... +......DONE Fetching with LWP: http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz Reading 'C:\Perl64\cpan\sources\modules\02packages.details.txt.gz' Database was generated on Mon, 28 Sep 2020 05:55:34 GMT Warning: This index file is 226 days old. Please check the host you chose as your CPAN mirror for staleness. I'll continue but problems seem likely to happen. ............. New CPAN.pm version (v2.28) available. [Currently running version is v2.27] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. ...............................................................DONE Fetching with LWP: http://ppm.activestate.com/CPAN/modules/03modlist.data.gz Reading 'C:\Perl64\cpan\sources\modules\03modlist.data.gz' DONE Writing C:\Perl64\cpan\Metadata Running install for module 'Math::LongDouble' Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/S/SI/SISYPHUS/Math-LongDoub +le-0.22.tar.gz CPAN: Digest::SHA loaded ok (v5.98) Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/S/SI/SISYPHUS/CHECKSUMS Checksum for C:\Perl64\cpan\sources\authors\id\S\SI\SISYPHUS\Math-Long +Double-0.22.tar.gz ok CPAN: Archive::Tar loaded ok (v2.26) Math-LongDouble-0.22/ Math-LongDouble-0.22/Changes Math-LongDouble-0.22/LongDouble.pm Math-LongDouble-0.22/LongDouble.pod Math-LongDouble-0.22/LongDouble.xs Math-LongDouble-0.22/Makefile.PL Math-LongDouble-0.22/MANIFEST Math-LongDouble-0.22/META.json Math-LongDouble-0.22/META.yml Math-LongDouble-0.22/README Math-LongDouble-0.22/t/ Math-LongDouble-0.22/t/01config_xtra.t Math-LongDouble-0.22/t/aab_basic.t Math-LongDouble-0.22/t/abs.t Math-LongDouble-0.22/t/arith.t Math-LongDouble-0.22/t/base_conversion.t Math-LongDouble-0.22/t/bool.t Math-LongDouble-0.22/t/cmp.t Math-LongDouble-0.22/t/constants.t Math-LongDouble-0.22/t/inc_dec.t Math-LongDouble-0.22/t/int.t Math-LongDouble-0.22/t/ld_bytes.t Math-LongDouble-0.22/t/log_exp.t Math-LongDouble-0.22/t/nan_pow.t Math-LongDouble-0.22/t/new.t Math-LongDouble-0.22/t/nnum.t Math-LongDouble-0.22/t/overload.t Math-LongDouble-0.22/t/overload_cmp_reversal.t Math-LongDouble-0.22/t/pod.t Math-LongDouble-0.22/t/pow.t Math-LongDouble-0.22/t/prec.t Math-LongDouble-0.22/t/signbit.t Math-LongDouble-0.22/t/special.t Math-LongDouble-0.22/t/stringification.t Math-LongDouble-0.22/t/trig.t Math-LongDouble-0.22/try.in Math-LongDouble-0.22/try2.in Math-LongDouble-0.22/try3.in Math-LongDouble-0.22/try4.in Math-LongDouble-0.22/try5.in Math-LongDouble-0.22/typemap CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v1.4422) CPAN: CPAN::Meta loaded ok (v2.150010) CPAN: Module::CoreList loaded ok (v5.20171120) Configuring S/SI/SISYPHUS/Math-LongDouble-0.22.tar.gz with Makefile.PL WARNING: The sqrt and ** (pow) overloading is buggy on ActivePerl. (See the README file.) Checking if your kit is complete... Looks good 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 Generating a dmake-style Makefile Writing Makefile for Math::LongDouble Writing MYMETA.yml and MYMETA.json SISYPHUS/Math-LongDouble-0.22.tar.gz C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK Running make for S/SI/SISYPHUS/Math-LongDouble-0.22.tar.gz cp LongDouble.pm blib\lib\Math\LongDouble.pm cp LongDouble.pod blib\lib\Math\LongDouble.pod Running Mkbootstrap for LongDouble () "C:\Perl64\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "LongDoub +le.bs" "C:\Perl64\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- Lon +gDouble.bs blib\arch\auto\Math\LongDouble\LongDouble.bs 644 "C:\Perl64\bin\perl.exe" "C:\Perl64\lib\ExtUtils\xsubpp" -typemap C:\ +Perl64\lib\ExtUtils\typemap -typemap C:\Perl64\cpan\build\Math-LongDo +uble-0.22-0\typemap LongDouble.xs > LongDouble.xsc "C:\Perl64\bin\perl.exe" -MExtUtils::Command -e mv -- LongDouble.xsc L +ongDouble.c C:\Perl64\site\bin\gcc.exe -c -s -O2 -DWIN32 -DWIN64 -DCONSE +RVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_C +ONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfield +s -s -O2 -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" "-IC:\Perl64 +\lib\CORE" -DNEWPERL -DWE_HAVE_LENDIAN -DLONGLONG2IV_IS_OK -DLONG2IV +_IS_OK -DCFG_LONGDBLKIND=3 -DACTUAL_NVSIZE=8 LongDouble.c "C:\Perl64\bin\perl.exe" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Math::LongDouble\", 'DLBASE' => 'LongDou +ble', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VA +RS' => []);" C:\Perl64\site\bin\g++.exe LongDouble.def -o blib\arch\auto\Math\LongD +ouble\LongDouble.dll -mdll -s -static-libgcc -static-libstdc++ -L"C:\ +Perl64\lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\lib" LongDouble.o " +C:\Perl64\lib\CORE\libperl524.a" -lmoldname -lkernel32 -luser32 -lgdi +32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lne +tapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -l +comctl32 -Wl,--enable-auto-image-base "C:\Perl64\bin\perl.exe" -MExtUtils::Command -e chmod -- 755 blib\arch +\auto\Math\LongDouble\LongDouble.dll SISYPHUS/Math-LongDouble-0.22.tar.gz C:\Perl64\site\bin\dmake.exe -- OK CPAN: CPAN::DistnameInfo loaded ok (v0.12) Running make test for SISYPHUS/Math-LongDouble-0.22.tar.gz "C:\Perl64\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- Lon +gDouble.bs blib\arch\auto\Math\LongDouble\LongDouble.bs 644 "C:\Perl64\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" " +-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'bli +b\arch')" t/*.t t/01config_xtra.t .......... No tests with this file. Instead, mainly for the benefit of the author, we (hopefully) see some diagnostics from some test executables that were run during the Makefile.PL stage. CC = C:\Perl64\site\bin\gcc.exe OPTMIZE = -s -O2 erfl & isnanl check (build): erfl & isnanl check (run): rop is set to a sane value op is set to the correct value build output (nanl check): execution output (nanl check): rop set as expected build output (nan**0 check): nan**0 check diagnostic: 1.0L 1.0L 1.0L size of long double: 16 build output (signbitl check): execution output (signbitl check): ret set as expected build output (sincosl check): execution output (sincosl check): output: 0.000000e+000 1.000000e+000 t/01config_xtra.t .......... ok t/aab_basic.t .............. NAN_POW_BUG is NOT defined NANL_IS_UNAVAILABLE is NOT defined ISNANL_IS_UNAVAILABLE is NOT defined SIGNBITL_IS_UNAVAILABLE is NOT defined SINCOSL_IS_UNAVAILABLE is NOT defined Actual nvsize == 8 Actual long double size = 10 t/aab_basic.t .............. ok t/abs.t .................... Math::LongDouble::_have_isnanl() returns 1 Math::LongDouble::_have_nanl() returns 1 Math::LongDouble::_have_signbitl() returns 1 t/abs.t .................... ok t/arith.t .................. ok t/base_conversion.t ........ ok t/bool.t ................... ok t/cmp.t .................... ok t/constants.t .............. LD_DBL_DENORM_MIN not implemented LD_LDBL_DENORM_MIN not implemented t/constants.t .............. ok t/inc_dec.t ................ ok t/int.t .................... ok t/ld_bytes.t ............... Skipping all tests - nvtype ('double') is not 'long double' t/ld_bytes.t ............... ok t/log_exp.t ................ ok t/nan_pow.t ................ Math:LongDouble::_nan_pow_bug() returns 0 t/nan_pow.t ................ ok t/new.t .................... ok t/nnum.t ................... ok t/overload.t ............... ok t/overload_cmp_reversal.t .. ok t/pod.t .................... Skipping test 1 - no recent version of Te +st::Pod installed t/pod.t .................... ok t/pow.t .................... ok t/prec.t ................... FYI: DBL_DIG = 15 LDBL_DIG = 18 Default precison = 21 t/prec.t ................... ok t/signbit.t ................ ok t/special.t ................ ok t/stringification.t ........ ok t/trig.t ................... built with sincosl function t/trig.t ................... ok All tests successful. Files=24, Tests=319, 3 wallclock secs ( 0.09 usr + 0.09 sys = 0.19 +CPU) Result: PASS SISYPHUS/Math-LongDouble-0.22.tar.gz C:\Perl64\site\bin\dmake.exe test -- OK Running make install for SISYPHUS/Math-LongDouble-0.22.tar.gz Prepending C:\Perl64\cpan\build\Math-LongDouble-0.22-0/blib/arch C:\Pe +rl64\cpan\build\Math-LongDouble-0.22-0/blib/lib to PERL5LIB for 'inst +all' "C:\Perl64\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- Lon +gDouble.bs blib\arch\auto\Math\LongDouble\LongDouble.bs 644 Files found in blib\arch: installing files in blib\lib into architectu +re dependent library tree Installing C:\Perl64\site\lib\auto\Math\LongDouble\LongDouble.dll Installing C:\Perl64\html\site\lib\Math\LongDouble.html Installing C:\Perl64\site\lib\Math\LongDouble.pm Installing C:\Perl64\site\lib\Math\LongDouble.pod Appending installation info to C:\Perl64\lib/perllocal.pod SISYPHUS/Math-LongDouble-0.22.tar.gz C:\Perl64\site\bin\dmake.exe install -- OK ================== my version ================= C:\Users\xxxx\Documents\PerlProjects>perl -v This is perl 5, version 24, subversion 3 (v5.24.3) built for MSWin32-x +64-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2017, Larry Wall Binary build 2404 [404865] provided by ActiveState http://www.ActiveSt +ate.com Built Dec 11 2017 11:09:26 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.

In reply to Re^5: Perl5.26 installing Tk module manually by Marshall
in thread Perl5.26 installing Tk module manually by vinoth.ree

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2021-12-01 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (15 votes). Check out past polls.

    Notices?