Click here to get back home

Cpan and gcc

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Cpan and gcc erri 09-27-2005
Get Chitika Premium
Posted by erri on September 27, 2005, 8:38 pm
Please log in for more thread options


Hi.
I wish to install spamassassin 3.1 on aix 5.2 with gcc. It require several
modules like sha1, etc. If i use CPAN
to get all necessary modules or i try to build with "perl Makefile.PL",
building stops because it use to default cc_r compiler instead gcc.
How do i can to set this?

Thanks.





Posted by Juha Laiho on September 27, 2005, 8:17 pm
Please log in for more thread options


>I wish to install spamassassin 3.1 on aix 5.2 with gcc. It require several
>modules like sha1, etc. If i use CPAN
>to get all necessary modules or i try to build with "perl Makefile.PL",
>building stops because it use to default cc_r compiler instead gcc.
>How do i can to set this?

More or less, modules should be compiled with the same compiler
that was used to compile the perl you're using. So, switch to
a perl that is compiled with gcc.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)


Posted by Sisyphus on September 28, 2005, 8:45 am
Please log in for more thread options



> Hi.
> I wish to install spamassassin 3.1 on aix 5.2 with gcc. It require several
> modules like sha1, etc. If i use CPAN
> to get all necessary modules or i try to build with "perl Makefile.PL",
> building stops because it use to default cc_r compiler instead gcc.
> How do i can to set this?
>

Run "perl Makefile.PL cc=gcc".

But, as Juha indicated, it may turn out to be simpler to use a perl that was
built with gcc.

Cheers,
Rob




Posted by erri on September 28, 2005, 3:45 pm
Please log in for more thread options


That doesn't works."perl Makefile.PL cc=gcc".



>
>> Hi.
>> I wish to install spamassassin 3.1 on aix 5.2 with gcc. It require
>> several
>> modules like sha1, etc. If i use CPAN
>> to get all necessary modules or i try to build with "perl Makefile.PL",
>> building stops because it use to default cc_r compiler instead gcc.
>> How do i can to set this?
>>
>
> Run "perl Makefile.PL cc=gcc".
>
> But, as Juha indicated, it may turn out to be simpler to use a perl that
> was
> built with gcc.
>
> Cheers,
> Rob
>
>




Posted by Sisyphus on September 29, 2005, 1:10 pm
Please log in for more thread options




> That doesn't works."perl Makefile.PL cc=gcc".
>

Do you mean it still fails to use gcc instead of the default compiler ?
(That would surprise me.)

Or do you simply mean that the build process still fails ? (That would not
surprise me.)

Cheers,
Rob




Similar ThreadsPosted
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails May 10, 2005, 9:51 pm
Use CPAN or CPAN::Shell for LOCAL ONLY install from tarballs? May 9, 2008, 1:04 pm
PHP on CPAN? April 16, 2006, 6:56 pm
.CPAN Locked (OS 10.3.5) August 27, 2004, 11:24 pm
error with CPAN.pm October 19, 2004, 7:13 am
CPAN is great, but.... December 29, 2004, 2:07 pm
CPAN IPC::Run Problem February 17, 2005, 1:47 pm
cpan Net::FTP hangs February 26, 2005, 8:22 pm
Need help installing via CPAN March 17, 2005, 3:33 pm
install whole CPAN ? April 19, 2006, 10:39 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap