Re: DBI 1.50 - make problems (cc1: Invalid option)
- From: banjo@xxxxxxxxxxxxxxxxxxxxx (David Dooling)
- Date: Thu, 29 Dec 2005 20:50:49 -0600
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
.
- References:
- RE: DBI 1.50 - make problems (cc1: Invalid option)
- From: Rui Sampaio
- RE: DBI 1.50 - make problems (cc1: Invalid option)
- Prev by Date: Re: trying to subclass DBI
- Next by Date: Re: trying to subclass DBI
- Previous by thread: RE: DBI 1.50 - make problems (cc1: Invalid option)
- Next by thread: DBI Help
- Index(es):
Relevant Pages
|