On 06/13/2005 05:39 AM, Shailesh Mali said:
I am trying to install DBI and DBD modules on Solaris 10
and getting following error. Please suggest is there any solution for
this problem.
Perl.xsc && mv Perl.xsc Perl.c
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
sh: cc: not found
*** Error code 1
make: Fatal error: Command failed for target `Perl.o'
What's unclear about the message? You haven't installed the compiler
that was used to build perl.
You can either install that compiler or build your own perl with a
compiler you have and then use it to build modules too.
This is perl, v5.8.4 built for sun4-solaris-64int
perl -v details
# perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-xarch=v8 -D_TS_ERRNO',
ccversion='Sun WorkShop', gccversion='', gccosandvers=''
--
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.