The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Best Method for installing Perl Modules metallica1973 High Level Programming 2 03-05-2008 03:54 PM
How to check for installed Perl modules on solaris? jsandova SUN Solaris 4 10-22-2007 01:42 PM
Installing Perl Modules ssmiths001 Shell Programming and Scripting 1 06-26-2006 10:20 PM
Calling perl modules from shell scritps kavitha Shell Programming and Scripting 1 03-31-2004 03:34 PM
Re-Installing Perl frustrated1 Shell Programming and Scripting 1 11-04-2003 06:36 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-05-2008
metallica1973 metallica1973 is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 19
Installing perl modules manually

I am trying to install a perl module using a tar file and am having trouble doing so. I see that on the system there are two version of perl installed.

PHP Code:
/usr/bin/perl -v
 
/usr/perl5/5.6.1/lib/sun4-solaris-64int
    
/usr/perl5/5.6.1/lib
    
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int
    
/usr/perl5/site_perl/5.6.1
    
/usr/perl5/site_perl
    
/usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
    
/usr/perl5/vendor_perl/5.6.1
    
/usr/perl5/vendor_perl 
and the libraries that I want to use:

PHP Code:
 /usr/local/lib/perl5/5.8.5/sun4-solaris
    
/usr/local/lib/perl5/5.8.5
    
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
    
/usr/local/lib/perl5/site_perl/5.8.5
    
/usr/local/lib/perl5/site_perl 
If I perform a:

PHP Code:
perl Makefile.PL LIB=/usr/local/lib/perl5/5.8.5 INSTALLMAN1DIR=/home/local/perl/Data_Dumper/man/man1 INSTALLMAN3DIR=/home/local/perl/Data_Dumper/man/man3 INSTALLBIN=/usr/local/bin 
INSTALLSCRIPT
=/home/scripts/Data_Dumper 
and then when I run a make, I get this error which is using the wrong libraries:

PHP Code:
make
cc 
-c  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend   -DVERSION="2.121\" -DXS_VERSION=\"2.121\" -KPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE  Dumper.c
make: cc: Command not found
make: *** [Dumper.o] Error 127 
My question is how can I tell this Makefile to use these libraries:

PHP Code:
/usr/local/lib/perl5/5.8.5/sun4-solaris
    
/usr/local/lib/perl5/5.8.5
    
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
    
/usr/local/lib/perl5/site_perl/5.8.5
    
/usr/local/lib/perl5/site_perl 
and to use the correct c libraries(find them first)

and to use these directories for the rest:

PHP Code:
INSTALLMAN1DIR=/home/local/perl/Data_Dumper/man/man1 INSTALLMAN3DIR=/home/local/perl/Data_Dumper/man/man3 
INSTALLBIN
=/usr/local/bin 
INSTALLSCRIPT
=/home/scripts/Data_Dumper 
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0