RE: DBI 1.50 - make problems (cc1: Invalid option)




Hi 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='3.3.2';
root@sysadmin:/working/software/DBI-1.50>



Thanks,

Rui



-----Original Message-----
From: Tim Bunce [mailto:Tim.Bunce@xxxxxxxxx]
Sent: quinta-feira, 29 de Dezembro de 2005 17:39
To: Rui Sampaio (Whatevernet)
Cc: dbi-users@xxxxxxxx
Subject: Re: DBI 1.50 - make problems (cc1: Invalid option)

On Thu, Dec 29, 2005 at 11:01:27AM -0000, Rui Sampaio (Whatevernet)
wrote:
>
> 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 >= 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.
.



Relevant Pages

  • Re: toaster or do-it-myself?
    ... Install Courier suite, in which the same developers have a MTA, ... blacklists for known spammers, ... speedy setup. ... After trying qmail and a couple other email systems I like Tim installed The postfix dovecot combo from FreeBSD ports. ...
    (freebsd-questions)
  • Re: Multiple versions
    ... This will work fine for me Tim, ... The simple answer is: just install ... the same as changing any other file association on ... anti-virus service working around the clock, around the globe, visit: ...
    (comp.lang.python)
  • Re: sidewinder force feedback pro software
    ... My pleasure Tim, thanks for posting! ... The old software won't install ... |>Here are instructions for both the USB and the Gameport ... |>To install a GamePort controller, Plug it in, click ...
    (microsoft.public.games.discussion)
  • Re: Unable to install to an ASUS A7N8X-VM/400
    ... > Hi Tim, ... > the nforce boards don`t like ACPI to be enabled, ... I spent nearly 5 hours last night trying to install Suse, ... the DVD anymore. ...
    (alt.os.linux.suse)
  • Re: CD-RW drive (E) does not work
    ... When I install a cd into the drive the light flashes and the little green ... Thanks, Tim ... Troubleshoot Issues That Occur When You Write Data to a CD-R or CD-RW Optical Disc in Windows XP ...
    (microsoft.public.windowsxp.general)