![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl Module Help | suprcool | Shell Programming and Scripting | 7 | 07-25-2008 02:14 AM |
| Perl module question | hankooknara | Shell Programming and Scripting | 3 | 07-08-2007 08:26 AM |
| help with perl module installation | sabyasm | UNIX for Advanced & Expert Users | 2 | 01-04-2007 09:13 AM |
| perl module installation problems... experts advice needed,... | sekar sundaram | Shell Programming and Scripting | 4 | 12-11-2005 08:24 PM |
| Replace Perl Module name in all Perl scripts | rahulrathod | Shell Programming and Scripting | 2 | 12-02-2005 01:00 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Perl Module installation
Hi All,
I am failry new to Perl.I am trying to install a Perl module (Filesys::df.pm) in an IBM AIX5.3 server.But I could not succeed in that.I am getting the following error: abcd3dev# make 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=\"0.92\" -DXS_VERSION=\"0.92\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" Df.c /bin/sh: cc_r: not found. make: 1254-004 The error code from the last command is 127. Stop. Could anybody please help in this regards.Any help will be highly appreciated. |
|
||||
|
cc_r seems to be like a C compiler executable. Does the compiler exist on your system? You need to use the same C compiler used to compile perl on your machine. Run 'perl -V' for hints on the compiler information.
|
|
||||
|
I configured cpan module,then I tried to install.But the following error is getting:
cpan> force install Filesys:: Df Warning: Cannot install Filesys:: Df, don't know what it is. Try the command i /Filesys:: Df/ to find objects with matching identifiers. ******************************************************** I tried to first perl makefile.PL, it showed the following abcd3dev# cd Filesys-Df-0.92 abcd3dev# perl Makefile.PL OS = aix Checking for statvfs ..... d_statvfs is defined. i_sysstatvfs is defined. Building with statvfs .... Writing Makefile for Filesys:: Df then only I tried make. ******************************************************* I could see that ,in the server it is the same compiler using for Perl as well.After giving the command Perl -V Compiler: cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong', Could anybody,please shed some lights on this ? |
|
||||
|
Hi All,
Thanks for your efforts to help me in regarding to Perl module installation.I have resolved the issue by installing gcc compiler in the server.As you have mentioned about the cc_r complier,it was due to that only,I was not able to install the module. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|