Professor Bruno
2003-06-28 20:44:55 UTC
Greetings,
Perhaps this problem has been answered before, but my search of the web and newsgroups
hasn't yielded any results. Apologies at the outset for not having able to find the
answer on my own.
I'm trying to compile DBI:DBD for Informix. I've successfully compiled, installed, and used
DBI:DBD for MySQL and PostgreSQL. This one, though has got me a bit stumped.
In doing perl Makefile.PL my compilation bombs at this point:
###############
...
lib/DBD/Informix/Defaults.pm written OK
esqlvrsn.h written OK
esqlinfo.h written OK
Testing whether your Informix test environment will work...
ESQLTEST Program Running:
@(#)$Id: esqltest.ec,v 100.3 2002/02/08 22:49:23 jleffler Exp $
$INFORMIXDIR is set to '/usr/local/informix'.
$INFORMIXSERVER is set to 'leeloo'.
$DBI_DBNAME unset - defaulting to 'stores'.
$DBD_INFORMIX_DATABASE unset - defaulting to 'stores'.
$DBD_INFORMIX_DATABASE2 unset - defaulting to 'stores'.
$DBD_INFORMIX_USERNAME is set to 'informix'.
$DBD_INFORMIX_USERNAME2 is set to 'informix'.
$DBD_INFORMIX_PASSWORD is set.
$DBD_INFORMIX_PASSWORD2 is set.
Testing connection to stores
CONNECT TO 'stores' with user info
SQL: -25596: The INFORMIXSERVER value is not listed in the sqlhosts file or the Registry.
Testing concurrent connection to stores
CONNECT TO 'stores' with user info
SQL: -25596: The INFORMIXSERVER value is not listed in the sqlhosts file or the Registry.
*** Your Informix environment is not usable
*** You must fix it before building or testing DBD::Informix
...
###############
Some details:
OS - Redhat Linux 6.2, kernel-2.2.24-6.2.3
Informix Online 5.10.UD1 installed and running
INFORMIX-ESQL Version 9.16.UC1
contents of /usr/local/informix/sqlhosts
# demo_on onipcshm on_hostname on_servername
# demo_se seipcpip se_hostname sqlexec
leelooshm onipcshm leeloo dummy
leeloosoc onsoctcp leeloo leeloo
Some Environments Info:
HOSTNAME=leeloo
HOSTTYPE=i386
INFORMIXDIR=/usr/local/informix
INFORMIXSERVER=leeloo
LD_LIBRARY_PATH=:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql
OSTYPE=Linux
PATH=/usr/local/informix/bin:/usr/sbin:/sbin:.:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/informix
SHELL=/bin/bash
SHLVL=1
SQLEXEC=/usr/local/informix/lib/sqlturbo
TERM=vt100
DBD_INFORMIX_PASSWORD2, DBD_INFORMIX_PASSWORD omitted from the environments listing here but set.
Any help or guidance would be appreciated.
Max
Perhaps this problem has been answered before, but my search of the web and newsgroups
hasn't yielded any results. Apologies at the outset for not having able to find the
answer on my own.
I'm trying to compile DBI:DBD for Informix. I've successfully compiled, installed, and used
DBI:DBD for MySQL and PostgreSQL. This one, though has got me a bit stumped.
In doing perl Makefile.PL my compilation bombs at this point:
###############
...
lib/DBD/Informix/Defaults.pm written OK
esqlvrsn.h written OK
esqlinfo.h written OK
Testing whether your Informix test environment will work...
ESQLTEST Program Running:
@(#)$Id: esqltest.ec,v 100.3 2002/02/08 22:49:23 jleffler Exp $
$INFORMIXDIR is set to '/usr/local/informix'.
$INFORMIXSERVER is set to 'leeloo'.
$DBI_DBNAME unset - defaulting to 'stores'.
$DBD_INFORMIX_DATABASE unset - defaulting to 'stores'.
$DBD_INFORMIX_DATABASE2 unset - defaulting to 'stores'.
$DBD_INFORMIX_USERNAME is set to 'informix'.
$DBD_INFORMIX_USERNAME2 is set to 'informix'.
$DBD_INFORMIX_PASSWORD is set.
$DBD_INFORMIX_PASSWORD2 is set.
Testing connection to stores
CONNECT TO 'stores' with user info
SQL: -25596: The INFORMIXSERVER value is not listed in the sqlhosts file or the Registry.
Testing concurrent connection to stores
CONNECT TO 'stores' with user info
SQL: -25596: The INFORMIXSERVER value is not listed in the sqlhosts file or the Registry.
*** Your Informix environment is not usable
*** You must fix it before building or testing DBD::Informix
...
###############
Some details:
OS - Redhat Linux 6.2, kernel-2.2.24-6.2.3
Informix Online 5.10.UD1 installed and running
INFORMIX-ESQL Version 9.16.UC1
contents of /usr/local/informix/sqlhosts
# demo_on onipcshm on_hostname on_servername
# demo_se seipcpip se_hostname sqlexec
leelooshm onipcshm leeloo dummy
leeloosoc onsoctcp leeloo leeloo
Some Environments Info:
HOSTNAME=leeloo
HOSTTYPE=i386
INFORMIXDIR=/usr/local/informix
INFORMIXSERVER=leeloo
LD_LIBRARY_PATH=:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql:/usr/local/informix/lib:/usr/local/informix/lib/esql
OSTYPE=Linux
PATH=/usr/local/informix/bin:/usr/sbin:/sbin:.:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/informix
SHELL=/bin/bash
SHLVL=1
SQLEXEC=/usr/local/informix/lib/sqlturbo
TERM=vt100
DBD_INFORMIX_PASSWORD2, DBD_INFORMIX_PASSWORD omitted from the environments listing here but set.
Any help or guidance would be appreciated.
Max