Trying to install the Tcl/Tk modules to do a GUI on AIX5.3. I have successfully built the Tcl libraries from source. And, I've been able to install the RPM packages via the AIX linux tools. However, I cannot get things combed straight.

perl ./MakeFile.pl - works.
make appears to work.
make test fails spectacularly. Since Tcl.pm won't load, all tests fail.

My suspicion is that there is a 32 vs 64 bit tangle. When I built the Tcl libraries from source I used --enable-64bit. As the build ran, I noticed a warning stating 64bit was not supported on AIX, and it reverted back to 32. The libs built and I can crankup tclsh. But, I'm suspicious that the 64bit Perl install is choking on the 32bit libraries.

Any feedback about this specific issue would be appreciated. Also, any ideas on the wider process of getting Tcl/Tk and associated Perl modules installed on AIX5.3 would be appreciated.

root@host:/opt/perl-5.14.4/downloads/modules/Tkx/Tcl-1.02# perl514 Mak +efile.PL LIBS = -Ltcl-core/aix -ltclstub8.4 INC = -Itcl-core/include DEFINE = -DUSE_TCL_STUBS Checking if your kit is complete... Looks good Warning: -Ltcl-core/aix changed to -L/opt/perl-5.14.4/downloads/module +s/Tkx/Tcl-1.02/tcl-core/aix Generating a Unix-style Makefile Writing Makefile for Tcl Writing MYMETA.yml and MYMETA.json root@host:/opt/perl-5.14.4/downloads/modules/Tkx/Tcl-1.02# make cp Tcl.pm blib/lib/Tcl.pm /usr/bin/perl514 -e 'use ExtUtils::Mksymlists; Mksymlists("NA +ME" => "Tcl", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []); +' Running Mkbootstrap for Tcl () chmod 644 Tcl.bs /usr/bin/perl514 /opt/perl-5.14.4/lib/5.14.4/ExtUtils/xsubpp +-typemap /opt/perl-5.14.4/lib/5.14.4/ExtUtils/typemap -typemap typema +p Tcl.xs > Tcl.xsc && mv Tcl.xsc Tcl.c Please specify prototyping behavior for Tcl.xs (see perlxs manual) gcc -maix64 -maix64 -c -Itcl-core/include -D_THREAD_SAFE -D_ +ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEE +D_PTHREAD_INIT -fno-strict-aliasing -pipe -I/usr/local/include -maix6 +4 -DUSE_64_BIT_ALL -O -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\" " +-I/opt/perl-5.14.4/lib/5.14.4/aix-thread-multi-64all/CORE" -DUSE_TCL +_STUBS Tcl.c rm -f blib/arch/auto/Tcl/Tcl.so gcc -maix64 -maix64 -Wl,-b64 -Wl,-bhalt:4 -Wl,-G -Wl,-bI:/opt +/perl-5.14.4/lib/5.14.4/aix-thread-multi-64all/CORE/perl.exp -Wl,-bE: +Tcl.exp -Wl,-bnoentry -lpthreads -lc -lm -L/usr/local/lib Tcl.o -o b +lib/arch/auto/Tcl/Tcl.so -L/opt/perl-5.14.4/downloads/module +s/Tkx/Tcl-1.02/tcl-core/aix -ltclstub8.4 chmod 755 blib/arch/auto/Tcl/Tcl.so /usr/bin/perl514 -MExtUtils::Command::MM -e 'cp_nonempty' -- +Tcl.bs blib/arch/auto/Tcl/Tcl.bs 644 Manifying blib/man3/Tcl.3 root@host:/opt/perl-5.14.4/downloads/modules/Tkx/Tcl-1.02# make test Running Mkbootstrap for Tcl () chmod 644 Tcl.bs PERL_DL_NONLAZY=1 /usr/bin/perl514 "-MExtUtils::Command::MM" " +-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0 +, 'blib/lib', 'blib/arch')" t/*.t t/call.t ........... Can't load '/opt/perl-5.14.4/downloads/modules/Tk +x/Tcl-1.02/blib/arch/auto/Tcl/Tcl.so' for module Tcl: rtld: 0712-001 +Symbol Tcl_InitStubs was referenced from module /opt/perl-5.14.4/downloads/modules/Tkx/Tcl-1.02/blib +/arch/auto/Tcl/Tcl.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol tclStubsPtr was referenced from module /opt/perl-5.14.4/downloads/modules/Tkx/Tcl-1.02/blib +/arch/auto/Tcl/Tcl.so(), but a runtime definition of the symbol was not found. rtld: 0712-002 fatal error: exiting. at /opt/perl-5.14.4/lib/5.14.4/ai +x-thread-multi-64all/DynaLoader.pm line 190. at t/call.t line 6 Compilation failed in require at t/call.t line 6. BEGIN failed--compilation aborted at t/call.t line 6. Undefined subroutine &Tcl::_Finalize called at /opt/perl-5.14.4/downlo +ads/modules/Tkx/Tcl-1.02/blib/lib/Tcl.pm line 422. END failed--call queue aborted at t/call.t line 6. t/call.t ........... Dubious, test returned 22 (wstat 5632, 0x1600)

In reply to Tcl module install issues by CarolinaPerler

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.