installation problem

installation problem

am 17.10.2005 08:32:05 von razat.gupta

------_=_NextPart_001_01C5D2E4.8089C597
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable

While installing a module of perl on Solaris box. I am getting some
problem.

I have downloaded DBI.1.48.tar.gz

Untar it.

I have run the command =20

" perl Makefile.pl" - OK

" make " - shows some error which is mentioned below:

=20

"make: gcc: Command not found

make: *** [Perl.o] Error 127"

=20

Can any one tell me what is the issue.

=20

Regards,

Razat


------_=_NextPart_001_01C5D2E4.8089C597--

Re: installation problem

am 17.10.2005 10:04:08 von aglef.stuewe

Hi,

"Gupta, Razat" wrote on 17-10-2005 08:32:05:


> " make " - shows some error which is mentioned below:
>
> "make: gcc: Command not found

You don't have a the GCC installed. That's the Gnu C Compiler.

HTH.
BR
Aglef

RE: installation problem

am 17.10.2005 10:29:25 von aglef.stuewe

Hi Razat,

it might be a problem if you're using modules from ActiveState and modu=
les
from CPAN.

AFAIK you have to use the same C compiler to build the modules as it wa=
s
used to build
perl.
BTW Please keep this on the list.

HTH.
BR
Aglef


=

"Gupta, Razat" =


on.com> To: =

"Aglef Stüwe" stuewe@velux.com>
cc: =

17-10-2005 10:22 =

Subject: =

RE: installation proble=
m
=

=





Hi Aqlef,

I have cc compiler installed . Ifound it by :

type cc
cc is /usr/ucb/cc

can I install mosules of perl using cc compiler .
If yes, then how should I proceed.

One more thing ,if I have a cc compiler then is that possible to instal=
l
the module using the CPAN or not.

Regards,
Razat

-----Original Message-----
From: Aglef Stüwe [mailto:aglef.stuewe@velux.com]
Sent: Monday, October 17, 2005 3:04 AM
To: Gupta, Razat; dbi-users@perl.org
Subject: Re: installation problem

Hi,

"Gupta, Razat" wrote on 17-10-2005 08:32:05:=



> " make " - shows some error which is mentioned below:
>
> "make: gcc: Command not found

You don't have a the GCC installed. That's the Gnu C Compiler.

HTH.
BR
Aglef





=

Re: installation problem

am 17.10.2005 14:07:59 von me

Gupta, Razat wrote:
> While installing a module of perl on Solaris box. I am getting some
> problem.
>
> I have downloaded DBI.1.48.tar.gz
>
> Untar it.
>
> I have run the command
>
> " perl Makefile.pl" - OK
>
> " make " - shows some error which is mentioned below:
>
>
>
> "make: gcc: Command not found
>
> make: *** [Perl.o] Error 127"
>
>
>
> Can any one tell me what is the issue.
>
>
>
> Regards,
>
> Razat
>
>

DBI requires the gcc compiler (i.e. the gnu C compiler). the "make"
command is telling you it can not find the gcc compiler. I think
Solaris comes with it's own compiler, that is not gcc.

Someone more familiar with gcc will have to give you instructions about
getting it to work

Jay