Thread View: perl.cpan.metadata
1 messages
1 total messages
Started by "Randy W. Sims"
Tue, 11 Jan 2005 23:20
Re: Question on cpan installs
Author: "Randy W. Sims"
Date: Tue, 11 Jan 2005 23:20
Date: Tue, 11 Jan 2005 23:20
28 lines
3119 bytes
3119 bytes
Michael.Dunham@micorp.com wrote: > I may have sent this to the wrong discussion group - I am new to using > CPAN.... > If so, sorry! > > I am running on an IBM AIX 5.2 system. I am trying to run the following: > > perl -MCPAN -e shell > > cpan> install Bundle::CPAN > > This downloads the bundles fine. However it tries to use the IBM C > compiler which is cc_r. I want it to use gcc. > > Anyone know how to make this happen? It's actually ExtUtils::MakeMaker or Module::Build that does the compiling, and it uses the same compiler used to compile perl itself (`perl -V:cc`). This value is stored in Config.pm (`perldoc -l Config` will give the location). You can edit your Config.pm and change the value assigned to 'cc', but it may cause problems. Specifically, if modules are compiled with a different compiler than that used to compile perl, especially if it uses a different C runtime library, there can be problems of memory corruption (one lib freeing memory allocated in another lib), io sync problems, etc. In general, if you want to compile modules with gcc, then you should also compile perl with gcc. Randy.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads