Re: Summary: IBM DB2 installation on Woody

2003-08-23 Thread Bob Proulx
Holger Marzen wrote:
 Some notes for the installation of IBM DB2 v7.1 on Debian Woody
 Holger Marzen, 2003-08-21

Thanks for sharing your notes.  I think that cross distribution
compatibility is one of the important areas for Debian to concentrate
on.

I have some of the same issues you have with libraries.  But I solved
it somewhat differently.

 - make the usual symlinks for incompatible RedHat-software:
   cd /usr/lib
   ln -s /lib/libncurses.so.5 libncurses.so.4

Instead of doing this I used alien to convert the Red Hat versions of
that library to deb format and then installed the deb.  For this
library alien does a perfect job of it.

And the benefit is that you now have a deb you can install on future
systems that need it.  I keep a local repository with all of the fluff
that needs to be installed on my machines without needing to gather
them from all over.  I create a meta package which I call rh62-compat
which depends upon these libraries.

   ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2

This one does have a debian equivalent.  This is currently only in
'woody' and has been removed from 'testing' and 'unstable'.

  apt-get install libstdc++2.9-glibc2.1

How does one find these packages?  The Debian package can search the
repositories.  Put the name of the file in that you want to look for
the package that contains it.  So for the above you will find it in
stable but not in testing or unstable.  I now have a cached local
copy.

  http://www.debian.org/distrib/packages

If a library needed for Red Hat compatibility ever truly went away
from Debian then I would use alien to convert the rpm over to deb and
install the deb for the reasons stated above.

 To run the control center (db2cc) you have to install java (I used the
 recent sdk from Sun), make the appropriate symlink /usr/bin/java
 (on my machine /usr/bin/java - /opt/j2sdk_nb/j2sdk1.4.2/bin/java).

Note that Blackdown Java is often installed by many Debian users and
it installs an 'alternative' as /usr/bin/java.  Not having tested it
but I would guess that Blackdown's version of Java would handle the
IBM scripts.  In any case, it is useful to know that there may be an
conflict on the /usr/bin/java if one tried to install both.

Bob


pgp0.pgp
Description: PGP signature


Re: Summary: IBM DB2 installation on Woody

2003-08-21 Thread Colin Watson
On Thu, Aug 21, 2003 at 11:31:49AM +0200, Holger Marzen wrote:
 install rpm
 - apt-get install rpm
 - mkdir /var/lib/rpm
 - rpm --initdb

Oof! Isn't it possible to use alien rather than trying to hack rpm to
install RPM packages on Debian (which is usually dangerous)?

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Summary: IBM DB2 installation on Woody

2003-08-21 Thread Holger Marzen
On Thu, 21 Aug 2003, Colin Watson wrote:

 On Thu, Aug 21, 2003 at 11:31:49AM +0200, Holger Marzen wrote:
  install rpm
  - apt-get install rpm
  - mkdir /var/lib/rpm
  - rpm --initdb

 Oof! Isn't it possible to use alien rather than trying to hack rpm to
 install RPM packages on Debian (which is usually dangerous)?

DB2 is installed using an IBM-supplied installer, called db2setup. This
installer runs rpm, so it's much simpler to use db2setup than figuring
out which rpm package is what component.

-- 
PGP/GPG Key-ID:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0xB5A1AFE1


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]