when you install modules which need a compiler it is best to use the Compiler that 
Perl itself is built with (pelr -V).

Either you can:

CC=/usr/local/bin/gcc CCCDLFLAGS=-fpic OPTIMIZE="-O2" LD=/usr/local/bin/gcc
export CC CCCDFLAGS OPTIMIZE LD
perl Makefile.PL CC=/usr/local/bin/gcc CCCDLFLAGS=-fpic OPTIMIZE="-O2" 
LD=/usr/local/bin/gcc
make -e 
make -e test
make -e install

and trust to luck, (don't forget to have "ar" in your PATH)

or install Suns CC.

Yours

Faye Gibbins
Infrastructure and Platform Analyst.
IT Operations
If.com

"And his attitude towards his councils and towards each one of his advisers should be 
such that they will recognize that the more freely they speak out the more acceptable 
they will be... who does not is ruined by flatterers" -- Machiavelli


> -----Original Message-----
> From: Hieu Nguyen [mailto:[EMAIL PROTECTED]
> Sent: 15 July 2003 04:58
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: sh: cc: not found
> 
> 
> my operting system # sun solaris version 9
> perl version: v5.6.1 built for sun4-solaris-64int
> (come w/ op system)
> gcc compiler version: gcc-2.95.3-sol8-sparc-local
> my quetion is when I tried to install the perl module
> (HTML-Parser-3_07_tar.gz), i ran into problems as
> below:
> 
> cc -c  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3
> -xdepend
> -DVERSION=\"3.07\"  -DXS_VERSION=\"3.07\" -KPIC
> -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE
> -DMARKED_SECTION Parser.c
> 
> sh: cc: not found
> *** Error code 1
> make: Fatal error: Command failed for target
> `Parser.o'
> 
> Thanks in advance
> 
> =====
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Hieu N.
> 408/396-7764
> [EMAIL PROTECTED]
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> 

-- 

------------------------------------------------------------------------------
Intelligent Finance is a division of Halifax plc, Registered in England No. 2367076, 
Registered Office: Trinity Road, Halifax, West Yorkshire HX1 2RG.

==============================================================================

Reply via email to