Hello - I'm attempting to build the current DBI on
Solaris 2.8.   We did not purchase the C development option pack, 
so we're relying on gcc. 
How do I get the Makefile.PL script 
to generate a Makefile appropriate for gcc??
I tried the following command line .... 

        $   make CC=gcc
        gcc -c   -xO3 -xdepend     -DVERSION=\"1.15\"  -DXS_VERSION=\"1.15\"
-KPIC -I/us
        r/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS Perl.c
        gcc: unrecognized option `-KPIC'
        gcc: language depend not recognized
        gcc: Perl.c: linker input file unused since linking not done
        /usr/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 DBI.xs >xs
        tmp.c && mv xstmp.c DBI.c
        gcc -c   -xO3 -xdepend     -DVERSION=\"1.15\"  -DXS_VERSION=\"1.15\"
-KPIC -I/us
        r/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS DBI.c
        gcc: unrecognized option `-KPIC'
        gcc: language depend not recognized
        gcc: DBI.c: linker input file unused since linking not done
        Running Mkbootstrap for DBI ()
        chmod 644 DBI.bs
        LD_RUN_PATH="" cc -o blib/arch/auto/DBI/DBI.so  -G DBI.o
        /usr/ucb/cc:  language optional software package not installed
        *** Error code 1
        make: Fatal error: Command failed for target
`blib/arch/auto/DBI/DBI.so'       

 ...... but all  brute-force change attempts to the Makefile itself 
have fixed one problem while creating two or more new problems.
The cleanest/easiest approach would be to get 
Makefile.PL to do the right thing based on gcc.

Any clues?  
Thanks much in advance.

Louie I

Louis J Iacona   [EMAIL PROTECTED] 
Sr Consulting Engineer  973.984.2229 x455
OmniE Labs, Inc.  http://www.omnie.com

Reply via email to