RE: DBI 1.50 - make problems (cc1: Invalid option)
am 29.12.2005 19:10:57 von rui.sampaio.whatevernetHi Tim,
I replyed before to the forum about this and I did what you are saying.
I was able to do the make, make test and make install.
Reading your email I assume that it is going to work even if I remove
the lines and use my gcc current version.
Is this ok or you recommended to install a higher version of gcc?
>gcc --version
2.95.3
>perl -V:gccversion
gccversion=3D'3.3.2';
root@sysadmin:/working/software/DBI-1.50>
Thanks,
Rui
-----Original Message-----
From: Tim Bunce [mailto:Tim.Bunce@pobox.com]=20
Sent: quinta-feira, 29 de Dezembro de 2005 17:39
To: Rui Sampaio (Whatevernet)
Cc: dbi-users@perl.org
Subject: Re: DBI 1.50 - make problems (cc1: Invalid option)
On Thu, Dec 29, 2005 at 11:01:27AM -0000, Rui Sampaio (Whatevernet)
wrote:
>=20
> cc1: Invalid option `-Wdisabled-optimization'
> cc1: Invalid option `-Wno-unused-parameter'
After running 'perl Makefile.PL' edit the generated 'Makefile' and
remove those two options.
> ** Does anyone have an idea about what's happening?
The Makefile.PL only adds the options for GCC versions >=3D 3, but it
turns out that those options were only added in later versions.
What do
perl -V:gccversion
and
gcc --version
say?
Tim.
AVISO
Esta mensagem e quaisquer anexos seus podem conter informacao =
confidencial para uso exclusivo do destinatario. Cabe ao destinatario =
assegurar a verificacao de virus e outras medidas que assegurem que esta =
mensagem nao afecta os seus sistemas. Se nao for o destinatario, nao =
devera usar, distribuir ou copiar este e-mail, devendo proceder a sua =
eliminacao e informar o emissor. E estritamente proibido o uso, a =
distribuicao, a copia ou qualquer forma de disseminacao nao autorizada =
deste e-mail e seus anexos. Obrigado.
DISCLAIMER
This e-mail and its attachments may contain confidential information for =
exclusive use of its recipient. It is your responsibility to carry out =
appropriate virus and other checks to ensure that this message and any =
attachments do not affect your systems / data. If you are not the =
intended recipient you must not use, distribute or reproduce this e-mail =
and you must notify the sender and delete the entire email. Any =
unauthorized use, dissemination, distribution or copying of this message =
and its attachments is strictly prohibited. Thank You.