RE: Errors when doing 'use Tk::ExecuteCommand'
<[email protected]> Tue, 21 Nov 2006 09:06:26 +0100
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <5A2C73EEAC2539458E55C514A51DCC5D027CC43E@mucse304.eu.infineon.com> |
Hmmm, try get the latest Proc::ProcessTable, and make sure it builds and tests OK (perl Makefile.PL, make test). The missing symbols below seem to indicate that either some shared system lib is not linked, or it is not found by the dynamic loader (seems to be rtld on AIX). You may want to check with the "nm" utility, in which system lib (typically located in /lib and/or /usr/lib) the missing symbols are located. And check with ldd /usr/local/lib/perl5/site_perl/5.8.8/aix/auto/Proc/ProcessTable/ProcessT able.so which shared libs are referenced. With that information you should be able to tweak the Makefile of Proc::ProcessTable such that it will build and link the ProcessTable.so correctly. Good luck! -Marek -----Original Message----- From: Ray Gebbie [mailto:[email protected]] Sent: Tuesday, November 21, 2006 12:19 AM To: Rouchal Marek (IFAG COM BTS DF R2G) Cc: [email protected] Subject: RE: Errors when doing 'use Tk::ExecuteCommand' Thanks for the help. Here is what the installation process shows: perl Makefile.PL /home/b06reg/sources/Tk-ExecuteCommand-1.6 does not start with /usr/local/lib/perl5/site_perl/5.8.8/aix i.e. building outside Tk itself Checking if your kit is complete... Looks good Writing Makefile for Tk::ExecuteCommand bash-2.04# make cp ExecuteCommand.pm blib/lib/Tk/ExecuteCommand.pm cp Killfam.pm blib/lib/Tk/../Proc/Killfam.pm Manifying blib/man3/Tk::ExecuteCommand.3 Manifying blib/man3/Tk::Killfam.3 bash-2.04# make install Writing /usr/local/lib/perl5/site_perl/5.8.8 /aix/auto/Tk/ExecuteCommand/.packlist Appending installation info to /usr/local/lib/perl5/5.8.8/aix/perllocal.pod Here is what I get when I run the short perl command you listed: Can't load '/usr/local/lib/perl5/site_perl/5.8.8 /aix/auto/Proc/ProcessTable/ProcessTable.so' for module Proc::ProcessTable: rtld: 0712-001 Symbol __floatdidf was referenced from module /usr/local/lib/perl5/site_perl/5.8.8 /aix/auto/Proc/ProcessTable/ProcessTable.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol __cmpdi2 was referenced from module /usr/local/lib/perl5/site_perl/5.8.8 /aix/auto/Proc/ProcessTable/ProcessTable.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol __floatdisf was referenced from module /usr/local/lib/perl5/site_perl/5.8.8 /aix/auto/Proc/ProcessTable/ProcessTable.so(), but a runtime definition of the symbol was not found. at /usr/local/lib/perl5/5.8.8 /aix/DynaLoader.pm line 230. at -e line 0 Compilation failed in require. BEGIN failed--compilation aborted. Ray Gebbie Federated Systems Group San Francisco, CA 94102 415-422-1662 <marek.rouchal@in fineon.com> To 11/19/2006 11:11 <[email protected]> PM cc <[email protected]> Subject RE: Errors when doing 'use Tk::ExecuteCommand' What happens when you run <your-path-to-perl>/perl -MProc::ProcessTable -e 1 Does this module load OK? Proc::ProcessTable has some compiled parts in it, are you sure its entire build process perl Makefile.PL make make test make install was OK? HTH, Marek -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ray Gebbie Sent: Saturday, November 18, 2006 1:40 AM To: [email protected] Subject: Errors when doing 'use Tk::ExecuteCommand' I get the following error when my script starts up: Proc::ProcessTable missing, can't kill sub-children. at /usr/local/lib/perl5/site_perl/5.8.8/aix/Proc/Killfam.pm line 19. at /usr/local/lib/perl5/site_perl/5.8.8/aix/Proc/Killfam.pm line 19 Proc::Killfam::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.8/aix/Proc/Killfam.pm line 21 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.8 /aix/Proc/Killfam.pm line 21 require Proc/Killfam.pm called at /usr/local/lib/perl5/site_perl/5.8.8/Tk/ExecuteCommand.pm line 6 Tk::ExecuteCommand::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.8/aix/Proc/Killfam.pm line 21 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.8 /aix/Proc/Killfam.pm line 21 require Tk/ExecuteCommand.pm called at /home/release/scripts/newpromote.pl line 4 main::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.8 /aix/Proc/Killfam.pm line 21 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.8 /aix/Proc/Killfam.pm line 21 The start of my script is: #!/usr/bin/perl use Tk; use Tk::ExecuteCommand; use Proc::ProcessTable; use Tk::MiniCalendar; use Tk::LabFrame; use Tk::FBox; use Tk::LabEntry; I am running on AIX 5.3 using perl version 5.8.8. I added the following modules with no errors reported: Proc-ProcessTable-0.41 Tk-ExecuteCommand-1.6 I seem to be able to ignore the error and continue to run the script. But I would like to not have these errors show up. Anybody know what is happening? Ray Gebbie Federated Systems Group San Francisco, CA 94102 415-422-1662 --++**==--++**==--++**==--++**==--++**==--++**==--++**== ptk mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/ptk --++**==--++**==--++**==--++**==--++**==--++**==--++**== ptk mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/ptk