Michael Brown June 11 2011 10:50:27 PMHaving successfully installed Notes on my 32-bit version of Ubuntu 11.04 (a.k.a "Natty Narhwal"), I treated myself to a new PC! With 8 Gig of RAM on board, it seemed a waste to still use the 32-bit version of Ubuntu, which can see less than half of that RAM.
It takes some serious hacking to get Notes 8.5.2 working on it, but it can be done, and here's the proof:
I've pieced this guide together from several difference sources, but the main one was this post from Useable Software's Blog. All credit to him (her?) and the people that responded on that post.
Warning: this guide requires installation of various files from unknown sources - unknown by me, anyway - which may stuff up your system or worse. It didn't do that for me, but don't say you weren't warned if you come to grief.
Removing Dependencies from the .deb fileIf you install the ibm-lotus-notes-8.5.2.i586.deb on 64-bit Ubuntu by one of the normal methods - e.g. sudo dkpg -i - the installer will tell you "package architecture (i386) does not match system (amd64)" and will refuse to install. Although you can override this restriction with the dpkg command's --force-architecture switch, that won't work for Notes, I'm afraid. The installer will run through, but at the end it will complain about a number of missing dependencies and Notes will not have installed correctly. Our first job then is to remove these dependancies from the installer .deb file.
- Right click on your ibm-lotus-notes-8.5.2.i586.deb installer file and pick Open With->Archive Manager from the pop-up menu.
- In Archive Manager, extract the three folders to another folder, somewhere on your hard drive. Call this new folder "notesdebsource" or something like that. Note: the drive to which you extract the folders must be a Linux formatted partition - e.g. EXT3 or EXT4 - and not an NTFS or FAT32 formatted partition. Otherwise you will run into file permission errors when you try to build your new .deb in step 6.
- Navigate to the DEBIAN folder within your new debsource folder, and edit the file called "control" using Ubuntu's text editor, Gedit.
- Within Gedit, you need to remove the list of dependencies. Look for the line that starts "Dependencies:". You need to delete everything following that, down to (but not including) the line that starts "Recommends:". Save the modified control file when you're done.
- Open a terminal console and cd to the folder in which you created the notesdebsource folder. (Note don't cd into the notesdebsource folder itself. If notesdebsource is on your Desktop then you need to cd to your Desktop folder.) To kick off the build of the new .deb file, enter the following into the console:
dpkg-deb --build notesdebsource ibm-lotus-notes-8.5.2.i586_nodependencies.debNote: that's two dashes in front of the word "build".
- Let dpkg --build do its thing. It may take a couple of minutes, depending on how fast your PC is. If you get any file permission errors at this point, enter the following into the console:
sudo chmod 755 notesdebsource -RNow run the dpkg-deb --build again.
- When dpgk-deb --build has finished, you should have a new deb installer file called ibm-lotus-notes-8.5.2.i586_nodependencies.deb. Install Notes using this file, using the --force-architecture switch, i.e.:
sudo dpkg -i ibm-lotus-notes-8.5.2.i586_nodependencies.deb --force-architectureIf that doesn't work, try the --force-all switch instead of --force-architecture.
Installing compatibility librariesNotes should now be installed, but probably won't run if you try it. You need to install some extra computability libraries using a program called getlibs.
- To download and install getlibs, enter the following into a console:
sudo dpkg -i getlibs-all.deb
- Now getlibs is installed, tell it to install the extra compatibility libraries by pasting the following into a console:
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-murrine gtk2-engines libgnome-desktop-2-17
Post-installation configTry running Notes. If it still doesn't work, you need to compile and install a new libnotesgtkfix.so file, by using the steps below (which are taken directly from Useable Software's Blog post.)
- You may need to install some extra Ubuntu libraries in order to do the compile. Type the following into a console:
sudo apt-get install g++-multilib libgtk2.0-dev
- Download a .tar file from https://github.com/sgh/lotus-notes_gtk2.23.3
- Extract the contents of the tar file to a folder
- Use Gedit to edit the file called "Makefile" that you just extracted. You need to put the text “-m32″ into the gcc command line so it looks like this “gcc -Wall -Wextra -m32 `pkg-config …….” Save the MakeFile when you're done.
- In your console window, you need to cd to folder where your extracted files, including the modified MakeFile, are located. Just type "make" in the console to kick off the compile
- Now you need to copy your new file to the correct program folder, like so:
sudo cp libnotesgtkfix.so /opt/ibm/lotus/notes/
- Finally, you may also need to make a symlink for another needed library:
sudo ln -s /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 /usr/lib32/
You're done at last! Notes should now run.
If you have further problems with menus and/or the Notes Workspace not appearing, then need to copy in the four libraries that were necessary to run Notes on Karmic Koala (Ubuntu 9.10).
As ever though, the fonts won't look great, but you can add some extra ones get it to display better. Type this code into a terminal to take care of that:
sudo apt-get install ttf-xfree86-nonfree
- Comments