Tom,

On Tuesday, November 13, 2001, at 01:39  AM, Tom Doak wrote:
>
>
> which perl   gives 5.7.2
>
> ./perl -v  gives: ./perl: Command not found.
>

are you next to a "perl" when you give that command

try perl -v
to see which perl is first....



> perl -V  gives:
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LC_ALL = (unset),
>         LANG = "en"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
>   Platform:
>
Contrary to which perl....!!!
Which indicates that you are still having perl 5.6.1 in /usr/bin  or 
ltherwise in your path

The LANG stuff is covered in the archives of this list.
some broken issue with OSX locale functions...
put setenv LANG "C" into your environment.mine.

read /usr/share/init/tcsh/README  for more info on customizing your 
environment.



> So something is really wrong.  Is it easy to tell me what?
> Thanks,
> Tom
>
>
>> To: Tom Doak <[EMAIL PROTECTED]>
>> From: Terrence Brannon <[EMAIL PROTECTED]>
>>
>>
>> On Sunday, November 11, 2001, at 05:33 PM, Tom Doak wrote:
>>
>> Hi,
>>
>> Yes, I have have lived dangerously, but  .. ..  I have.
>>
>> I was having trouble loading modules with CPAN, and it seemed that
>> upgrading from perl 5.6.1 would help.
>> With your kind help I got to the point that I could install a new perl
>> version.  So I first upgraded to 6.5.1, and then
>> immediatly to 5.7.2!  It will run simple perl scripts fine.
>>
>> you have done a "which perl" and a "perl -V" to insure that 5.7.2 is
>> first on your path?
>>
>>
>> But CPAN.pm.  I rebuild it's configuration, and tried an install.  I
>> got:
>>
>> cpan> install Bundle::CPAN
>> dyld: perl Undefined symbols:
>> _PerlIO_getc
>> _PerlIO_putc
>> _PerlIO_read
>> _PerlIO_write
>> _Perl_sv_2pv_flags
>>
>> and the CPAN shell closed.
>>
>> Installing both Perl versions seemed to go fine. However I didn't do it
>> clean.  When I renamed the
>> perl folders prior to installing, I got an error message...  I forget
>> which.  So I ended up instaling
>> over the old perl.

seems like this is why CPAN will not work....
generally, what error made you want to do that?
5.7.2 is not yet release, though we hope that finally it will work 
better.

could you give a pointer to the discussion which indicated that much 
more MacOSX stuff was included?
> There was a thread on an Aple discussion.... that said
> that a number of OS X things had been added to Perl since 5.6.1

the dyld: errors were the main reason for wanting to install into a 
completely new directory
in my experience... this also happened to me on Linux  when I installed 
a self compiled build over the RPM build.
though the exact collection of undefined symbols is somewhat puzzling...
did you chose to install the experimental IO abstraction layer?


Seems that CPAN will initially try to initialize Readline support...
but when you install, maybe it first is try ing to initialize ZLib for 
decompression.
you could see if you get the same errors when just trying to read the 
directory of bundles..


sorry for my non-linear writing style but i just found this by searching 
"IO" in CPAN
hahhhhh.........

Module          PerlIO          (J/JH/JHI/perl-5.7.2.tar.gz)
Module          PerlIO::Scalar  (J/JH/JHI/perl-5.7.2.tar.gz)
Module          PerlIO::Via     (J/JH/JHI/perl-5.7.2.tar.gz)
Module          PerlIO::gzip    (N/NW/NWCLARK/PerlIO-gzip-0.11.tar.gz)
Module          PerlIO::subfile (N/NW/NWCLARK/PerlIO-subfile-0.04.tar.gz)

your CPAN module thinks it was made by 5.7.2 but you have perl -V which 
thinks it is 5.6.1
the PerlIO is undefined!!!!!



just moving the entire perl install out of the way seems to be the best 
method for replacing the default install.




>> I'm hoping that this is a simple problem, but ... it never is.
>>

Good advice....from Terrence

>> I would have just put your 5.7.2 somewhere on my directory path....
>>
>> ie , sh ./Configure -Dprefix=/Users/tom/install
>>
>> then just add /Users/tom/install/bin to $PATH
>
and hide /usr/bin/perl
Then after you test it thoroughly in those conditions you could think of 
replacing your default install.

> --
> Thanks so much,
> Tom
>
>
---------------------------------------------------------------------------
reply directly to:
Jim Cooper
mailto:[EMAIL PROTECTED]
iMedia, Ltd.
Tokyo                            http://www.ai-media.co.jp
---------------------------------------------------------------------------

Reply via email to