Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > PAR and Sybase::CTlib on HP-UX

Reply
Thread Tools

PAR and Sybase::CTlib on HP-UX

 
 
BaTTy
Guest
Posts: n/a
 
      02-01-2007
OK, here's the deal: I have a perl script that uses Sybase::CTlib
(and Sybase::Simple). I need to deploy it to other machines that
don't have those modules installed. I'm using the PAR Perl Packager
(pp) to do that. The script by itself runs fine on the dev machine,
but when I create a standalone perl script or an exe using pp, it runs
with the following errors (dev machine or other):

test.pl - Standalone perl script using Sybase::CTlib:
Loading 'Sybase::CTlib' (use Sybase::CTlib #output from
a BEGIN tag

Loading 'Sybase::CTlib' (use Sybase::CTlib [COLOR="red"]#duplicated
output from a BEGIN tag, only shows once running original perl script[/
COLOR]
Before use Sybase::CTlib; #debug print before use
Sybase::CTlib

After use Sybase::CTlib; #debug print after use
Sybase::CTlib

Out of memory!
Segmentation fault

test.pl - compiled into exe:
Loading 'Sybase::CTlib' (use Sybase::CTlib
Can't load '/tmp/par-joeuser/temp-3467/vUojlib6La.sl' for module
Sybase::CTlib: Not enough space at /opt/perl/lib/5.8.2/PA-RISC1.1-
thread-multi/DynaLoader.pm line 229.
at /opt/perl/lib/site_perl/5.8.2/PAR/Heavy.pm line
81#vUojlib6La.sl is actually a copoy of CTlib.sl
Compilation failed in require at script/test.pl line 43.
BEGIN failed--compilation aborted at script/test.pl line 43.

#Below is output from an END tag
*********
use Sybase::CTlib; Failed!
*********
Error removing /tmp/par-joeuser/temp-3467/vUojlib6La.sl at /opt/perl/
lib/5.8.2/File/Temp.pm line 852. #separate issue with PAR
not being able to remove temp files, I'm guessing because they have
been loaded into memory and not released.


testsyb.pl - Standalone perl script using Sybase::Simple:
Can't locate object method "new" via package "Sybase::Simple" at
script/testsyb.pl line 33.

testsyb.pl - compiled into exe:
#pretty much the same as test.pl compiled into exe except
the failure is in the require Sybase::CTlib in Simpl.pm

Can't load '/tmp/par-joeuser/temp-5006/dNM2lR1pNS.sl' for module
Sybase::CTlib: Not enough space at /opt/perl/lib/5.8.2/PA-RISC1.1-
thread-multi/DynaLoader.pm line 229.
at /opt/perl/lib/site_perl/5.8.2/PAR/Heavy.pm line 81
Compilation failed in require at Sybase/Simple.pm line 19.
BEGIN failed--compilation aborted at Sybase/Simple.pm line 19.
Compilation failed in require at script/testsyb.pl line 13.
BEGIN failed--compilation aborted at script/testsyb.pl line 13.
Error removing /tmp/par-joeuser/temp-5006/dNM2lR1pNS.sl at /opt/perl/
lib/5.8.2/File/Temp.pm line 852.

I have beat this dead horse to death!
Any ideas?
P.S. I'm hoping that Michael Peppler runs across this... Michael?

 
Reply With Quote
 
 
 
 
BaTTy
Guest
Posts: n/a
 
      02-02-2007
A little help here? I'm not even sure if this is a PAR problem,
Sybase::CTlib problem or an HP-UX problem.

Any Ideas?
Thanks!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find par loader at C:/Perl/site/lib/PAR/Packer.pm line 101 Oliver Soeder Perl Misc 1 06-30-2007 02:32 PM
Can't find par loader at C:/Perl/site/lib/PAR/Packer.pm line 101. osoeder@gmx.de Perl Misc 0 06-07-2007 02:58 PM
Post Synthesis, Post PAR, and real hardware behavior? scott.yuan523@gmail.com VHDL 5 04-27-2007 07:11 AM
PAR, PAR::Packer smueller@cpan.org Perl Misc 1 12-01-2006 09:41 PM
message eradique par une regle emise par SPE interscaneManager@fr.ch Python 0 08-21-2003 07:47 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57