WSO2 WSF/Ruby installation on Ubuntu 9.04
April 30th, 2009
Recently I upgraded my system from Ubuntu 8.04 to 9.04. My typical upgrade just retains the home partition and reloads the rest from scratch. When it came time to install WSO2 WSF/C and WSF/Ruby, I hit some snags.
It seems that 9.04 may not install some of the required libraries by default as I don’t remember having any issue installing it on 8.04. This was installed on fresh Jaunty install with on Ruby Enterprise Edition installed. libmysqlclient15-dev and libsqlite3-dev were installed as part of the REE install. WSO2 WSF/C was installed by trial and error. I’d run the install script and find the missing library, install it and try again until it compiled without any error. You may not need all the libraries below, but they worked for me.
Anyway, in case you’re getting errors, try these aggregated tips:
First off, you probably already have it but you’ll need to install build-essential
sudo apt-get install build-essential
I also needed this since the libtoolize command was failing.
sudo apt-get install libtool
Next, these were the libraries that I needed to get everything installed.
sudo apt-get install libxml sudo apt-get install libiconv-dev sudo apt-get install libxml2-dev sudo apt-get install openssl sudo apt-get install libsqlite sudo apt-get install libssl-dev sudo apt-get install libaxis2c-dev sudo apt-get install libxslt-dev sudo apt-get install librampart-dev
Now, follow the install instructions packaged with the WSF/C and WSF/Ruby tarballs and everything should go smoothly.
if you’re getting ax_util errors when compiling WSF/C, try this:
export CFLAGS="-D_GNU_SOURCE"
at this point it is working for me and will hopefully be working for you.
Sorry, comments are closed for this article.