Balsa v1.2.pre3 on Solaris8 - I have it compiled and working...




Hi all,
I've finally had some spare cycles to devote to getting this quite elegant
mail client working on Solaris 8. I've got a little procedure for you to
follow if you are interested in how it works. I'm also going to be
packaging
up the binaries et al into pkgadd format over the next day or so and I'll 
then pass those on to whoever is interested for the ftp site.

Procedure (in order):


1.  install all the development packages from the Sun Freeware cdrom 
	- gcc, binutils, glibc etc

2.  install the Gnome 1.4 packages

3.  cd to /usr/bin, and then (as root), ensure that you symlink all the
usual
 	gnu utils in /opt/sfw/bin to their /usr/bin names:


	# cd /usr/bin
	# for file in *; do
	>   if [ -f /opt/sfw/bin/g${file} ]; then
	>      ln -s /opt/sfw/bin/g{file} /opt/sfw/bin/${file}
	>   fi
	> done

4.  install libesmtp

5.  install libpcre

6.  install pspell

7.  extract the balsa source tree

8.  apply the filter patches if desired

9.  run configure, with the following command line options:
	(your prefix may differ etc....)
	
	cd ${BALSA_TOP}
	./configure --prefix=/usr/local --disable-flock \
	--enable-gtkhtml=yes --with-gnome=/opt/gnome-1.4 \
	--with-gnome-includes=/opt/gnome-1.4/include \
	--with-gnome-libs=/opt/gnome-1.4 \
	--with-glib-prefix=/opt/gnome-1.4 \
	--with-gtk-prefix=/opt/gnome-1.4 --disable-glibtest \
	--disable-gtktest --enable-fcntl=yes --enable-threads=yes \
	--enable-pcre=yes --enable-all=yes --enable-info=yes \
	--enable-threads=yes

10.  I have not yet fixed up the libtool stuff, so you will need to 
     edit ${BALSA_TOP}/libtool and ${BALSA_TOP}/libmutt/libtool so that
     the line starting sys_lib_search_path_spec includes /opt/gnome-1.4/lib
     _before_ /usr/local/lib:

  sys_lib_search_path_spec="/lib /usr/lib /opt/gnome-1.4/lib
/usr/local/lib"

11.  if desired, remove the warnings from CFLAG definitions in the
makefiles
     - the gcc that you get in SFWgcc doesn't like some of the
combinations:

	$ for mf in `find . -name Makefile`; do
	$ sed -e"s,-Wsign-promo -Wsign-compare -Wpointer-arith
-Wnested-externs -Wchar-subscripts -Wuninitialized,-I/usr/local/include ,g"
< ${mf} > ${mf}.new
	> mv ${mf}.new ${mf}
	> done

12.  If you have applied the filter patches, fix the
${BALSA_TOP}/src/Makefile so that
     src/filter-run-dialog.* are included in the list of dependencies.

13.  now make it and install it:

	$ gmake
	$ su - 
	-----{{ensure your path as root is the same as your user
path}}-----
	# gmake install


14.  enjoy!!



Hope this helps people - I've been stealing cycles for months trying to 
get things working (just goes to show how busy things have been lately!).


best regards,
James C. McPherson

--
Technical Support Specialist          828 Pacific Highway
APAC Customer Care Centre             Gordon NSW 
Sun Microsystems Australia            2072

Failfast panic: those controlling voices in my head have 
stopped telling me what to do.....





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]