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

[email protected] (Alexander Foken)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
On 12.02.2011 02: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
>
>
>
> 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.

Couldn't agree more ...

Make sure you use the same compiler to build modules that was used to 
compile perl. Mixing compilers is begging for trouble.

> 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
Seems like you don't have a working C compiler, /usr/ucb/cc seems to be 
a non-functional dummy.

Install a C compiler, preferably the one that was used to compile perl. 
 From the first message, that should be the GNU C compiler (gcc).


Alexander

-- 
Alexander Foken
mailto:[email protected]  http://www.foken.de/alexander/
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.