Re: Install DBD-Informix-0.24 on HP-UX
Posted in 1996
>From: wangj@aromat.com >Date: 7 Nov 1996 23:01:01 GMT >X-Informix-List-Id: <news.30216> > >Hi, there > >I'm trying to install DBD-Informix(.24) on my HP box, but I kept getting following >error message: > esql -e -I/usr/informix/dev/include -I/usr/local/perl5/lib -I/usr/local/ >perl5/lib/PA-RISC1.1/5.003 -I/usr/local/perl5/lib/site_perl/PA-RISC1.1/DBI -I/us >r/local/perl5/lib/PA-RISC1.1/5.003/CORE dbdimp.ec >fgcl2: file "dbdimp.ec", line 580: type 'allocate' is unknown >fgcl2: file "dbdimp.ec", line 580: Syntax error on keyword or symbol 'demodesc0' >.(ccdeclare.y) >2 error(s) found >*** Error code 1 > >Stop. > >I'm using Informix Online 5.0, esql/c 5.0, HP9.04. >Thanks in advance > >-john Humph. Well, given what I see, it appears to me that you are using the I4GL program fglc2 as a surrogate for the ESQL/C compiler -- otherwise, fgcl2 makes no sense to me. This suggests that if you run 'esql -V', you will see an Informix-4GL 4.1x version number. The reason you are then seeing problems is that the 4.1x software does not understand ALLOCATE DESCRIPTOR etc. If you really have 5.0x ESQL/C on the system (you should be able to run $INFORMIXDIR/lib/esql/esqlc with the -V option if you have), then you need to get rid of the surrogate esql script, or at least make it non-executable. If you don't have it, then you've got major surgery to do, converting the descriptor usage into sqlda structure usage. You might need to subscribe to the DBI Users mailing list, which is called dbi-users@fugue.com. Send a subscribe request to dbi-users-request@fugue.com to join up. I'd probably have answered if the message had been sent there instead of comp.databases.informix too. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>