"Mahdi A. Sbeih" wrote:

> Thanks Roman,
>
> Is glib needed also, cuz I installed gcc, and I ran into
> warnings installing Perl and DBI, but I was not
> able to install DBD::Informix, do u think the problem that
> I need glib installed also?

The initial problem was that the C compiler you were using was not aware of ANSI
C - I suspect it must have been the /usr/ucb/cc compiler.  Once you installed
gcc, did you rebuild Perl?  If not, then the warnings would mostly have been
about options understood by the original C compiler and not by gcc.

Building DBD::Informix will probably be even fussier than building DBI.
Personally, I wouldn't try it with a compiler mismatch -- there is far too much
likelihood of it failing horribly.  You will be much better off building your
Perl and DBI from scratch with gcc and then getting on with DBD::Informix.

You might even consider using DBI 1.20.

> -----Original Message-----
> From: Roman Boykow [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 07, 2001 12:29 AM
> To: Mahdi A. Sbeih; [EMAIL PROTECTED]
> Subject: Re: Problems compiling DBI 1.5 on Solaris 8
>
> Try to reinstall/install last gcc and glib from http://www.sunfreeware.com,
> may be it helps
> ----- Original Message -----
> From: "Mahdi A. Sbeih" <[EMAIL PROTECTED]>
> To: "Dbi-Users" <[EMAIL PROTECTED]>
> Sent: Thursday, September 06, 2001 9:14 PM
> Subject: Problems compiling DBI 1.5 on Solaris 8
>
> > Hi All,
> >
> > We have Solaris 8 sparc, that comes with perl5.005.03 by default.
> >
> > We are trying to install DBI 1.15, and I am getting a weird errors!
> >
> > Here are the first few lines after running make, there are still 100s of
> > lines
> > that are almost repeating the same kind of errors. We spent few days
> trying
> > to see
> > what is going on, but we didn't get anything, so looking forward to hear
> > from you.
> > Mahdi.
> > ---------------
> > mkdir blib
> > [...]
> > cp DBI.pm blib/lib/DBI.pm
> > cp dbipport.h blib/arch/auto/DBI/dbipport.h
> > cp lib/DBD/ADO.pm blib/lib/DBD/ADO.pm
> > /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst >
> > Perl.xsi
> > /usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
> > /usr/perl5/5.00503/ExtUtils/xsubpp  -typemap
> > /usr/perl5/5.00503/ExtUtils/typemap Perl.xs >xstmp.c && mv xstmp.c Perl.c
> >
> cc -c   -xO3 -xdepend     -DVERSION=\"1.15\"  -DXS_VERSION=\"1.15\" -KPIC -I
> > /usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS Perl.c
> > "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: invalid token:
> > ##
> > "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: undefined or
> not
> > a type: PL_




--
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED])
Guardian of DBD::Informix 1.00.PC1 -- see http://www.cpan.org/
#include <disclaimer.h>


Reply via email to