to put it in a nut shell:
5.6 and 5.8 are not binary compatible. There for anything which was compiled for 5.6 will not work for 5.8. Or to put it another way, you will have to download and re- compile any modules which exhibit odd behaviour under 5.8.


hth

Robin




On Tuesday, January 14, 2003, at 08:51 AM, Kime H. Smith, Jr. wrote:


Thanks for the response, Chad (Clark).

I finally got by the CPAN problem by deleting /Library/Perl and doing another "make Install" of Perl --

Now I'm stuck on the DBI install. Even with a "force install Bundle::DBI" or "force install DBI", I get an error:
--------------------------------
Running install for module DBI
Running make for T/TI/TIMB/DBI-1.32.tar.gz
Checksum for /Users/khsmith/.cpan/sources/authors/id/T/TI/TIMB/DBI-1.32.tar.gz ok
DBI-1.32
DBI-1.32/t
DBI-1.32/t/06attrs.t
.
.
.
cp Changes blib/lib/DBI/Changes.pm
make: *** No rule to make target `blib/arch/auto/DBI/Driver.xst', needed by `Perl.xsi'. Stop.
.
.
.
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/make -j3 -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

--------------------------------

Should I delete ...cpan/sources/authors/...DBI-1.32.tar.gz??

Any suggestions would be greatly appreciated.

Thanks in advance,
Kime

On Monday, January 13, 2003, at 03:26 PM, Chad A. Clark wrote:

On 1/13/03 2:39 PM, in article
[EMAIL PROTECTED], "Kime H. Smith"
<[EMAIL PROTECTED]> wrote:

After doing a fresh install of Perl 5.8.0 following the directions on
developer.apple.com (
<http://developer.apple.com/internet/macosx/perl.html>) I ran into the
following at the end of the CPAN config. I'm using Jaguar 10.2.3 Server
on an Xserve.

khsmith% sudo perl -MCPAN -eshell
dyld: perl Undefined symbols:
_Perl_sv_2pv
_perl_get_sv
Trace/BPT trap

.. and CPAN dies. I need to install support for MySQL.

Things went fine installing using the same procedure on my TiBook
(Jaguar 10.2.3).....

Please advise!

snipped from perldelta.pod from 5.8.0


<snip>
Mac OS X dyld undefined symbols

If after installing Perl 5.8.0 you are getting warnings about missing
symbols, for example

dyld: perl Undefined symbols
_perl_sv_2pv
_perl_get_sv

you probably have an old pre-Perl-5.8.0 installation (or parts of one)
in /Library/Perl (the undefined symbols used to exist in pre-5.8.0 Perls).
It seems that for some reason "make install" doesn't always completely
overwrite the files in /Library/Perl. You can move the old Perl
shared library out of the way like this:

cd /Library/Perl/darwin/CORE
mv libperl.dylib libperlold.dylib

and then reissue "make install". Note that the above of course is
extremely disruptive for anything using the /usr/local/bin/perl.
If that doesn't help, you may have to try removing all the .bundle
files from beneath /Library/Perl, and again "make install"-ing.
</snip>

Or alternatively,

find /Library/Perl -name '*.bundle' -print | xargs rm -I

I had to install DBI and DBD::MySQL by force CPAN build fails.

--
Chad A. Clark




Reply via email to