Hello all,

I am trying to get DBD::Informix installed on SCO_SV scosysv 3.2 5.0.6 i386.
perl, v5.6.1 built for i386-sco
INFORMIX-ESQL Version 5.10.UD1
DBI & DBD 1.00.

When I tried `perl Makefile.PL`

I got the following error.

Uh oh!  We're on a machine which does not use the C compiler to
create shared libraries.  Please consider recompiling Perl using
the C compiler to create shared libraries; it makes life much
easier for everyone!

Unfortunately, you are also using a version of ESQL/C which
cannot tell us which libraries it needs.  We'll assume that
esqlld can sort things out for you.  Contact the DBD::Informix
maintenance team if it doesn't.

I kinda ignored and tried 'make'
and I got the following error

        LD_RUN_PATH="" INFORMIXC='/usr/bin/perl esqlld'
ESQLLD='ld -G -L/usr/loc
al/lib' ./esql  -G -L/usr/local/lib Informix.o dbdimp.o dbdattr.o sqltoken.o
sql
type.o ixblob.o decsci.o odbctype.o link.o esqlcver.o esqlc_v5.o  -o
blib/arch/a
uto/DBD/Informix/Informix.so

       ld: ERROR: Illegal option -- g

I also found the following in Makefile.
# -G option is used to tell the C compiler to
# create a shared object.  Unfortunately, the esql script interprets the
# -G option as 'add debugging' (a case-insensitive version of -g) so it
# does not get relayed to the actual loader (cc) program.  Hence, use
# INFORMIXC to define the loader and the LDDLFLAGS via the back door.

How do I define these via backdoor?
I would really appreciate any help on this.

Thanks a lot.
Regards,
G-Man.



Reply via email to