Re: error while installing DBI module...help required

[email protected] (Victor Churchill)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
The line you highlighted tells you that the make command failed
because it could not find a C compiler (cc: not found). This could be
because it's not present on your system, or because it can't be found
in your $PATH. The C compiler exists because it is detailed lower down
in your listing. So you need to find out where it lives and have that
directory in your PATH environment variable.



On 20 May 2010 11:59,  <[email protected]> wrote:
<snip>
> 2) output of $ make
> cc -c    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO
> -xO3 -xspace -xildoff    -DVERSION=\"1.609\"  -DXS_VERSION=\"1.609\" -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'
<snip>
>   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=''

-- 
regards,

Victor Churchill
The Software Shack, Ltd
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.