Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DBI module installation problem on solaris 10

1 view
Skip to first unread message

Shailesh Mali

unread,
Jun 13, 2005, 8:39:12 AM6/13/05
to dbi-...@perl.org
HI

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'

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:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-64int
uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-xarch=v8 -D_TS_ERRNO',
optimize='-xO3 -xspace -xildoff',
cppflags=''
ccversion='Sun WorkShop', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE'
cccdlflags='-KPIC', lddlflags='-G'

/usr/perl5/5.8.4/lib/sun4-solaris-64int
/usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int
/usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4
/usr/perl5/vendor_perl

Regards
shailesh
_________________________________________________________________

This e-mail may contain confidential information and/or copyright material. This e-mail is intended for the use of the addressee only. Any unauthorised use may be unlawful.

If you receive this e-mail by mistake please advise the sender immediately by using the reply facility in your e-mail software.

The Friends Provident group of companies includes these Friends Provident plc subsidiary companies:

Friends Provident Life and Pensions Limited. Registered number 4096141.
Friends Provident Life Assurance Limited. Registered number 782698.
Friends Provident Pensions Limited. Registered number 475201.
Friends Provident Marketing Limited. Registered number 5059179.

Each of these subsidiary companies is authorised and regulated by the Financial Services Authority.

The ultimate holding company is Friends Provident plc. Registered number 4113107.

All are incorporated companies limited by shares and registered in England.
Registered and Head Office: Pixham End, Dorking, Surrey RH4 1QA.
www.friendsprovident.com

_________________________________________________________________

Michael A Chase

unread,
Jun 13, 2005, 9:23:12 AM6/13/05
to Shailesh Mali, dbi-...@perl.org
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.

0 new messages