Sunday, May 13, 2007

Sonic Workbench 7.0.1 on Fedora Core 6

Continuing with my installation guides ...

1. Libraries
Before install make sure you have installed folowing libraries:
compat-libstdc++-33-xxxxxx
libstdc++-devel-4.xxxx
libstdc++-4.xxxxx
compat-libstdc++-296-xxxxxx


If you are missing something, yum it in.

Then do:
su -
cd /usr/lib
ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2


2. Java
Make sure you have Java 1.4.2 installed. I was not able to run Sonic Workbench under Java 1.5., due to Process Editor crash.
Currently using Java 1.4.2_14. Don't worry Eclipse has it's own compiler so can still produce 1.5 compatible classes (when needed).

3. Run it
Run $SonicInstall/Workbench7.0/startworkbench.sh.
If you got an XPCOM error, add following two lines to startworkbench.sh (or choose your own way of setting MOZILLA_FIVE_HOME variable).
# to make SWT browser support work
export MOZILLA_FIVE_HOME=/usr/lib/mozilla



This was done on my home FC6 (Linux frodo 2.6.20-1.2948.fc6 #1 SMP Fri Apr 27 19:48:40 EDT 2007 i686 i686 i386 GNU/Linux).
It also worked on my laptop with Fedora 8 (Linux javadev-nb 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:59 EST 2007 i686 athlon i386 GNU/Linux).

Friday, May 11, 2007

Lotus Notes V7 on Fedora Core 6

Well, after all the setup, my new FC6 deserves Lotus Notes client (I don't want to go back to FC3 anymore).
So, here are the steps to install IBM Lotus Notes For Linux on Fedora Core 6:
1. Unzip C93D1NA.zip to ~/notes_install
2. Unzip personality.zip to plugin directory
3. chmod +x ~/notes_install/plugin/setup_wct_platform.bin
4. chmod +x ~/notes_install/setuplinux.bin
5. cp ~/notes_install/setuplinux.bin ~/notes_install/plugin/updateSite/features/
com.ibm.workplace.notesinstall.linux.feature_7.0.1.0000-0900/bin/linux/
6. Run ~/notes_install/plugin/setup_wct_platform.bin -console
7. Sometimes notes plugin is not installed (don't ask me why), so run the installation manually by:
cd to that long directory
./setuplinux.bin -console
You can recognize that notes plugin is not installed when there is no ~/notes directory.
8. Go to ~/notes (cd ~/notes).
9. ln -s /usr/lib/libXmu.so.6 libXm.so.3
10. Run notesstart and finish the setup (old lotus notes way).

Here is the content of my notesstart located in ~/bin:
#!/bin/sh

NOTESBIN=/home/$USER/notes
NOTESDATA=/home/$USER/notes/data
NOTESDIR=/home/$USER/notes/data
LD_LIBRARY_PATH=$NOTESBIN:$NOTESBIN/jvm/bin/classic:$NOTESBIN/jvm/bin
:$LD_LIBRARY_PATH
PATH=$NOTESBIN/jvm/bin:$NOTESBIN:$PATH
CLASSPATH=./:$NOTESBIN/:$CLASSPATH
export NOTESBIN NOTESDATA NOTESDIR LD_LIBRARY_PATH PATH CLASSPATH

/opt/IBM/Workplace\ Managed\ Client/rcp/richclient -personality com.ibm.workplace.noteswc.standalone.linux.personality


To have the information complete, I was using Lotus Notes on FC3 for a long time and installation went without any problems as described by IBM.

Enjoy,
P.

P.S. Many thanks to guys discussing in this thread, where I figured out what how to fix my Notes.