Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
problem installing perl modules

Posted by herve (herve), 10 June 2005
Hi

Thanks for any  help.
When I  try to  install Perl modules,  as a regular user, I  get  the following  message:
----------------example ---------------------------
plankton:>  cd DOWNLOAD_PERL/Filter-1.30
plankton:> /usr/local/perl5/bin/perl  Makefile.PL PREFIX=$HOME/PERL_PKG        
Checking if your kit is complete...
Looks good
Error: Unable to locate installed Perl libraries or Perl source code
------------
Maybe I  have to  edit my config.pm
Do you know where is is located ?

---------------Other info ---------------------------
# this is my  machine:
plankton:> uname -a
SunOS plankton 5.8 Generic_108528-26 sun4u sparc SUNW,Sun-Fire-V210
------------------------------------------------------
# this is  my perl version
plankton:>  /usr/local/perl5/bin/perl  -v
This is perl, v5.6.1 built for sun4-solaris-thread-multi
------------------------------------------------------
#  this is  my Perl  configuration
plankton:>  /usr/local/perl5/bin/perl  -V              
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
 Platform:
   osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
   uname='sunos mistere.rutgers.edu 5.8 generic_108528-03 sun4u sparc sunw,ultra-5_10 '
   config_args='-de -Dprefix=/usr/local/perl5 -Dcpp=/usr/local/bin/gcc -E -Dinstallprefix=/usr/local/perl5 -Dcc=/usr/local/bin/gcc -Dldflags=-L/usr/local/lib -R/usr/local/lib -Dusethreads'
   hint=recommended, useposix=true, d_sigaction=define
   usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
   useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
   use64bitint=undef use64bitall=undef uselongdouble=undef
 Compiler:
   cc='/usr/local/bin/gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
   optimize='-O',
   cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include'
   ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.8'
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
   ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
   alignbytes=8, usemymalloc=y, prototype=define
 Linker and Libraries:
   ld='/usr/local/bin/gcc', ldflags ='-L/usr/local/lib -R/usr/local/lib '
   libpth=/usr/local/lib /usr/lib /usr/ccs/lib
   libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lrt -lpthread -lc
   perllibs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc
   libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
   cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -R/usr/local/lib'


Characteristics of this binary (from libperl):
 Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
 Built under solaris
 Compiled at Jul 13 2001 15:47:38
 @INC:
   /usr/local/perl5/lib/5.6.1/sun4-solaris-thread-multi
   /usr/local/perl5/lib/5.6.1
   /usr/local/perl5/lib/site_perl/5.6.1/sun4-solaris-thread-multi
   /usr/local/perl5/lib/site_perl/5.6.1
   /usr/local/perl5/lib/site_perl
   .
#
--------------------------------------------------------------
thanks
herve


Posted by John_Moylan (jfp), 13 June 2005
Hello Herve.

I don't have time to read through your problem thoroughly but it did remind me of a previous thread:

http://www.wellho.net/cgi-bin/opentalk/YaBB.pl?board=perl;action=display;num=1098395997;start=

Dig deeper into the thread as its gets onto PATH settings and using CPAN as a non root user.

thanks
jfp



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2012: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho