- 论坛徽章:
- 0
|
Hi gurus,
I wanted to install DBI-1.38 on my Solaris9(Intel) box and got the following error while I run "make" command:
------------------------------------
/usr/bin/perl -I/usr/perl5/5.6.1/lib/i86pc-solaris-64int -I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils
/xsubpp -typemap /usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap Perl.xs >; Perl.xsc && mv Perl.xsc Pe
rl.c
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.38\" -DXS_VERSION=\"1.38\"
-KPIC -I/usr/perl5/5.6.1/lib/i86pc-solaris-64int/CORE -DDBI_NO_THREADS Perl.c
sh: cc: not found
*** Error code 1
make: Fatal error: Command failed for target `Perl.o'
--------------------------------------------
I got gcc3.3 compiler installed first and went to www.cpan.org and downloaded "DBI-1.38.tar.gz" and unpacked it. Then I went to DBI-1.38 folder and run the following commands:
# perl Makefile.PL
It looked good.
# make
Got error as attched.
Any help is greatly appreciated!
Thanks,
William |
|