develooper Front page | perl.perl5.porters | Postings from May 2003

Question concerning DBD-pNet (0.1003) and Storable 2.05/2.06

From:
Sherrod, Andrew Mr JMLFDC
Date:
May 12, 2003 10:01
Subject:
Question concerning DBD-pNet (0.1003) and Storable 2.05/2.06
Message ID:
3EFEF7D83ABED411937D00508BCFE3FC1543876F@dasmthefl800.amedd.army.mil
I have checked all of the news groups and Perl help sites, and have seen no messages relating to a similar problem, so I have decided to forward this question to the maintainers of DBD-pNet and Storable:

The code generates the following error message when attempting to connect using DBD-pNet:

Can't store CODE items at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al) line 282, at /usr/local/lib/perl5/site_perl/5.8.0/RPC/pClient.pm line 317

(The current version is using Storable 2.05, but the same error message arose with Storable 2.06 as well)

I am running this program on HP-UX 11.0 

Uname -a output: 
HP-UX jmu251 B.11.00 U 9000/800 1524756536 unlimited-user license

Output of perl -V:

Summary of my perl5 (revision 5.0 version 8 subversion 0) 
configuration:   
Platform:     
osname=hpux, 
osvers=11.0, 
archname=PA-RISC1.1-64int     
uname='hp-ux jmu251 b.11.00 u 9000800 1524756536 unlimited-user license '     
config_args='-dr'     
hint=previous, 
useposix=true, 
d_sigaction=define     
usethreads=undef 
use5005threads=undef 
useithreads=undef 
usemultiplicity=undef     
useperlio=define 
d_sfio=undef 
uselargefiles=define 
usesocks=undef     
use64bitint=define 
use64bitall=undef 
uselongdouble=undef     
usemymalloc=y, 
bincompat5005=undef   
Compiler:     
cc='gcc', 
ccflags ='-ansi -I/usr/local/include -DUINT32_MAX_BROKEN -D_HPUX_SOURCE',     
optimize='-O',     
cppflags='-ansi -I/usr/local/include -DUINT32_MAX_BROKEN -D_HPUX_SOURCE'     
ccversion='', gccversion='2.95.2 19991024 (release)', 
gccosandvers='hpux11.00'     
intsize=4, 
longsize=4, 
ptrsize=4, 
doublesize=8, 
byteorder=87654321     
d_longlong=define, 
longlongsize=8, 
d_longdbl=define, 
longdblsize=8     
ivtype='long long', 
ivsize=8, 
nvtype='double', 
nvsize=8, 
Off_t='off_t', 
lseeksize=4     
alignbytes=8, 
prototype=define   
Linker and Libraries:     
ld='ld', 
ldflags =' -L/usr/local/lib'     
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib     
libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldbm -ldld -lm -lc -lndir -lcrypt -lsec -lBSD -lPW     
perllibs=-lcl -lpthread -lnsl -lnm -ldld -lm -lc -lndir -lcrypt -lsec -lBSD -lPW     
libc=, so=sl, 
useshrplib=false, 
libperl=libperl.a     
gnulibc_version=''   
Dynamic Linking:     
dlsrc=dl_dlopen.xs, 
dlext=sl, 
d_dlsymun=undef, 
ccdlflags='-Wl,-E'     
cccdlflags='-fpic -fPIC', 
lddlflags=' -L/usr/local/lib -b -Z -lc'   
Characteristics of this binary (from libperl):    
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES   
Built under hpux   
Compiled at Apr 30 2003 12:16:21   
@INC:     /usr/local/lib/perl5/5.8.0/PA-RISC1.1-64int     /usr/local/lib/perl5/5.8.0     /usr/local/lib/perl5/site_perl/5.8.0/PA-RISC1.1-64int     
                 /usr/local/lib/perl5/site_perl/5.8.0     /usr/local/lib/perl5/site_perl


The modules added after building were as follows:

Storable-2.05 
DBD-pNET-0.1003
XML-Parser-2.31 
DBI-1.35
IO-stringy-2.108
XML-SimpleObject-0.53
MIME-Base64-2.18
XML-Writer-0.4
MIME-tools-5.411
MailTools-1.58
libnet-1.13
Net-Daemon-0.37
pRPC-modules-0.1005
PlRPC-0.2016


The only clue I have found is a mention in the storable documentation that $Storable::Deparse must be set to a true value. However, adding this feature to the code calling pNet's connect routine did nothing to change the error message. Nor did adding this to pNet itself. Nor did adding this to Storable.pm.

Any help would be greatly appreciated.

Thank you.

Andrew Sherrod

Any insight into this would be appreciated. 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About