0.0.11 • Published 10 years ago

nodejs-db-informix v0.0.11

Weekly downloads
4
License
-
Repository
github
Last release
10 years ago

By any means, this is not completely ready yet.

Pre-req (Setup and configure Informix)

Download and install informix (supported version 11.5). Download and install CSDK. It is assumed that informix is installed at /opt/informix, adjust approriately. (by default IBM installs informix at /opt/IBM/informix)

INFORMIXDIR='/opt/informix'
INFORMIXSERVER='__MyInformixServer__'
ONCONFIG="onconfig.${INFORMIXSERVER}"
INFORMIXSQLHOSTS="${INFORMIXDIR}/etc/sqlhosts.${INFORMIXSERVER}"

INFORMIXLIBDIR="${INFORMIXDIR}/lib"
INFORMIXLIBS=${INFORMIXLIBDIR}

for d in c++ cli client client/csm csm dmi esql ; do
    if [[ -d "${INFORMIXLIBDIR}/${d}" ]]; then
        INFORMIXLIBS=${INFORMIXLIBS}:${INFORMIXLIBDIR}/${d}
    fi
done

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${INFORMIXLIBS}

PATH=${INFORMIXDIR}/bin:${PATH}
IFMX_HISTORY_SIZE=10000

export INFORMIXSERVER INFORMIXDIR ONCONFIG INFORMIXSQLHOSTS LD_LIBRARY_PATH PATH IFMX_HISTORY_SIZE

Make sure Informix is running. Test that its accepting connections.

$ dbaccess sysmaster -

Build

node-waf distclean configure build

Debug

node-waf --debug distclean configure build

Test

node-waf test -or- nodejs tests/tests.js

License

This module is released under the MIT License.

0.0.11

10 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago