Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Problem installing perl modules

by kraas (Novice)
on Sep 12, 2007 at 19:13 UTC ( [id://638653]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem installing perl modules
in thread Problem installing perl modules

I did a 'perl -V' on the system I am trying to install on, and another system where I previously installed the same modules without incident, and they were the same.

So if I have to remove my existing ActivePerl installation and start over, how do I make sure it uses gcc?

Thanks everyone for your help so far.

Replies are listed 'Best First'.
Re^3: Problem installing perl modules
by almut (Canon) on Sep 12, 2007 at 19:30 UTC
    I did a 'perl -V' ...

    What does it say? (I don't have an ActivePerl for Solaris installed here, so I can't check myself.)

      bash-3.1# perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris-thread-multi uname='sunos axe 5.6 generic_105181-39 sun4u sparc sunw,ultra-60 ' config_args='-ders -Dcc=cc -Dusethreads -Duseithreads -Ud_sigsetjm +p -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Ud_strerror_r -Accfl +ags=-DUSE_SITECUSTOMIZE -Duselargefiles -Accflags=-DNO_HASH_SEED -Dpr +efix=/opt/ActivePerl-5.8 -Dprivlib=/opt/ActivePerl-5.8/lib -Darchlib= +/opt/ActivePerl-5.8/lib -Dsiteprefix=/opt/ActivePerl-5.8/site -Dsitel +ib=/opt/ActivePerl-5.8/site/lib -Dsitearch=/opt/ActivePerl-5.8/site/l +ib -Dsed=/usr/bin/sed -Dconfig_heavy=Config_static.pl -Dcf_by=ActiveS +tate -Dcf_email=support@ActiveState.com' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemulti +plicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DUSE_S +ITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=6 +4', optimize='-O', cppflags='-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DUSE_SITECUSTOM +IZE -DNO_HASH_SEED' ccversion='Sun WorkShop 6 update 2 C 5.3 Patch 111679-14 2004/02/2 +0', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/WS6U +2/lib ' libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/WS6U2/lib /usr/local/li +b libs=-lsocket -lnsl -ldl -lm -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc libc=, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib -L/opt +/SUNWspro/WS6U2/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 820 [274679] Iin_load_module moved for compatibility with build 806 PerlEx support in CGI::Carp Less verbose ExtUtils::Install and Pod::Find Patch for CAN-2005-0448 from Debian with modifications Rearrange @INC so that 'site' is searched before 'perl' Partly reverted 24733 to preserve binary compatibility 28376 Add error checks after execing PL_cshname or PL_sh_path 28305 Pod::Html should not convert "foo" into ``foo'' 27833 Change anchor generation in Pod::Html for '=item item 2' 27832,27847 fix Pod::Html::depod() for multi-line strings 27736 Make perl_fini() run with Sun WorkShop compiler 27719 Document the functions htmlify() and anchorify() in Pod: +:Html 27619 Bug in Term::ReadKey being triggered by a bug in Term::R +eadLine 27549 Move DynaLoader.o into libperl.so 27515 ignore directories when searching @INC 27359 Fix -d:Foo=bar syntax 27210 Fix quote typo in c2ph 27203 Allow compiling swigged C++ code 27133 Initialise lastparen in the regexp structure 27061 L<PerlIO> and Pod::Html 27034 Avoid "Prototype mismatch" warnings with autouse 26970 Make Passive mode the default for Net::FTP 26921 Avoid getprotobyname/number calls in IO::Socket::INET 26897,26903 Make common IPPROTO_* constants always available 26670 Make '-s' on the shebang line parse -foo=bar switches 26536 INSTALLSCRIPT versus INSTALLDIRS 26087 Storable 0.1 compatibility 25861 IO::File performace issue 25084 long groups entry could cause memory exhaustion 24699 ICMP_UNREACHABLE handling in Net::Ping Built under solaris Compiled at Jan 23 2007 12:00:36 @INC: /opt/ActivePerl-5.8/site/lib /opt/ActivePerl-5.8/lib .
      Both systems generated the exact same output (I did a diff on it n_n).

        Ok, this confirms my suspicion, i.e. the ActivePerl binary has been built with the Sun WorkShop 6 C compiler. In that case, I don't think there's an easy way to get things to work with gcc. In other words, I'm afraid you'll have to try one of the other options I mentioned.

        If you have a Sun C compiler (probably doesn't have to be this very version), I'd go with that. Otherwise, I'd try to find pre-built PPM packages (I'm not using PPM myself, so I can't help out with links to good repositories...), or as a last resort, build your own Perl from the sources using gcc. In the latter case, when everything is consistently making use of the same compiler framework, you shouldn't have any problems building extension modules. Good luck.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://638653]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2025-01-22 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (63 votes). Check out past polls.