On Thu, Sep 29, 2005 at 03:33:27PM +1000, saurabh shukla wrote:
>     I see you're using perl 5.008004 on sun4-solaris-64int, okay.
<snip>
> cc -c   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO 
> -xO3 -xspace -xildoff   -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -KPIC 
> "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"  -DDBI_NO_THREADS Perl.c
> /bin/sh: cc: not found
> make: *** [Perl.o] Error 1
>   /usr/local/bin/make  -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible
> 
> 
> I dont have cc installed on my machine however I do have gcc version 
> 3.3.2 installed. Can I change some setting to force perl to use gcc 
> instead of CC ?

Welcome to the joys of solaris! Nope, you can't use gcc to compile perl 
modules into a cc-compiled perl or the ground will open and swallow you 
up, etc. Your best bet is probably to grab the perl from sunfreeware.com, 
or to go and find yourself a cc to use. Only affects non-pure-perl 
modules, of course, but they're the best ones.

Cheers,
Gavin

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to