This is a discussion on Perl on Aix 5.2 within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello. I have perl 5.8 from aix 5.2 box. I need install several modules on cpan but i get ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello. I have perl 5.8 from aix 5.2 box. I need install several modules on cpan but i get errors similar to: # perl -MCPAN -e shell install Digest::SHA1 Writing Makefile for Digest::SHA1 cp SHA1.pm blib/lib/Digest/SHA1.pm /usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "Digest::SHA1", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' /usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp -typemap /usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap SHA1.xs > SHA1.xsc && mv SHA1.xsc SHA1.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=\"2.11\" -DXS_VERSION=\"2.11\" "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" SHA1.c /bin/sh: cc_r: not found. make: 1254-004 Error code of the last command is 127. Stopped. /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible I only use gcc instead cc. I think i cannot uninstall perl and install it from another site(bull or ucla). It's true. Any idea ? Thanks. |
| ||||
| jatetu wrote: > Hello. > I have perl 5.8 from aix 5.2 box. I need install several modules on cpan > but i get errors similar to: > # perl -MCPAN -e shell > install Digest::SHA1 > > Writing Makefile for Digest::SHA1 > cp SHA1.pm blib/lib/Digest/SHA1.pm > /usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => > "Digest::SHA1", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' > /usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp -typemap > /usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap SHA1.xs > > SHA1.xsc && mv SHA1.xsc SHA1.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=\"2.11\" -DXS_VERSION=\"2.11\" > "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" SHA1.c > /bin/sh: cc_r: not found. > make: 1254-004 Error code of the last command is 127. > Stopped. > /usr/bin/make -- NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible > > I only use gcc instead cc. You may fake installer by using env variables: CC=gcc I would recommend to not play with these tricks because you may encounter unexpected results combining native perl (compiled with Visual Age C I supose) and SOs (DLLs) (compiled with GCC). > > I think i cannot uninstall perl and install it from another site(bull or > ucla). It's true. You can install another Perl in some other dir (i.e. /usr/local/perl). > > Any idea ? > > Thanks. -- kind regards, Claudiu Costin |