Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Perl5.26 installing Tk module manually

by marto (Cardinal)
on May 10, 2021 at 08:27 UTC ( #11132325=note: print w/replies, xml ) Need Help??


in reply to Perl5.26 installing Tk module manually

The install doc recommends reading README-ActiveState.txt, you don't say if you've done this. It has been a long time since I had to install this with AS perl, though Strawberry worked for me without issue.

  • Comment on Re: Perl5.26 installing Tk module manually

Replies are listed 'Best First'.
Re^2: Perl5.26 installing Tk module manually
by vinoth.ree (Monsignor) on May 10, 2021 at 16:54 UTC
    Hi marto

    I have installed the Perl 5.28 which incudes Tk modules as builtin module from below URL. https://platform.activestate.com/vinothree/ActivePerl-5.28/distributions

    When I start using the Tk module with perl 5.28 I get below error,

    Event.c: loadable library and perl binaries are mismatched (got handsh +ake key 00000008000004B0, needed 0000000000000000)
    Here is the perl version:
    C:\Users\VinothG>perl -V Summary of my perl5 (revision 5 version 28 subversion 1) configuration +: Platform: osname=MSWin32 osvers=10.0.14393 archname=MSWin32-x64-multi-thread uname='' config_args='undef' hint=recommended useposix=true d_sigaction=undef useithreads=define usemultiplicity=define use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='undef' ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_S +CRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SY +S -fwrapv -fno-strict-aliasing -mms-bitfields' optimize='-s -O2' cppflags='-DWIN32' ccversion='' gccversion='4.6.3' gccosandvers='' intsize=4 longsize=4 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long long' ivsize=8 nvtype='double' nvsize=8 Off_t='long long' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='undef' ldflags ='-s -static-libgcc -static-libstdc++ -L"C:\Perl64\lib\COR +E" -L"C:\MinGW\x86_64-w64-mingw32\lib"' libpth=C:\MinGW\x86_64-w64-mingw32\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 +-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -l +mpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl +g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_3 +2 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc= so=dll useshrplib=true libperl=libperl528.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs dlext=dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags='-mdll -s -static-libgcc -static-libstdc++ -L"C:\Perl64\ +lib\CORE" -L"C:\MinGW\x86_64-w64-mingw32\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 0000 [25391a6d] Built under MSWin32 Compiled at Oct 28 2020 18:24:51

    All is well. I learn by answering your questions...

      Looks like either you're picking something up from another/old installation (check PERL5LIB and PERL_LOCAL_LIB_ROOT) or they made a mistake when building this perl for you. Nobody else can access that URL, you could consider contacting AS support, since you're using their services.

      Interesting. I got an email from AS related to my custom 5.26 build with Tk:

      "Please note, the Platform is in Beta. So if you have any issues with a custom runtime or canít find a package, let us know and we can take a look!

      Happy coding,
      - The ActiveState Team"

      If there are issues, I would take AS up on that offer!
      This custom build stuff is a huge new feature for AS and I am sure that there are some hiccups. That's part of the reason that I am still at v5.24.

      Update: There is some version level where AS said that installing a later version over a previous version was "safe". I don't remember when that was. I would uninstall any AS Perl versions. Then install v5.28 anew and see how that works?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2021-07-31 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?