ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl5-porters
perl5-porters
RE: Storable.pm
by other posts by this author
Nov 26 2003 7:12PM messages near this date
Smoke [5.9.0] 21788 FAIL(Fc) bsd/os 4.1 (i386/1 cpu) | Follow the bouncing pumpkin: Leon for 5.5.4
Nick, the following is the list from 1) the PC and 2) the Unix.
(appended is the previous segment of the thread that I neglected to cc the
perl5-porters.

Keith
 
C:\> perl -V
Summary of my perl5 (revision 5 version 8 subversion 0) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef use5005threads=undef useithreads=define
usemultiplicity=de
ine
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE
DNO_STRICT -DHAVE_DES_FCRYPT  -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE
PERLIO -DPERL_MSVCRT_READFIX',
    optimize='-MD -Zi -DNDEBUG -O1',
    cppflags='-DWIN32'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
lseeks
ze=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C
\Perl\lib\CORE"  -machine:x86'
    libpth="C:\Perl\lib\CORE"
    libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg3
.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib
wso
k32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib
    perllibs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
com
lg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib
uuid.lib
wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
    gnulibc_version='undef'
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-opt:ref,icf
libpath:"C:\Perl\lib\CORE"  -machine:x86'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT
CONTEXT PERL_IMPLICIT_SYS
  Locally applied patches:
        ActivePerl Build 806
  Built under MSWin32
  Compiled at Mar 31 2003 00:45:44
  @INC:
    C:/Perl/lib
    C:/Perl/site/lib
    .

C:\> 

----- on Unix ----

/usr/users/sosnoski % perl -V 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "en_US.88591"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C"). Summary of my
perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=dec_osf, osvers=4.0f, archname=alpha-dec_osf
    uname='osf1 astrolabe.bur.dfo.ca v4.0 1229 alpha '
    config_args='-de'
    hint=recommended, 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=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-std -D_INTRINSICS -fprm d -ieee -DLANGUAGE_C',
    optimize='-O4',
    cppflags='-std -D_INTRINSICS -ieee -DLANGUAGE_C'
    ccversion='V5.9-008', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =''
    libpth=/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /var/shlib
    libs=-ldbm -ldb -lm -lutil
    perllibs=-lm -lutil
    libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-rpath,/usr/local/lib/perl5/5.8.1/alpha-dec_osf/CORE'
    cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -std
-s'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under dec_osf
  Compiled at Nov  4 2003 13:57:28
  @INC:
    /usr/local/lib/perl5/5.8.1/alpha-dec_osf
    /usr/local/lib/perl5/5.8.1
    /usr/local/lib/perl5/site_perl/5.8.1/alpha-dec_osf
    /usr/local/lib/perl5/site_perl/5.8.1
    /usr/local/lib/perl5/site_perl
    .
/usr/users/sosnoski %

-----Original Message-----
From: Weaver, Keith 
Sent: November 26, 2003 1:40 PM
To: 'nick@ccl4.org'
Cc: Sosnoski, Dave; Montgomery, William
Subject: RE: Storable.pm

Nick, I had asked Dave to do some investigating for me regarding this error.
I appreciate you responding. We are currently running ActivePerl 5.8.0 on
the PC, Perl 5.8.1 on our Tru64 Unix. I am trying to follow the Proxy setup
description on the http://www.awilcox.com/geek_stuff/perl/proxy.html page.

PlRPC is 0.2017 on both platforms, Net-daemon is 0.38 on Unix, 0.37 on PC
Storable module I have attempted to use (perl Makefile.PL; make; make
install) have been 2.08, 2.05, 1.014 in attempts to downgrade on the Unix
side according to newsgroup info off the web.

The error occurs when I try a test connection from the unix side. My perl
test script attempts:
$dbh = DBI-> connect(
"DBI:Proxy:hostname=142\.130\.132\.151;port=3333;dsn=dbi:ODBC:questionnaire"
,'','')
        or die "Could not connect: $DBI::errstr";

and responds with:
DBI
connect('hostname=142.130.132.151;port=3333;dsn=dbi:ODBC:questionnaire','',.
..) failed: Cannot log in to DBI::ProxyServer: Unexpected EOF from server.
 at ../../weaver/connect-q.pl line 12
Could not connect: Cannot log in to DBI::ProxyServer: Unexpected EOF from
server at /usr/local/lib/perl5/site_perl/5.8.1/RPC/PlClie.

while dbiproxy on the PC responds with the error message below (in previous
email)

Regards,
Keith
-----Original Message-----
From: Sosnoski, Dave 
Sent: November 26, 2003 9:32 AM
To: Weaver, Keith
Subject: FW: Storable.pm



-----Original Message-----
From: Nicholas Clark [mailto:nick@[...].org] 
Sent: 25 November, 2003 4:17 PM
To: SosnoskiD@[...].ca
Cc: perl5-porters@[...].org
Subject: Re: Storable.pm


On Tue, Nov 25, 2003 at 10:07:16AM -0500, SosnoskiD@[...].CA wrote:
>  I'm still getting the following error message from activex install 
>  (using ppm version 3.1). Newsgroup messages tend to talk about 
>  downgrading Storable.pm but are a bit dated (or the recent ones are 
>  unanswered). Any assistance would be helpful - thanks Dave
>   
>   The error message is:
>  
>  Tue Nov 25 08:38:37 2003 err, Child died: Storable binary image v2.6 
>  more recent
>  
>   than I am (v2.5) at ..\..\lib\Storable.pm (autosplit into 
>  ..\..\lib\auto\Storab
>  
>  le\thaw.al) line 358, at C:/Perl/site/lib/RPC/PlServer/Comm.pm line 
>  145
>  
>   
>  
>  So I attempted to load Storable-2.05 (thinking that it would map to 
>  v2.5 listed in the error message). When that didn't work I downloaded 
>  Storable-1.0.14 (still doesn't work... but maybe I'm missing a step)

v2.5 and v2.6 refer to the major and minor numbers in Storable's file
format, not the version of Storable itself. I don't think that this is
documented anywhere obvious - probably it should be.

What is the output of "perl -V" for the perl version you are using? What
version of Storable does it have (the newest version that still exhibited
the problem)?

Do you know which storable file is being loaded when you get that error
"Child died ..."? If so, do you know what generated that storable file? It
shouldn't be possible for any version of Storable to generate a file that it
won't read back itself. That error is usually caused by attempting to read
on an older version of Storable a storable file generated by a newer version
of Storable.

Nicholas Clark

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved