Also, you may want to remove/rename the /usr/ucb/cc file and make sure gcc
is in your path.  I ran into this when trying my first compile of any GNU
tools. Sun `thoughtfully' installs a `cc' command that says that C isn't
installed.  Get rid of it if you are only using GCC.

Dave


 On Apr 17, Condle, Joseph P scribed:

> It is looking for the cc compiler which you do not have.  If you are using the Perl 
>installed by Solaris 8 it is compiled with cc.  You can not compile DBI with gcc.  
>You either have to recompile perl with gcc and then DBI. Or compile DBI with cc.  I 
>suggest if you do not have cc to redue the whole thing with gcc.
>
> Joe
>
> -----Original Message-----
> From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 1:35 PM
> To: '[EMAIL PROTECTED] '; '[EMAIL PROTECTED] '
> Subject: RE: problem in install DBI in solaris 2.8
>
>
> xmlproj.dyndns.org/cgi-bin/fom
>
> Ilya
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Sent: 4/17/02 11:18 AM
> Subject: problem in install DBI in solaris 2.8
>
> Hi:
>
> I have the next Problem when i do make:
> ( i have GCC in the system)
>
>
>    /usr/ccs/bin/make
>   mkdir blib
>   mkdir blib/lib
>   mkdir blib/arch
>   mkdir blib/arch/auto
>   mkdir blib/arch/auto/DBI
>   mkdir blib/lib/auto
>   mkdir blib/lib/auto/DBI
>   mkdir blib/man1
>   mkdir blib/man3
>   cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
>   cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
>   cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
>   cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
>   cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
>   cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
>   cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
>   cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
>   cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
>   cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
>   cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
>   cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
>   cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
>   cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
>   cp Driver.xst blib/arch/auto/DBI/Driver.xst
>   cp dbipport.h blib/arch/auto/DBI/dbipport.h
>   cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
>   cp DBI.pm blib/lib/DBI.pm
>   /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst >
>   Perl.xsi
>   /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 Perl.xs >xstmp.c && mv xstmp.c Perl.c
>   cc -c   -xO3 -xdepend     -DVERSION=\"1.20\"  -DXS_VERSION=\"1.20\"
> -KPIC
>   -I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS Perl.c
>   /usr/ucb/cc:  language optional software package not installed
>   *** Error code 1
>   make: Fatal error: Command failed for target `Perl.o'
>   #
>
>   Can help me?
>
>   Regrads...
>   [EMAIL PROTECTED]
>

Reply via email to