Re: Need HELP: trying to install DBI-1.613 or even DBI-1.616 same errors ...see message??

[email protected] ("Martin J. Evans")
Newsgroups perl.dbi.users
Organization Easysoft Limited
Message-ID <[email protected]>
On 12/02/2011 01:45, Arifuddin, Arif wrote:
> HELP:
>
> $ uname -a
> SunOS recondfw 5.10 Generic_139556-08 i86pc i386 i86pc
>   isainfo -v
> 64-bit amd64 applications
>          ssse3 cx16 mon sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu
> 32-bit i386 applications
>          ssse3 cx16 mon sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu
>
>
>
> bash-3.00# echo $PATH
> /usr/sbin:/usr/bin:/usr/sfw/bin
> bash-3.00# /usr/perl5/bin/perlgcc Makefile.PL

> Creating test wrappers for DBD::Gofer:
>
<snipped creating test wrappers>
> Checking if your kit is complete...
> Looks good
> Have /usr/perl5/5.8.4/lib/Sun/Solaris/PerlGcc
> Want /usr/perl5/5.8.4/lib/i86pc-solaris-64int
> Your perl and your Config.pm seem to have different ideas about the
> architecture they are running on.
> Perl thinks: [PerlGcc]
> Config says: [i86pc-solaris-64int]
> This may or may not cause problems. Please check your installation of perl
> if you have problems building this extension.
I would suggest you investigate this as it does not sound good or is it 
normal to get this with perlgcc?
>      I see you're using perl 5.008004 on i86pc-solaris-64int, okay.
>      Remember to actually *read* the README file!
>      Use  'make' to build the software (dmake or nmake on Windows).
>      Then 'make test' to execute self tests.
>      Then 'make install' to install the DBI and then delete this working
>      directory before unpacking and building any DBD::* drivers.
>
> Writing Makefile for DBI
> bash-3.00# /usr/sfw/bin/gmake
> /usr/perl5/5.8.4/bin/perl -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI
> rm -f blib/lib/DBI/Changes.pm
>
<snipped copy commands>
> /usr/perl5/5.8.4/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst>  Perl.xsi
> /usr/perl5/5.8.4/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp  -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap  Perl.xs>  Perl.xsc&&  mv Perl.xsc Perl.c
> gcc -c   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O2 -fno-strict-aliasing   -DVERSION=\"1.616\" -DXS_VERSION=\"1.616\" -fPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE"  -DDBI_NO_THREADS Perl.c
> /usr/ucb/cc:  language optional software package not installed
Looks like you don't have sun's C compiler installed which is not 
surprising given you are using perlgcc. Looks like perlgcc is broken in 
some way as it is ending up calling /usr/ucb/cc instead of gcc.

> gmake: *** [Perl.o] Error 1
> bash-3.00# /usr/sfw/bin/gmake test
> gcc -c   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O2 -fno-strict-aliasing   -DVERSION=\"1.616\" -DXS_VERSION=\"1.616\" -fPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE"  -DDBI_NO_THREADS Perl.c
> /usr/ucb/cc:  language optional software package not installed
> gmake: *** [Perl.o] Error 1
> bash-3.00# /usr/sfw/bin/gmake install
> gcc -c   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O2 -fno-strict-aliasing   -DVERSION=\"1.616\" -DXS_VERSION=\"1.616\" -fPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE"  -DDBI_NO_THREADS Perl.c
> /usr/ucb/cc:  language optional software package not installed
> gmake: *** [Perl.o] Error 1
> bash-3.00#
>
>
> regards,
>
> [email protected]
> Xerox Global Services: Dallas Innovation Center
>
Have you actually compiled any other CPAN module that contains C code as 
I don't think this looks like anything DBI-specific.

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.