Skip to content

Installing Ingres 2006 r2 on Ubuntu 6.10

I have recently been looking at a problem with Ingres and PHP on Ubuntu. In order to look at the bug I had to get Ingres installed. Normally a simple proposition with RPMs or the older install/ingbuild installation and set-up process. However with Ubuntu 6.10 it was not to be.

The following is based on the Non-RPM Build of Ingres 2006 Release 2 beta, downloadable from http://ingres.com/products/Prod_Comm_Download_Form.html.

For some reason, I have yet to work out, Ubuntu have changed /bin/sh to point to /bin/dash, previously it had been linked to /bin/bash. Since dash is supposed to be POSIX compliant there should be no problem however it does not accept the -p argument pass by ingbuild, resulting in an error:

┌───────────────────────────────────────────┐
│ pax failed with exit code                 │
│                                           │
│ /bin/sh: Illegal option -p                │
│                                           │
└───────────────────────────────────────────┘

Until the Ingres installer is fixed to allow for dash the only solution is to re-link /bin/sh to point to /bin/bash:

sudo mv /bin/sh /bin/sh.orig
sudo ln -s /bin/bash /bin/sh

Should you wish to revert /bin/sh to /bin/dash after the install has completed:

sudo mv /bin/sh.orig /bin/sh

If you are installing the DBMS server the libc6-dev package is needed. Without this the setup scripts will not be able to link iimerge leaving you without a database server. Install using the following command:

sudo apt-get install libc6-dev

Technorati Tags: , , ,

A selection of un-related posts

close Reblog this comment
blog comments powered by Disqus