[SunRescue] Re: Compiling Perl Programs

rescue at sunhelp.org rescue at sunhelp.org
Sun Mar 4 16:48:09 CST 2001


you need to install gcc. solaris doesn't come with a compiler.

check out www.sunfreeware.com for a pkadd format installation of gcc. 

Ron Rosson writes: 

> I am trying to get some perl programs installed on my 2.8 Solaris box
> and I keep running into a brickwall.  
> 
> The perl program is Digest-MD5-2.12  
> 
> Here is what I get...
> insane-postal> perl Makefile.PL 
> Testing alignment requirements for U32... Test program exit status was 0
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Digest::MD2
> Writing Makefile for Digest::SHA1
> Writing Makefile for Digest::MD5 
> 
> mkdir ../blib/lib/auto/Digest/MD2
> cp MD2.pm ../blib/lib/Digest/MD2.pm
> /bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
> /usr/perl5/5.00503/ExtUtils/xsubpp  -typemap
> /usr/perl5/5.00503/ExtUtils/typemap -typemap typemap MD2.xs >xstmp.c &&
> mv xstmp.c MD2.c
> cc -c   -xO3 -xdepend    -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -KPIC
> -I/usr/perl5/5.00503/sun4-solaris/CORE  MD2.c
> cc: unrecognized option `-KPIC'
> cc: language depend not recognized
> cc: MD2.c: linker input file unused since linking not done
> Running Mkbootstrap for Digest::MD2 ()
> chmod 644 MD2.bs
> LD_RUN_PATH="" cc -o ../blib/arch/auto/Digest/MD2/MD2.so  -G MD2.o     
> cc: MD2.o: No such file or directory
> cc: No input files
> make[1]: *** [../blib/arch/auto/Digest/MD2/MD2.so] Error 1
> make[1]: Leaving directory `/home/insane/sparc/work/Digest-MD5-2.12/MD2'
> make: *** [subdirs] Error 2 
> 
> 
> anyone have any ideas? 
> 
> I come from the *BSD world. I am a learning newbie to Solaris.  ;-) 
> 
> TIA
> -- 
> ------------------------------------------------------------------------------
> Ron Rosson          			      ... and a UNIX user said ...
> The InSaNe One                 			      rm -rf *
> insane at oneinsane.net     	            and all was /dev/null and *void()
> ------------------------------------------------------------------------------
>     "Out the token ring, through the router, down the fiber, off
>     a switch, past the firewall, down the T1 ... nothing but Net."
> _______________________________________________
> Rescue maillist  -  Rescue at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/rescue
 



 ---------------------------------
Paul Theodoropoulos
paul at anastrophe.net
Senior Unix Systems Administrator
Syntactically Subversive Services, Inc.
http://www.anastrophe.net
Downtime Is Not An Option 




More information about the rescue mailing list