Just wanted to let everyone know I finally fixed the issue.

I removed the default perl install in Mac OS X 10.6.8 and compiled a clean
install of perl 5.10.1 in its place.

Here are the steps to replicate:

sudo rm -R /System/Library/Perl
sudo rm -R /Library/Perl

rm /usr/bin/cpan*
rm /usr/bin/perl*

export SDK=/Developer/SDKs/MacOSX10.6.sdk

# cd to src
cd /usr/local/src/perl-5.10.1

# configure (may need to sudo)
./Configure -Accflags="-nostdinc -B$SDK/usr/include/gcc \
-B$SDK/usr/lib/gcc -isystem$SDK/usr/include \
-F$SDK/System/Library/Frameworks" \
-Aldflags="-Wl,-syslibroot,$SDK" \
-de -Dprefix=/usr -Dusershrplib -Dperladmin=em...@addr.com
-Dcf_email=em...@addr.com

#install
make
make test
sudo make install

# upgrade cpan
sudo cpan
upgrade CPAN.pm
reload cpan
install Module::Build
install ExtUtils::MakeMaker
install Bundle::CPAN


Thanks to all who helped!

Regards,

Juan


On 10/18/11 11:32 AM, "Phil Dobbin" <phildob...@gmail.com> wrote:

>On 18/10/11 at 16:22, j.madrig...@miami.edu (Madrigal, Juan A) wrote:
>
>[...]
>
>> Any advice on installing a fresh install of perl and cpan in a different
>> directory?
>> 
>> Flags etc...?
>
> 
><http://learnperl.scratchcomputing.com/tutorials/configuration/#installing
>_more_perls>
> 
> Cheers,
>
>    Phil.
>--
>Please consider the environment before reading this email...
>


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to