Following the directions mentioned earlier on this list, and archived at:

    http://duke.usask.ca/~dalglb/macosx/Perl_5.6.html
    http://archive.develooper.com/macosx%40perl.org/msg00895.html

....I have tried to upgrade to Perl 5.6.1 and it's not working right.
For example (note the errors when I try to use CPAN.pm, 2nd command):

   [Wed 7:37:38pm ~]% perl -v
   
   This is perl, v5.6.1 built for darwin
   
   Copyright 1987-2001, Larry Wall
   
   Perl may be copied only under the terms of either the Artistic
   License or the GNU General Public License, which may be found
   in the Perl 5 source kit.
   
   Complete documentation for Perl, including FAQ lists, should be
   found on this system using `man perl' or `perldoc perl'.  If
   you have access to the Internet, point your browser at
   http://www.perl.com/, the Perl Home Page.
   
   [Wed 7:37:41pm ~]% sudo perl -MCPAN -e shell
   cpan> i LWP
   dyld: perl Undefined symbols:
   _PerlIO_getc
   _PerlIO_putc
   _Perl_PerlIO_read
   _Perl_PerlIO_write
   _Perl_sv_2pv_flags
   [Wed 7:37:52pm ~]% perl -V
   Summary of my perl5 (revision 5.0 version 6 subversion 1)
   configuration:
     Platform:
       osname=darwin, osvers=5.3, archname=darwin
       uname='darwin localhost 5.3 darwin kernel version 5.3: thu
           jan 24 22:06:02 pst 2002; root:xnuxnu-201.19.obj~1release_ppc
       power macintosh powerpc '
       config_args='-des -Dfirstmakefile=GNUmakefile
           -Dldflags=-flat_namespace'
       hint=recommended, useposix=true, d_sigaction=define
       usethreads=undef use5005threads=undef useithreads=undef
              usemultiplicity=undef
       useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
       use64bitint=undef use64bitall=undef uselongdouble=undef
     Compiler:
       cc='cc', ccflags ='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
           -fno-strict-aliasing -I/usr/local/include',
       optimize='-O3',
       cppflags='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
           -fno-strict-aliasing -I/usr/local/include'
       ccversion='', gccversion='Apple devkit-based CPP 6.0',
           gccosandvers=''
       intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
       d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
       ivtype='long', ivsize=4, nvtype='double', nvsize=8,
           Off_t='off_t', lseeksize=8
       alignbytes=8, usemymalloc=n, prototype=define
     Linker and Libraries:
       ld='cc', ldflags ='-flat_namespace -L/usr/local/lib'
       libpth=/usr/local/lib /usr/lib
       libs=-lm -lc
       perllibs=-lm -lc
       libc=/System/Library/Frameworks/System.framework/System,
           so=dylib, useshrplib=true, libperl=libperl.dylib
     Dynamic Linking:
       dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
       cccdlflags=' ', lddlflags='-flat_namespace -bundle -undefined
           suppress -L/usr/local/lib'
   
   
   Characteristics of this binary (from libperl): 
     Compile-time options: USE_LARGE_FILES
     Built under darwin
     Compiled at 03/06/02 16:27:24
     @INC:
       /System/Library/Perl/darwin
       /System/Library/Perl
       /Library/Perl/darwin
       /Library/Perl
       /Library/Perl
       /Network/Library/Perl/darwin
       /Network/Library/Perl
       /Network/Library/Perl
       .
   [Wed 7:37:56pm ~]% 

The problem seems to be related to the dynamic loading of libraries, I
think, but I don't remember what the fix for this was. While installing, I
piped the output to a logfile, so I can provide that if it would help.
During 'make test', I had four hits: 

    % grep -i failed tests.out 
    pragma/warnings......FAILED at test 303
    lib/db-btree.........FAILED at test 0
    lib/db-recno.........FAILED at test 51
    lib/posix............FAILED at test 11


Any thoughts? The install clobbered the more-or-less working /usr/lib/perl
that came with the system (I meant for it to end up in /usr/local :( ),
and a lot of the test scripts I'm running [not all -- haven't yet pinned
down where I'm getting the error from] are failing in ways that usually
mention 'dyld' and various '_Perl$foo' symbols. 


:(

-- 
Chris Devers                           [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/

Reply via email to