http://www.openbsd.org/faq/current.html
If you use -current, you *have* to follow this page. On 2008-11-15, Juan Miscaro <[EMAIL PROTECTED]> wrote: > 2008/11/15 Juan Miscaro <[EMAIL PROTECTED]>: >> Hi, I upgraded to the 111108 snapshot and when trying to install a >> Perl module with CPAN I'm getting errors: >> >> $ cpan >> CPAN: File::HomeDir loaded ok (v0.69) >> Use of uninitialized value in subroutine entry at >> /usr/libdata/perl5/i386-openbsd/5.10.0/DynaLoader.pm line 226. >> Use of uninitialized value $len in bitwise and (&) at (eval 275) line 1. >> Use of uninitialized value $len in bitwise and (&) at (eval 277) line 1. >> >> cpan shell -- CPAN exploration and modules installation (v1.9205) >> ReadLine support enabled >> >> cpan[1]> install Unix::Syslog >> CPAN: Storable loaded ok (v2.18) >> Going to read /var/cpan/Metadata >> Database was generated on Sat, 27 Sep 2008 18:26:49 GMT >> CPAN: LWP::UserAgent loaded ok (v2.036) >> CPAN: Time::HiRes loaded ok (v1.9711) >> Fetching with LWP: >> ftp://CPAN.mirror.rafal.ca/pub/CPAN/authors/01mailrc.txt.gz >> LWP failed with code[500] message[Can't use an undefined value as a >> symbol reference] >> Fetching with Net::FTP: >> ftp://CPAN.mirror.rafal.ca/pub/CPAN/authors/01mailrc.txt.gz >> Catching error: 'Can\'t use an undefined value as a symbol reference >> at /usr/libdata/perl5/Net/FTP/dataconn.pm line 54. >> ' at /usr/libdata/perl5/CPAN.pm line 281 >> CPAN::shell() called at /usr/bin/cpan line 198 >> Fetching with LWP: >> ftp://CPAN.mirror.rafal.ca/pub/CPAN/authors/01mailrc.txt.gz >> LWP failed with code[500] message[Can't use an undefined value as a >> symbol reference] >> Fetching with Net::FTP: >> ftp://CPAN.mirror.rafal.ca/pub/CPAN/authors/01mailrc.txt.gz >> Lockfile removed. >> Can't use an undefined value as a symbol reference at >> /usr/libdata/perl5/Net/FTP/dataconn.pm line 54. >> >> >> >> Any ideas? Thanks a lot. >> >> /juan >> > > Update, > > On another equally upgraded host I *can* install the same module but > crashes when I try to run a script. It seems to be pointing to an > OpenBSD-specific file: > > object version 3.56 does not match bootstrap parameter %_ at > /usr/libdata/perl5/i386-openbsd/5.10.0/XSLoader.pm line 88. > > /juan