Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Help with Perl please.

Help with Perl please.
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Feb 1, 2003, 02:54 AM
 
Code:
[Robert-Irrs-Computer:~] robertirr% fink scanpackages perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). sudo /sw/bin/fink scanpackages Password: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). dyld: perl Undefined symbols: _Perl_safefree _Perl_safemalloc _Perl_saferealloc _Perl_sv_2pv _perl_call_sv _perl_eval_sv _perl_get_sv [Robert-Irrs-Computer:~] robertirr%
can someone please help?
     
robirr  (op)
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Feb 2, 2003, 08:35 PM
 
bump, help please.
     
Moderator
Join Date: Sep 2000
Location: Irvine, CA
Status: Offline
Reply With Quote
Feb 3, 2003, 01:22 AM
 
Moving this to the Developer forum where it might get more replies....
{{{ mindwaves }}}
     
Senior User
Join Date: Sep 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Feb 3, 2003, 07:22 AM
 
this is residual behavior of using perl 5.8.0
w/ < 5.8.0 XS modules (of which Storable
is one that ships w/ Fink).

Do a Google search on 'perl fink 5.8.0'

resolution:

mv /sw/lib/perl5/darwin/Storable.pm /tmp
mv /sw/lib/perl5/darwin/auto/Storable /tmp
fink rebuild storable-pm
     
robirr  (op)
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Feb 3, 2003, 02:22 PM
 
no dice

i installed it before fink...
Last login: Sat Feb 1 21:51:35 on console
Welcome to Darwin!
[Robert-Irrs-Computer:~] robertirr% mv /sw/lib/perl5/darwin/Storable.pm /tmp
mv: rename /sw/lib/perl5/darwin/Storable.pm to /tmp/Storable.pm: Permission denied
[Robert-Irrs-Computer:~] robertirr% sudo mv /sw/lib/perl5/darwin/Storable.pm /tmp
Password:
[Robert-Irrs-Computer:~] robertirr% sudo mv /sw/lib/perl5/darwin/auto/Storable /tmp
[Robert-Irrs-Computer:~] robertirr% fink rebuild storable-pm
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
sudo /sw/bin/fink rebuild storable-pm
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Reading package info...
Updating package index... done.
Information about 924 packages read in 6 seconds.

The following package will be rebuilt:
storable-pm
curl -f -L -s -S -O http://www.perl.com/CPAN/authors/id/...-1.0.14.tar.gz
mkdir -p /sw/src/storable-pm-1.0.14-1
/sw/bin/tar -xzf /sw/src/Storable-1.0.14.tar.gz
perl Makefile.PL PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5 INSTALLARCHLIB=/sw/lib/perl5/darwin INSTALLSITELIB=/sw/lib/perl5 INSTALLSITEARCH=/sw/lib/perl5/darwin INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3
Checking if your kit is complete...
Looks good
Writing Makefile for Storable
make
cp Storable.pm blib/lib/Storable.pm
AutoSplitting blib/lib/Storable.pm (blib/lib/auto/Storable)
/usr/bin/perl /Library/Perl/ExtUtils/xsubpp -typemap /Library/Perl/ExtUtils/typemap Storable.xs > Storable.xsc && mv Storable.xsc Storable.c
cc -c -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3 -DVERSION=\"1.014\" -DXS_VERSION=\"1.014\" "-I/Library/Perl/darwin/CORE" Storable.c
Running Mkbootstrap for Storable ()
chmod 644 Storable.bs
rm -f blib/arch/auto/Storable/Storable.bundle
LD_RUN_PATH="" cc -flat_namespace -bundle -undefined suppress Storable.o -o blib/arch/auto/Storable/Storable.bundle
chmod 755 blib/arch/auto/Storable/Storable.bundle
cp Storable.bs blib/arch/auto/Storable/Storable.bs
chmod 644 blib/arch/auto/Storable/Storable.bs
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/blessed.......ok
t/canonical.....ok
t/compat-0.6....ok
t/dclone........ok
t/forgive.......ok
t/freeze........ok
t/lock..........ok
t/overload......ok
t/recurse.......ok
t/retrieve......ok
t/store.........ok
t/tied..........ok
t/tied_hook.....ok
t/tied_items....ok
t/utf8..........ok
All tests successful.
Files=15, Tests=201, 4 wallclock secs ( 2.48 cusr + 0.66 csys = 3.14 CPU)
rm -rf /sw/src/root-storable-pm-1.0.14-1
mkdir -p /sw/src/root-storable-pm-1.0.14-1/sw
mkdir -p /sw/src/root-storable-pm-1.0.14-1/DEBIAN
make install PREFIX=/sw/src/root-storable-pm-1.0.14-1/sw INSTALLPRIVLIB=/sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5 INSTALLARCHLIB=/sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin INSTALLSITELIB=/sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5 INSTALLSITEARCH=/sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin INSTALLMAN1DIR=/sw/src/root-storable-pm-1.0.14-1/sw/share/man/man1 INSTALLMAN3DIR=/sw/src/root-storable-pm-1.0.14-1/sw/share/man/man3
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/Storable.bs
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/Storable.bundle
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/Storable.pm
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/_freeze.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/_retrieve.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/_store.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/_store_fd.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/autosplit.ix
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/fd_retrieve.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/freeze.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/lock_nstore.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/lock_retrieve.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/lock_store.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/nfreeze.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/nstore.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/nstore_fd.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/retrieve.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/store.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/store_fd.al
Installing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/thaw.al
Writing /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/auto/Storable/.packlist
Appending installation info to /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/perllocal.pod
mkdir -p /sw/src/root-storable-pm-1.0.14-1/sw/share/podfiles/
cat /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/perllocal.pod | sed -e s,/sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5,/sw/lib/perl5, > /sw/src/root-storable-pm-1.0.14-1/sw/share/podfiles/perllocal.storable-pm.pod
rm -rf /sw/src/root-storable-pm-1.0.14-1/sw/lib/perl5/darwin/perllocal.pod
install -d -m 755 /sw/src/root-storable-pm-1.0.14-1/sw/share/doc/storable-pm
install -c -p -m 644 MANIFEST README /sw/src/root-storable-pm-1.0.14-1/sw/share/doc/storable-pm/
rm -f /sw/src/root-storable-pm-1.0.14-1/sw/info/dir /sw/src/root-storable-pm-1.0.14-1/sw/info/dir.old /sw/src/root-storable-pm-1.0.14-1/sw/share/info/dir /sw/src/root-storable-pm-1.0.14-1/sw/share/info/dir.old
rm -rf storable-pm-1.0.14-1
Writing control file...
Writing package script postinst...
Writing package script postrm...
mkdir -p /sw/fink/dists/stable/main/binary-darwin-powerpc/libs/perlmods
dpkg-deb -b root-storable-pm-1.0.14-1 /sw/fink/dists/stable/main/binary-darwin-powerpc/libs/perlmods
dpkg-deb: building package `storable-pm' in `/sw/fink/dists/stable/main/binary-darwin-powerpc/libs/perlmods/storable-pm_1.0.14-1_darwin-powerpc.deb'.
ln -sf /sw/fink/dists/stable/main/binary-darwin-powerpc/libs/perlmods/storable-pm_1.0.14-1_darwin-powerpc.deb /sw/fink/debs/
rm -rf /sw/src/root-storable-pm-1.0.14-1
dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/libs/perlmods/storable-pm_1.0.14-1_darwin-powerpc.deb
(Reading database ... 3454 files and directories currently installed.)
Preparing to replace storable-pm 1.0.14-1 (using .../storable-pm_1.0.14-1_darwin-powerpc.deb) ...
Unpacking replacement storable-pm ...
Setting up storable-pm (1.0.14-1) ...

[Robert-Irrs-Computer:~] robertirr% perl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C"). ^C
     
Senior User
Join Date: Sep 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Feb 4, 2003, 08:33 AM
 
what part is 'no dice' ?

yes, you still have the locale WARNING
but that is not a problem.

the showstopping dyld problem has been solved.
     
robirr  (op)
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Feb 5, 2003, 03:09 PM
 
is there a way to get rid of the warning?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:08 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2