Has anyone seen errors like this before on an HPUX 11i 64bit install of DBI 1.32
thanks,
Michael A Chase <[EMAIL PROTECTED]> wrote: On Wed, 8 Jan 2003 09:43:42 -0800 (PST)
oott sayarath wrote:
>
> Hi Mike,
> I am recompiling the DBI Mod again to recreate the errors that I am
> seeing when compiling DBI: From the errors below, can you determine
> what I am missing, the correct PATH to a library file maybe? thanks for
> all of your help in this matter.
> I am always getting the same message about Dynaloader.pm and DBI.sl and
> this error is from the gmake test......
> Can't load
> '/usr/local/lib/perl5/5.8.0/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for
> module DBI: Exec format error at
> /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 229.
> at /usr/local/lib/perl5/5.8.0/DBI-1.32/blib/lib/DBI.pm line 250
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/5.8.0/DBI-1.32/blib/lib/DBI.pm line 250.
> Compilation failed in require at t/60preparse.t line 3.
> BEGIN failed--compilation aborted at t/60preparse.t line 3.
> t/60preparse...........dubious
>
> Test returned status 255 (wstat 65280, 0xff00)
> t/70shell............../usr/lib/dld.sl: Bad magic number for shared
> library: /usr/local/lib/perl5/5.8.0/DBI-1.32/blib/arch/auto/DBI/DBI.sl
> /usr/lib/dld.sl: Exec format error
> Can't load
> '/usr/local/lib/perl5/5.8.0/DBI-1.32/blib/arch/auto/DBI/DBI.sl' for
> module DBI: Exec format error at
> /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 229.
> at /usr/local/lib/perl5/5.8.0/DBI-1.32/blib/lib/DBI.pm line 250
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/5.8.0/DBI-1.32/blib/lib/DBI.pm line 250.
> Compilation failed in require at
> /usr/local/lib/perl5/5.8.0/DBI-1.32/blib/lib/DBI/Shell.pm line 76.
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/5.8.0/DBI-1.32/blib/lib/DBI/Shell.pm line 76.
> Compilation failed in require at t/70shell.t line 30.
> BEGIN failed--compilation aborted at t/70shell.t line 30.
> t/70shell..............dubious
>
> Test returned status 255 (wstat 65280, 0xff00)
> t/80proxy............../usr/lib/dld.sl: Bad magic number for shared
> library: /usr/local/lib/perl5/5.8.0/DBI-1.32/blib/arch/auto/DBI/DBI.sl
> /usr/lib/dld.sl: Exec format error
>
> b/DBI.pm line 250.
> Compilation failed in require at t/80proxy.t line 7.
> BEGIN failed--compilation aborted at t/80proxy.t line 7.
> t/80proxy..............dubious
>
> Test returned status 255 (wstat 65280, 0xff00)
> t/zz_01basics_pp....... Using DBI::PurePerl (DBI_PUREPERL=2)
> t/zz_01basics_pp.......ok
>
> t/zz_02dbidrv_pp.......ok
>
> t/zz_03hleak_pp........ok
>
> t/zz_04mods_pp.........ok
>
> t/zz_05thrclone_pp.....skipped
> all skipped: perl 5.008 not configured to support iThreads
> t/zz_06attrs_pp........ok
>
> t/zz_07kids_pp.........skipped
> all skipped: $h->{Kids} attribute not supported for DBI::PurePerl
> t/zz_10examp_pp........ok 42/245 Taint mode switching tests skipped
>
> t/zz_10examp_pp........ok 53/245 Taint attribute tests skipped
>
> t/zz_10examp_pp........ok
>
> t/zz_15array_pp........ok
>
> t/zz_20meta_pp.........ok
>
> t/zz_30subclass_pp.....ok
>
> t/zz_40profile_pp......skipped
> all skipped: profiling not supported for DBI::PurePerl
> t/zz_41prof_dump_pp....skipped
> all skipped: profiling not supported for DBI::PurePerl
> t/zz_42prof_data_pp....skipped
> all skipped: profiling not supported for DBI::PurePerl
> t/zz_60preparse_pp.....skipped
> all skipped: preparse not supported for DBI::PurePerl
> t/zz_70shell_pp........ok
>
> t/zz_80proxy_pp........skipped
> all skipped: modules required for proxy are probably not
> installed
> Failed Test Stat Wstat Total Fail Failed List of Failed
> -------------------------------------------------------------------------
> ------
> t/01basics.t 255 65280 ?? ?? % ??
> t/02dbidrv.t 255 65280 ?? ?? % ??
> t/03hleak.t 255 65280 10 10 100.00% 1-10
> t/04mods.t 255 65280 3 3 100.00% 1-3
> t/06attrs.t 255 65280 ?? ?? % ??
> t/07kids.t 255 65280 ?? ?? % ??
> t/10examp.t 255 65280 ?? ?? % ??
> t/15array.t 255 65280 24 24 100.00% 1-24
> t/20meta.t 255 65280 ?? ?? % ??
> t/30subclass.t 255 65280 ?? ?? % ??
> t/40profile.t 255 65280 ?? ?? % ??
> t/41prof_dump.t 255 65280 ?? ?? % ??
> t/42prof_data.t 255 65280 ?? ?? % ??
> t/60preparse.t 255 65280 ?? ?? % ??
> t/70shell.t 255 65280 ?? ?? % ??
> t/80proxy.t 255 65280 ?? ?? % ??
> 8 tests skipped.
> Failed 16/34 test scripts, 52.94% okay. 37/529 subtests failed, 93.01%
> okay.
> gmake: *** [test_dynamic] Error 2
>
> Michael A Chase wrote:On Tue, 7 Jan 2003
> 12:40:33 -0800 (PST) oott sayarath wrote:
>
> > I am having some difficulty getting the latest version of DBD::Informix
> > compiled on my hpux server. I am running 64 bit Hpux 11i, and trying to
> > compile DBD::Informix v. 1.0.4. I believe to have successfully compiled
> > the latest version of the DBI Mod (1.32) , though I had some test
> > failures relating to the proxy mod (didn't compile this mod) but the
> > compile seems to have been successful. Any assistance would be greatly
> > appreciated as I am currently stumped. Below are the items requested by
> > the bug report request...please review below.
>
> Thank you for all the details.
>
> DBD::Proxy is not essential. It will remain dormant unless you
> install PlRPC.
>
> > 3. perl Makefile.PL (Code A)
> > Can't load
> > '/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/auto/DBI/DBI.sl' for
> > module DBI: Exec format error at
> > /usr/local/lib/perl5/5.8.0/PA-RISC2.0/DynaLoader.pm line 229.
> > at /usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/DBI.pm line 250
> > BEGIN failed--compilation aborted at
> > /usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/DBI.pm line 250.
> > Compilation failed in require at Makefile.PL line 29.
> > BEGIN failed--compilation aborted at Makefile.PL line 29.
>
> You need to install DBI before attempting to build any DBD:: modules.
> If it is installed DBI in a personal directory, that directory needs
> to be in $PERL5LIB or a -I option. If it is the normal location,
> check the permissions of the files.
>
Send your followups to the list. Not to me and not to Tim.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now