Re: Problem on AIX



I'd bet on a missing or broken Macro definition, probably from the included Informix headers. According to the messages from Makefile.PL, DBD::Informix needs some care to compile. You should re-read the README file included with the distribution, also available on CPAN: http://search.cpan.org/src/JOHNL/DBD-Informix-2005.02/README, especially the BUILD AND TEST ENVIRONMENT part.

Alexander

On 13.07.2006 11:24, gonzales@xxxxxxxxxxxxxx wrote:

I'd look in the esqltype.h file to see if there is a missing "{" as it's stating in the error message. You may need to edit that.


On Thu, 13 Jul 2006, Jerome Pelletier wrote:

Bonjour,



I have a problem :

I want install a version of the DBD::Informix in a AIX 4.3.3 with Informix 5 and ESQL/C 5.20 installed. But I obtain



# pwd

/produits/octopus/installation/DBD-Informix-2005.02

##

# perl Makefile.PL

*** ExtUtils::AutoInstall version 0.56

*** Checking for dependencies...

[Core Features]

- DBI ...loaded. (1.50 >= 1.38)

[High Resolution Timing]

- Time::HiRes ...loaded. (1.2)

[POD Format Testing]

- Test::Pod ...missing.

==> Auto-install the 1 optional module(s) from CPAN? [y] n

*** ExtUtils::AutoInstall configuration finished.

Subroutine main::WriteMakefile redefined at /usr/local/lib/perl5/site_perl/5.8.0/ExtUtils/AutoInstall.pm line 457, <STDIN> line 1.



Configuring IBM Informix Database Driver for Perl DBI Version 2005.02 (2005-07-29) (aka DBD::Informix)

You are using DBI version 1.50 and Perl version 5.008

Remember to actually read the README file!



Perl: perl v5.008 aix dl_aix.xs

System: aix aixpdslib 3 4 000321954c00

*** Ideally, you should upgrade to Perl version 5.008007.



Using INFORMIXDIR=/produits/octopus/informix_dev and ESQL/C compiler esql

Using IBM INFORMIX-ESQL Version 5.20.UC1 from /produits/octopus/informix_dev



You need to use a customized ESQL/C compiler script

which recognizes the INFORMIXC environment variable.

I will create a local version and ensure that we use it.





You may run into problems creating a shared object version of

DBD::Informix. If so, try creating a statically linked version

instead. Read the Notes/static.build file.



Assert macro will be disabled!



Use of uninitialized value in concatenation (.) or string at Makefile.PL line 1128.

Use of uninitialized value in concatenation (.) or string at Makefile.PL line 1156.

lib/DBD/Informix/Defaults.pm written OK

esqlvrsn.h written OK

esqlinfo.h written OK



Testing whether your Informix test environment will work...

"esqltype.h", line 96.9: 1506-166 (S) Definition of function int1 requires parentheses.

"esqltype.h", line 96.17: 1506-276 (S) Syntax error: possible missing '{'?

"/usr/include/stdio.h", line 153.3: 1506-273 (E) Missing type in declaration of FILE.

"/usr/include/stdio.h", line 158.8: 1506-166 (S) Definition of function FILE requires parentheses.

"/usr/include/stdio.h", line 158.17: 1506-276 (S) Syntax error: possible missing '{'?

"/usr/include/sys/types.h", line 236.3: 1506-273 (E) Missing type in declaration of sigset_t.

"/usr/include/sys/vm_types.h", line 45.9: 1506-166 (S) Definition of function ulong_t requires parentheses.

"/usr/include/sys/vm_types.h", line 45.25: 1506-276 (S) Syntax error: possible missing '{'?

"/usr/include/sys/vm_types.h", line 94.9: 1506-045 (S) Undeclared identifier vmhandle_t.

"/usr/include/sys/vm_types.h", line 95.9: 1506-045 (S) Undeclared identifier caddr_t.

"/usr/include/sys/vm_types.h", line 100.3: 1506-273 (E) Missing type in declaration of vmaddr_t.

"/usr/include/sys/vm_types.h", line 108.9: 1506-046 (S) Syntax error.

"/usr/include/sys/vm_types.h", line 114.1: 1506-278 (S) The structure definition must specify a member list.

"/usr/include/sys/m_types.h", line 55.9: 1506-046 (S) Syntax error.

"/usr/include/sys/m_types.h", line 72.9: 1506-166 (S) Definition of function int32long64_t requires parentheses.

"/usr/include/sys/types.h", line 460.30: 1506-273 (E) Missing type in declaration of physadr_t.

"/usr/include/sys/types.h", line 461.9: 1506-166 (S) Definition of function physadr_t requires parentheses.

"/usr/include/sys/types.h", line 461.25: 1506-276 (S) Syntax error: possible missing '{'?

"/usr/include/sys/types.h", line 496.9: 1506-046 (S) Syntax error.

"/usr/include/sys/types.h", line 499.41: 1506-045 (S) Undeclared identifier ino32_t.

"/usr/include/sys/types.h", line 499.64: 1506-045 (S) Undeclared identifier uint_t.

"/usr/include/sys/types.h", line 517.9: 1506-046 (S) Syntax error.

"/usr/include/sys/types.h", line 541.8: 1506-046 (S) Syntax error.

"/usr/include/sys/types.h", line 545.1: 1506-278 (S) The structure definition must specify a member list.

"/usr/include/stdio.h", line 374.29: 1506-275 (S) Unexpected text '*' encountered.

"/usr/include/stdio.h", line 374.17: 1506-282 (S) The type of the parameters must be specified in a prototype.

"/usr/include/stdio.h", line 375.8: 1506-166 (S) Definition of function FILE requires parentheses.

"/usr/include/stdio.h", line 375.17: 1506-276 (S) Syntax error: possible missing '{'?

"/usr/include/stdlib.h", line 79.3: 1506-273 (E) Missing type in declaration of div_t.

"/usr/include/stdlib.h", line 91.8: 1506-166 (S) Definition of function size_t requires parentheses.

"/usr/include/stdlib.h", line 91.15: 1506-276 (S) Syntax error: possible missing '{'?

"/usr/include/sys/time.h", line 91.9: 1506-045 (S) Undeclared identifier time_t.

"/usr/include/sys/time.h", line 93.9: 1506-045 (S) Undeclared identifier suseconds_t.

"/usr/include/sys/time.h", line 103.5: 1506-046 (S) Syntax error.

"/usr/include/sys/time.h", line 105.1: 1506-278 (S) The structure definition must specify a member list.

"/usr/include/sys/time.h", line 115.1: 1506-278 (S) The structure definition must specify a member list.

"/usr/include/sys/time.h", line 123.25: 1506-007 (S) "struct timeval" is undefined.

"/usr/include/sys/time.h", line 124.25: 1506-007 (S) "struct timeval" is undefined.

"/usr/include/sys/time.h", line 273.9: 1506-046 (S) Syntax error.

"/usr/include/sys/time.h", line 275.1: 1506-278 (S) The structure definition must specify a member list.

Failed to compile esqltest.ec to esqltest.o

#







Cordialement - Kind Regards





















Jérôme PELLETIER

Ingénieur projet





Logon S.I. France

16, Avenue des Châteaupieds

92565 Rueil-Malmaison Cedex

Tél : +33 (0)1 47 51 97 54

GSM : +33 (0)6 09 57 52 32

Fax : +33 (0)1 47 51 94 12

Email :jerome.pelletier@xxxxxxxxxx

http://www.logonsi.com






Disclamer



Ce message ainsi que les éventuelles pièces jointes constituent une correspondance privée et confidentielle à l'attention exclusive du destinataire désigne ci-dessus. Si vous n'êtes pas le destinataire du présent message ou une personne susceptible de pouvoir le lui délivrer, il vous est signifié que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez reçu ce message par erreur, nous vous remercions d'en informer l'expéditeur par téléphone ou de lui retourner le présent message, puis d'effacer immédiatement ce message de votre système



***



This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system.







--
Alexander Foken
mailto:alexander@xxxxxxxx http://www.foken.de/alexander/

.



Relevant Pages

  • Cant INSERT blob into specific blob space using JDBC
    ... customer using Informix 9.x and when we installed our application, ... no default blob spaceconfigured for the Informix server. ... customer does not/will not configure a default blob space in their ... so we modified our CREATE TABLE scripts to specify the newly ...
    (comp.databases.informix)
  • Date format separator
    ... Can any body tell me if there is an env var to specify ... for informix se 5, I've RTFM but can't find anything. ... Rod ...
    (comp.databases.informix)