Lotus Notes 8.5.3 En on Sabayon Linux 7 amd64

I finally did it after testing out different methods (including testing an ebuild).

Here are some rough details. Tell me if you have a better method!

Prereqs:
Sabayon 7 - Linux sabayon 3.0.0-sabayon #1 SMP Wed Aug 31 05:36:15 UTC 2011 x86_64
Lotus Notes 8.5.3 English (IBM Lotus Notes Client V8.5.3 for Linux (RPM Install) English (CI1L5EN))
1) Installing compatibility libraries
equo install emul-linux-x86-gtklibs swt app-emulation/emul-linux-x86-motif emul-linux-x86-xlibs
Get the rest of the 32bit libraries:
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnomeui-2.24.5~2.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnomeprintui-2.18.6~2.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnomeprint-2.18.8~0.tbz2
#wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:gvfs-1.10.0~0.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:gnome-vfs-2.24.4-r1~3.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnome-2.32.1~1.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnome-2.32.1~1.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnomecanvas-2.30.3~0.tbz2
 wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/net-dns:avahi-base-0.6.30~0.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libbonobo-2.24.3~3.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/media-libs:libcanberra-0.28-r2~0.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/dev-libs:popt-1.16-r1~1.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libbonoboui-2.24.5~0.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnome-keyring-3.2.0~0.tbz2
I used mc to extract the files in /usr/lib (in tbz2 files) to /usr/lib32 - For all above packages.

wget --no-check-certificate https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/Makefile
wget --no-check-certificate https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/libnotesgtkfix.c
wget --no-check-certificate https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/notes-wrapper

2) Installing Lotus Notes
Sabayon$ tar xvf  lotus_notes853_linux_RI_en.tar
Sabayon$ ls
ibm_lotus_activities-8.5.3.i586.rpm  ibm_lotus_notes-8.5.3.i586.rpm
ibm_lotus_cae-8.5.3.i586.rpm         ibm_lotus_sametime-8.5.3.i586.rpm
ibm_lotus_feedreader-8.5.3.i586.rpm  ibm_lotus_symphony-8.5.3.i586.rpm
equo install app-arch/rpm app-arch/rpm2targz
Sabayon # rpm -i --nodeps --force ibm_lotus_notes-8.5.3.i586.rpm
warning: Generating 12 missing index(es), please wait...
warning: ibm_lotus_notes-8.5.3.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 34f9ae75: NOKEY
warning: %post(ibm_lotus_notes-8.5.3-20110916.0921.i586) scriptlet failed, exit status 90

3) Post install 
Important: Note that the ‘ before s and after g is of type that is straight. Not that it is a backquote before pkg
sudo sed -i 's/gcc -Wall -Wextra `pkg/gcc -Wall -Wextra -m32 `pkg/g' Makefile
make
chmod +x notes-wrapper
sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/
Important: Note that the ‘ before s and after g is of type that is straight.
sudo sed -i 's/..\/notes %F/..\/notes-wrapper %F/g' /usr/share/applications/LotusNotes8.5.desktop

$ cd /opt/ibm/lotus/notes/framework/
anders@sabayon:/opt/ibm/lotus/notes/framework$ LD_LIBRARY_PATH=/usr/lib32 ../notes-wrapper
Or run from menu.
Please tell me if you have a better method.
BTW How do you install x86 files using equo on an amd64 system. This tool should be able to do this, because doing it manually is time consuming.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: