Click here to get back home

error with CPAN.pm

 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
error with CPAN.pm Leo the Lion 10-19-2004
Posted by Leo the Lion on October 19, 2004, 7:13 am
Please log in for more thread options
I run a "make DBI" and this is what I get:

cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME"
=> "DBI", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst >
Perl.xsi
/usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp
-typemap /usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap
Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-q32 -D_LARGE_FILES -qlonglong -O -DVERSION="1.45"
-DXS_VERSION="1.45"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" Perl.c
/bin/sh: cc_r: not found.
make: 1254-004 The error code from the last command is 127.


Stop.
/usr/bin/make -- NOT OK

cpan>
The above is the very end of the output, I am running AIX 5.2 level
2, please help


Posted by Bill Karwin on October 19, 2004, 10:37 am
Please log in for more thread options
I googled for "cc_r: not found" and found a few links that look relevant.

It sounds like cc_r, the thread-safe C compiler, can't be found due to
some system configuration problem.

Read this page:
http://www.mail-archive.com/dbi-users@perl.org/msg06439.html

Bill

Leo the Lion wrote:

> I run a "make DBI" and this is what I get:
>
> /bin/sh: cc_r: not found.


Posted by Brian McCauley on October 19, 2004, 6:38 pm
Please log in for more thread options
Leo the Lion wrote:

> I run a "make DBI" and this is what I get:

> cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
> -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
> -q32 -D_LARGE_FILES -qlonglong -O -DVERSION="1.45"
> -DXS_VERSION="1.45"
> "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" Perl.c
> /bin/sh: cc_r: not found.

> The above is the very end of the output, I am running AIX 5.2 level
> 2, please help

Does it have a C compiler installed? If so is it callable as cc_r ?

You can't install (from source) Perl modules that include parts in C
without a C compiler. If fact not just any C compiler but one that's
binary compatible with the one used to build the perl executable.



Similar ThreadsPosted
XML::Parser CPAN install error with Expat.o October 1, 2004, 4:36 pm
XML::Parser CPAN install error with Expat.o October 1, 2004, 4:36 pm
CPAN make test error with XML::Encoding October 7, 2004, 11:28 am
CPAN make test error with XML::Encoding October 7, 2004, 11:28 am
Syntax error using cpan leads to bizarre behavior September 10, 2004, 6:32 pm
Error: RCPT TO: error (550 relay not permitted) February 11, 2006, 1:39 pm
GD.c: 533: error: syntax error before "void" March 24, 2006, 10:15 am
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
Error while using LWP December 1, 2005, 8:06 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap