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



On 12/29/05, Rui Sampaio (Whatevernet) <rui.sampaio.whatevernet@xxxxxx> wrote:
> 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>

You should always build modules with XS code using the same compiler
(type and version) that was used to build Perl. If you don't (and the
above information indicates you didn't) then you are likely to have
problems. It will likely not work at all if you use a different
compiler and you will run into problems like the one you had if you
use different versions of the same compiler (especially different
major version numbers, i.e., 2 to 3).

dd
--
David Dooling
.



Relevant Pages

  • Re: Fwd: DBD::Informix A configuration failure
    ... Perl doesn't think your compiler handles prototypes. ... Testing whether your Informix test environment will work... ... >> problems with the test program, you will need to revisit this ...
    (perl.dbi.users)
  • Re: ANNOUNCE: DBD:Oracle 1.18
    ... Well a warning in one compiler is better than and error in an other so I ... This might be a problem more with the older oracle OCI in your client. ... perl -Mblib t/26exe_array.t ...
    (perl.dbi.users)
  • Re: Compiler and an interpreter
    ... >>> error.Can anybody please tell me how the compiler and interpreter will ... Some small unit of the language is an acceptable input. ... > Perl does not to my knowledge in any way require the reading of the ...
    (comp.programming)
  • Re: Redefinition of target errors
    ... compiler instead of the Borland compiler. ... I can't remember if you said your Perl was activestate. ... to find a link or a way to get dmake for Borland. ... The last time I tried to compile a perl module written in C for Windows it was a real PITA. ...
    (perl.dbi.users)
  • Re: Fwd: DBD::Informix A configuration failure
    ... Your previous subject line was 'problem install DBD Informix'. ... > perl Makefile.PL ... > Configuring IBM Informix Database Driver for Perl Version 2003.04 ... Perl doesn't think your compiler handles prototypes. ...
    (perl.dbi.users)