Stream   Blog   Code   Pictures   Videos   Contact  
March 25, 2007
12:00
I hadn't looked at Solaris in ages, and decided to revisit an OS that I hadn't used in almost 5 years. I went along to OpenSolaris and requested the StarterKit. The problem is that it takes about two to three weeks before it pitches up through the post, and I'm impatient :-)

So I went and downloaded the Developer Edition in the hope that it would have all that was needed to get Bongo up and running. Sun provide the DVD ISO as a fragmented download to ease people's bandwidth - 5 zip files of about 650MB each - so after pulling all 5 down and following their instructions I had a 3.6GB DVD ISO to use. It might have all I need, but blow me if I can find them all. I asked on #bongo (always my first point of call ;-) ) and Alex pointed me in the direction of Blastwave - thanks for that. I then got to work trying to install both Solaris and Bongo. Unfortunately OpenSolaris is a resource demon - it needs a minimum of 768MB RAM and 8GB hard drive space :-O As always I'm using VMware Workstation for my development, I would have used my HP laptop but Solaris doesn't have drivers for the SATA disk :-(

Word of caution people OpenSolaris Developer Edition takes a fair amount of time to install - 3h 25min - and I couldn't find anyway of selecting which packages I wanted installed. Once it was finished and ready for use I set about trying to get the packages I needed for Bongo building. Thanks to the guys over on #opensolaris on irc.freenode.net, I found out how to install packages that aren't already installed but provided on the disc.

Here is my little HowTo to getting Bongo to build on OpenSolaris (*CAUTION* This is still WIP as I can't get past ./configure):

To install Python 2.4 and -devel packages
bash-3.00# cd /media/SOL_11_x86/Solaris_11/Product
bash-3.00# pkgadd -d. *Python*
Make sure you include the dot (.)

When prompted to continue with the installation of [y,n,?] select y

install bison
bash-3.00# pkgadd -d. SUNWbison
Again when prompted to continue with the installation of [y,n,?] select y

For the remaining packages, head over to Blastwave and follow the howto on to install pkg-get and setup install sources. Ensure you choose the unstable feed eg: /unstable. This is very similar to using apt-get, but unfortunately there is no GUI to make package hunting easy (I ended up browsing the mirror and Blastwave's Software listing).

Once that is all completed I installed the following:
bash-3.00# pkg-get -i ggettext openldap openldap_devel gnutls flex apache2 ap2_modpython doxygen pkgconfig libxml2 curl gcc4core gcc4g++ libpopt
Again when prompted to continue with the installation of [y,n,?] select y

There may be an issue with ap2_modpython pulling Blastwave's version of Python (which is 2.3), either run
bash-3.00# python-V
or try building Bongo - you'll soon find out ;-) If it turns out you do indeed have Python 2.3 installed, just run
bash-3.00# pkg-get -r python


This enabled me to run
bash-3.00# ./configure --prefix=/usr --localstatedir=/var/bongo
but when it comes to running make I get a bit unstuck :-(
bash-3.00# make
make: Fatal error in reader: Makefile, line 1037: Unexpected end of line seen
The contents of line 1037 of my Makefile is: ACLOCAL_AMFLAGS = -I m4 -I macros Anyone got any ideas?

I then decided to try gmake and got the following:
bash-3.00# gmake 
src/agents/addressbook/.deps/addressbook.Po:1: ** missing separator. Stop.
Again, anyone with a clue?

If anyone (Sebastian maybe?) has managed to get Bongo running on Solaris please let me know how. Also if anyone has a better way of doing it I'm all ears :-) I'm going to be away for a few days at one of Britain's great holiday traditions Butlins in Skegness enjoying some quality time with the family, you never know I may enjoy it more than them :-P. So either leave your comments here or better still mail into bongo-devel so that way we can all learn :-)
Author: Old Blog 
blog comments powered by Disqus