Perl Module installation


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Perl Module installation
# 1  
Old 08-04-2008
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.
# 2  
Old 08-04-2008
You have one more option to install perl module
Code:
 perl -MCPAN -e 'shell'

but you'll need to configure the CPAN module. If you've never done this, it's really simple.

- nilesh
# 3  
Old 08-04-2008
Does the file have a Makefile.PL? Did you run it before running make?
# 4  
Old 08-04-2008
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.
# 5  
Old 08-05-2008
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 ?
# 6  
Old 08-05-2008
Running "make" after perl Makefile.PL, is the error message the same as what you first posted? Is "cc_r" on your PATH?
# 7  
Old 08-08-2008
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl Module Installation issue.

I have issue with the perl module installed in the new Linux server I have installed the required module, but still the perl program was not able to find the path I'm getting the below error: Can't locate Log/Log4perl.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/Log4perl.pm... (5 Replies)
Discussion started by: help_scr_seeker
5 Replies

2. Linux

Network card module installation

Hi, I am using Red Hat 9.0 and it does not have the inbuilt driver module for my onboard lan card (RTL 8169). I downloaded the module (file - r8169-6.017.00.tar.bz2 and even r8169-6.015.00.tar.bz2), but when try to install it it says r8169.h , r8169_n.c , Makefile etc are... (2 Replies)
Discussion started by: dextergenious
2 Replies

3. Red Hat

Network card module installation

Hi, I am using Red Hat 9.0 and it does not have the inbuilt driver module for my onboard lan card (RTL 8169). I downloaded the module (file - r8169-6.017.00.tar.bz2 and even r8169-6.015.00.tar.bz2), but when try to install it it says r8169.h , r8169_n.c , Makefile etc are not ELF formats. ... (0 Replies)
Discussion started by: dextergenious
0 Replies

4. Shell Programming and Scripting

problem during perl module installation

Hi 'm getting error while installing perl mdule on linux.can any one tell me how to resolve that error? problem is: CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build J/JD/JDB/Win32-OLE-0.1709.tar.gz OS unsupported Warning: No success on command Warning (usually harmless):... (1 Reply)
Discussion started by: kavi.mogu
1 Replies

5. Windows & DOS: Issues & Discussions

Strawberry perl - New TK module installation error

Hi, I am struggling in installing TK module for strawberry perl. I downloaded TK804 module, extracted to a folder, kept in c:/strawberry/perl/lib path, then from tht path 1) perl makefile.pl 2)dmake 3)dmake test 4)dmake install During perl makefile.pl it is giving error as... (3 Replies)
Discussion started by: vasanth.vadalur
3 Replies

6. Shell Programming and Scripting

calling perl subroutine from perl expect module

All, Is it possible to call a subroutine from the perl expect module after logging to a system that is within the same program. My situation is I need to run a logic inside a machine that I'm logging in using the expect module, the logic is also available in the same expect program. Thanks,... (5 Replies)
Discussion started by: arun_maffy
5 Replies

7. UNIX for Advanced & Expert Users

help with perl module installation

Hi, I am trying to install perl modules in HPUX under my account. I do not have the root permission. The module name I am trying to install is Spreadsheet-WriteExcel. I have downloaded the tar.gz file from CPAN and extracted the same under my home directory. When I try do 'perl... (2 Replies)
Discussion started by: sabyasm
2 Replies

8. Shell Programming and Scripting

perl module installation problems... experts advice needed,...

---------- This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) ----------in win 2000 advanced server,.. i am somewhat comfortable with perl but i am new to perl modules.. when i tried to install xml::simple and xml::parser there... (4 Replies)
Discussion started by: sekar sundaram
4 Replies

9. Shell Programming and Scripting

Replace Perl Module name in all Perl scripts

I want to replace a Perl module name in all my Perl Scripts in the cgi-bin directory. How is it possible? I have the following statement in my scripts use myUtil; I want to change it to use myUtil777; Regards, Rahul (2 Replies)
Discussion started by: rahulrathod
2 Replies
Login or Register to Ask a Question