DevTech101

DevTech101

DBD::Informix Install Procedure

General Information

  • The majority of the procedure must run as user informix.
  • Only the make install runs as root.
  • Make sure that the IP/hostname of the build server is in the /etc/hosts.equiv (with the plus sign after it) of the target database server.
  • Make sure that the user exists either in LDAP or as a local user on the database server.
  • Be sure to install the 32-bit version of the Informix Client SDK into desired Informix homedir. (i.e. /opt/informix)
  • Set the correct env-vars listed below.

Informix Client SDK Download Info

The last time I tried to do the download, these two link were reversed, so that when I tried to get the SPARC version, I got the Intel version instead. Both links posted here in case they fix that!

Informix Downloads (IBM Informix Client SDK V3.50.UC3 for Solaris Intel 10, 32bit)

Informix Downloads (IBM Informix Client SDK V3.50.UC3 for Solaris Sparc 9. 10, 32bit)

Misc Links

CPAN DBD::Informix Docs

Environment Information

export INFORMIXDIR=/opt/informix
export INFORMIXSERVER=misdev
export DBD_INFORMIX_NO_DBCREATE=yes
export DBD_INFORMIX_RELOCATABLE_INFORMIXDIR=yes
export LD_LIBRARY_PATH=$INFORMIXDIR/lib/esql:$INFORMIXDIR/lib:$LD_LIBRARY_PATH
export PATH=$INFORMIXDIR/bin:$PATH

Build Procedure

root# /usr/bin/perl -MCPAN -e 'install Bundle::DBD::Informix' (this step should ultimately fail)
root# su - informix
informix% export INFORMIXDIR=/opt/informix
informix% export INFORMIXSERVER=misdev
informix% export DBD_INFORMIX_NO_DBCREATE=yes
informix% export DBD_INFORMIX_RELOCATABLE_INFORMIXDIR=yes
informix% export LD_LIBRARY_PATH=$INFORMIXDIR/lib/esql:$INFORMIXDIR/lib:$LD_LIBRARY_PATH
informix% export PATH=$INFORMIXDIR/bin:$PATH
informix% cd /.cpan/build/DBD-Informix-*
informix% /usr/bin/perl Makefile.PL
informix% make
informix% make test (this step should ultimately fail one test - I installed anyway)
root# make install
root# cd /opt
root# ln -s informix_prod informix
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: