Archive for October, 2011

Lotus Notes 8.5.3 En on Sabayon Linux 7 amd64

2011/10/22
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.

Install Lotus Notes 8.5.3 En on Ubuntu 11.04 64bit

2011/10/10

So here finally it comes – more detailed installation instructions. This time for the 64bit version of Natty Narwhal.

1) Create a folder for the files. In this case

mkdir ~/LN853install

cd ~/LN853install

2) Copy all Lotus files you want to install

ls -la ~/LN853install

-rw-r–r–  1 anders anders   5015238 2011-10-10 17:44 ibm-lotus-activities-8.5.3.i586.deb
-rw-r–r–  1 anders anders   3933118 2011-10-10 17:44 ibm-lotus-cae-8.5.3.i586.deb
-rw-r–r–  1 anders anders    108796 2011-10-10 17:44 ibm-lotus-feedreader-8.5.3.i586.deb
-rw-r–r–  1 anders anders 342931012 2011-10-10 17:47 ibm-lotus-notes-8.5.3.i586.deb
-rw-r–r–  1 anders anders  53008774 2011-10-10 17:45 ibm-lotus-sametime-8.5.3.i586.deb
-rw-r–r–  1 anders anders 146089190 2011-10-10 17:47 ibm-lotus-symphony-8.5.3.i586.deb

3) Modify packages to get them installed

a) Lotus Notes

In Nautilus, right click on ibm-lotus-notes-8.5.3.i586.deb and select extract here. When extracting finished then Rename file ibm-lotus-notes-8.5.3.i586.deb to somehting else.

Enter folder LN853install/ibm-lotus-notes-8.5.3.i586/DEBIAN and open file CONTROL in text editor.

Make sure following lines are empty

Pre-Depends:
Depends:
Recommends:
Conflicts:
So nothing after semicolon!  Now save the file.

b) Lotus Sametime

In Nautilus, right click on  ibm-lotus-sametime-8.5.3.i586.deb and select extract here. When extracting finished then Rename file  ibm-lotus-sametime-8.5.3.i586.deb to somehting else.

Enter folder LN853install/ibm-lotus-sametime-8.5.3.i586/DEBIAN and open file CONTROL in text editor.

Make sure following lines are empty

Pre-Depends:
Depends:

So nothing after semicolon!  Now save the file.

c) Convert them to debs again!

sudo dpkg-deb -b ibm-lotus-notes-8.5.3.i586

dpkg-deb: building package `ibm-lotus-notes:i386′ in `ibm-lotus-notes-8.5.3.i586.deb’.

and

sudo dpkg-deb -b ibm-lotus-sametime-8.5.3.i586.deb

dpkg-deb: building package `ibm-lotus-sametime:i386′ in `ibm-lotus-sametime-8.5.3.i586.deb’.

In order to install i386 packages in a good manner we need the tool getlibs. Here is how it is installed:

4) Install extra libraries

sudo apt-get -y install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree t1-xfree86-nonfree

5) Install getlibs

wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb

sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb
Selecting previously deselected package getlibs.
(Reading database … 167584 files and directories currently installed.)
Unpacking getlibs (from getlibs_2.06-0ubuntu1~ppa2_all.deb) …
Setting up getlibs (2.06-0ubuntu1~ppa2) …

6) Install compatibility libraries (some may not be needed, plz help me update this)

sudo getlibs -p libgnomeprintui2.2-0 libgnomeprint2.2-0 libgnomevfs2-0 libgnomeui-0 libxkbfile1 libstartup-notification0 libsepol1 libselinux1 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2  libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libesd0 gtk2-engines libgnome-desktop-2-17 libmotif4 libmotif3 libgnome-desktop-3-0 libavahi-glib1 gtk2-engines-oxygen gtk2-engines-aurora gtk2-engines-qtcurve  gtk2-engines-murrine gtk2-engines-equinox  alsa-base alsa-utils iproute

7) Symbolic link

sudo ln -s /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 /usr/lib32/

8) Install Lotus Notes

Optional, remove temporary directories: rm -rf ibm-lotus-notes-8.5.3.i586 ibm-lotus-sametime-8.5.3.i586

Important: It is two dashes before force-all that is – – (without the space between them).

a) sudo dpkg -i –force-all ibm-lotus-notes-8.5.3.i586.deb

dpkg: warning: overriding problem because –force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package ibm-lotus-notes:i386.
(Reading database … 167588 files and directories currently installed.)
Unpacking ibm-lotus-notes:i386 (from ibm-lotus-notes-8.5.3.i586.deb) …
Setting up ibm-lotus-notes:i386 (8.5.3-20110916.0921) …
Processing triggers for bamfdaemon …
Rebuilding /usr/share/applications/bamf.index…
Processing triggers for desktop-file-utils …
Processing triggers for python-gmenu …
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache…
Processing triggers for python-support …

Optional Sametime b) sudo dpkg -i –force-all ibm-lotus-sametime-8.5.3.i586.deb
dpkg: warning: overriding problem because –force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package ibm-lotus-sametime:i386.
(Reading database … 187774 files and directories currently installed.)
Unpacking ibm-lotus-sametime:i386 (from ibm-lotus-sametime-8.5.3.i586.deb) …
Setting up ibm-lotus-sametime:i386 (8.5.3-20110916.0921) .

Optional CAE, Activities, Symphony and maybe more for the localized packages.

9) We are not really there yet

sudo apt-get install g++-multilib libgtk2.0-dev

10) Install fix for gdk

Important: Double dashes before no-check-certficate , that is – – (without the space)

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

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

11) Go nag on IBM to make software that is more linux compatible!!

Update 2011-10-14:

For Oneric Ocelot final release. Do this:

sudo getlibs -p libgnome-desktop-3-2 liborbit2 libbonobo2-0 libgconf2-4

I still cannot get it to work at the moment though…

/opt/ibm/lotus/notes/notes: error while loading shared libraries: libgconf-2.so.4: wrong ELF class: ELFCLASS64
even though:

: ls -laFtr /usr/lib32/ | grep conf-2
-rw-r–r–  1 root root   182536 2011-10-14 14:29 libgconf-2.so.4.1.5
lrwxrwxrwx  1 root root       19 2011-10-14 14:29 libgconf-2.so.4 -> libgconf-2.so.4.1.5

Need to add this to the notes-wrapper file:

LD_LIBRARY_PATH=/usr/lib32

I hope I have time to give more exact details soon

Update 2011-11-07:

For Oneric install these before Lotus Notes

getlibs -p libx11-6 libxt6 libxext6  libc6  libgcc1  libgtk2.0-0  libxkbfile1 libglib2.0-0  libstdc++6 bash

Quick Review of MSI GE620DX Laptop

2011/10/07

I got this shiny new computer at work. It was the cheepest that could be found with a high resolution 1920×1080 screen. The only other good thing I found out about this computer is that on SO-DIMM placeholder was empty, so the RAM is 6GB at the moment.

Pros:
* High resolution 1920×1080 screen
* One memory slot is free

Cons:
* Mousepad is badly designed with bad surface and hard buttons
* Fan makes noise all the time, so depending on your sensitivity to this it will be problem or not
* Linux compatibility is not the best:

a) Graphics card not detected on some distributions (Ubuntu)

b) SD Card reader not working at all

c) Soft button (!?!) to open Cd tray

d) No bios options to shut gfx card on/off. No bios to control fan.

The different linux distributions Live CD’s really help here. It is easy to find out which ones that work and not. For example. Latest Oneric Ocelot beta (not final release) LiveCD could not get screen working (it crashed). Lucid Lynx did a better job but still no wireless or 1920×1080 sceen resolution. But the LiveCD for Linux Mint Debidan Edition 201109 did get everything to work. Even the soft-keys that shut hardware on and off.

Installing Lotus Notes 8.5.3 on Linux Mint 201109 Debian Edition

2011/10/06

It was a bit of trouble but now it works. The OS is 64bit and Lotus Notes 8.5.3 is sadly 32bit.

0) Modify notes package to not have any dependencies. Described here:
https://usablesoftware.wordpress.com/2010/12/17/install-lotus-notes-8-5-2-fixpack-1-in-ubuntu/

1) Install getlibs
Described here:
https://usablesoftware.wordpress.com/2011/02/01/download-link-for-getlibs/

2) Run these commands in a terminal window

apt-get install ia32-libs ia32-libs-gtk
getlibs -w http://ftp.se.debian.org/debian/pool/main/libg/libgnomeprint/libgnomeprint2.2-0_2.18.8-1_i386.deb
getlibs -w http://ftp.se.debian.org/debian/pool/main/libg/libgnomeprintui/libgnomeprintui2.2-0_2.18.6-1_i386.deb
getlibs -w http://ftp.se.debian.org/debian/pool/main/g/gnome-vfs/libgnomevfs2-0_2.24.4-1_i386.deb
getlibs -w http://ftp.se.debian.org/debian/pool/main/libg/libgnome/libgnome2-0_2.32.1-1_i386.deb
getlibs -w http://ftp.se.debian.org/debian/pool/main/libg/libgnomeui/libgnomeui-0_2.24.5-2_i386.deb
getlibs -w http://ftp.se.debian.org/debian/pool/main/a/avahi/libavahi-glib1_0.6.30-5_i386.deb
sudo ln -s /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 /usr/lib32/
getlibs -w http://ftp.se.debian.org/debian/pool/main/libb/libbonoboui/libbonoboui2-0_2.24.3-1_i386.deb
getlibs -w http://ftp.se.debian.org/debian/pool/main/libg/libgnome-keyring/libgnome-keyring0_3.0.0-2_i386.deb
getlibs -p mint-x-theme mint-artwork-debian
getlibs -w http://ftp.se.debian.org/debian/pool/main/g/gtk2-engines-murringtk2-engines-murrine_0.98.1.1-3_i386.deb
getlibs -w http://ftp.se.debian.org/debian/pool/main/g/gtk2-engines-aurora/gtk2-engines-aurora_1.5.1-2_i386.deb
getlibs -w http://ftp.se.debian.org/debian/pool/main/g/gtk+2.0/gtk2-engines-pixbuf_2.24.4-3_i386.deb

3) Do installation
dpkg -i –force-all ibm-lotus-notes-8.5.3.i586.deb
dpkg -i –force-all ibm-lotus-feedreader-8.5.3.i586.deb
dpkg -i –force-all ibm-lotus-sametime-8.5.3.i586.deb

Note:

Sametime audio/video is probably broken since it needs more 32bit libraries.

 

Update 20111017:

This guide is already outdated since packages have new higher version. To install lookup the latest package in the same version. Also I tried my own instructions on a fresh install of LMDE and this does not work. I am debugging this and hope to find answer soon:

# dpkg -i –force-all ibm-lotus-notes-8.5.3.i586.deb
dpkg: warning: overriding problem because –force enabled:
package architecture (i386) does not match system (amd64)
(Reading database … 199164 files and directories currently installed.)
Preparing to replace ibm-lotus-notes 8.5.3-20110916.0921 (using ibm-lotus-notes-8.5.3.i586.deb) …
Unpacking replacement ibm-lotus-notes …

Setting up ibm-lotus-notes (8.5.3-20110916.0921) …
dpkg: error processing ibm-lotus-notes (–install):
subprocess installed post-installation script returned error exit status 90
Processing triggers for gnome-menus …
Processing triggers for desktop-file-utils …
Errors were encountered while processing:
ibm-lotus-notes

Linux on laptop MSI GE620DX

2011/10/05

I got a new cheap computer at work. This machine MSI GE620DX has one rather uniqe feature, the screen is 15,6 inch and has a resolution of 1920×1080. Which is about the only good thing to say about the computer except the low price point.

So how about linux compatibility? Not good it turned out to be. Of all versions I tested – Ubuntu LTS, Ubuntu Oneric beta and a few more. Only Linux Mint Debian Edition 201109 got both screen resolution AND wireless working. Good job Linux Mint!