Re: Solaris 2.6 compile & install: How-I-did-it



Paul, great writeup.  I should have documented all the done that too, but I
was too lazy.  Many people will find this info useful.  Would you be
interested in turning your notes into a web page and putting it together with
the binary distribution pages that I'm doing?  That way we have support for
both people who want packages and those who want to build from source.

BK

Quoting Paul Barnfather (plb@clanger9.demon.co.uk):
> This is a rough & ready guide for anyone attempting to 
> build the current Gnome release on Solaris 2.6. Good luck!
> 
> platform:
> 
> Solaris 2.6 on a Sun SPARCstation-10MP (zzzzz...)
> Tarballs are mostly current - older versions may not work.
> Source download is ~50meg, need ~500meg for source tree and
> ~500meg in /usr (eek!)
> 
> All tarballs mostly compiled with:
> 	gunzip -c <tarball-name.gz> | tar xvf -
> 	cd <tarball-name>
> 	./configure
> 	make
> 	su
> 	make install
> unless stated otherwise...
> 
> prereqs:
> 
> Solaris 2.6 developer install
> gcc-2.8.1: 2.7.2 is probably fine (better?), get it from
> www.sunfreeware.com
> bash-2.0.3: needed for Gnome shell scripts, install in /bin
> bison-1.25: OK
> perl-5.005.02: OK
> m4-1.4: OK
> make-3.77: use ./configure --program-prefix=g
> gettext-0.10: use ./configure --program-prefix=g --with-gnu-gettext
> xpm-3.4k: uses Imake (ack!), see README.html for building shared lib
> db-2.7.4: from www.sleepycat.com - see ./docs for build, you need
> 	--enable-compat185
> 	Follow the instructions to build the shared library version, install it
> 	manually, keep gnome-objc happy
> 	Package installs in a wierd place, so
> 	ln -s /usr/local/BerkeleyDB/lib/* /usr/local/lib
> 	and
> 	ln -s /usr/local/BerkeleyDB/include/* /usr/local/include
> 
> Put the following in /etc/system to get shared memory working for imlib:
> 	set shmsys:shminfo_shmmax = 0x2000000 
> 	set shmsys:shminfo_shmmni = 0x1000 
> 	set shmsys:shminfo_shmseg = 0x100
> and reboot to enable
> 
> graphics:
> 
> libgr-2.0.13: what does it do? won't gmake, anyway :-( skipping...
> zlib-1.1.3: OK
> jpeg-6b: ./configure --enable-shared, otherwise imlib complains later
> libungif-4.1.0: v3 won't make - use v4 instead (needs gmake as well)
> libpng-1.0.3: not autoconf - must manually select makefile, make test
> 	doesn't work
> tiff-v3.4: OK
> ImageMagick-4.2.2: from ftp.wizards.dupont.com/pub/ImageMagick
> 	use ./configure --enable-shared, otherwise PerlMagick breaks
> Python-1.5.2: from www.python.org
> 
> libs:
> 
> freetype-1.1: won't make install (broken makefiles): must edit makefile
> in 
> 	./lib/arch/unix and ./test/arch/unix, set "INSTALL = .././install-sh
> -c"
> audiofile-0.1.6: OK
> esound-0.2.12: OK
> gsl-0.3b: OK
> guile-1.3: OK
> glib-1.2.2: OK (was 1.2.1 as far as 'extras', 1.2.2 seems fine)
> gtk+-1.2.2: OK (was 1.2.1 as far as 'extras', 1.2.2 seems fine)
> imlib-1.9.4: ./configure --enable-shared for enlightenment
> 	imlib-config.c won't compile, need to add #define ENABLE_NLS 1
> 	to ./config.h after ./configure
> gtk-engines-0.5: OK
> fnlib-0.4: won't make (broken libtool) - edit ./libtool to have
> 	". .././ltmain.sh at the end"
> ORBit-0.4.3: OK
> 
> base:
> 
> gnome-libs-1.0.8: OK
> libgtop-1.0.1: compiles OK, but pointless 'cos it don't work (yet) :-(
> libxml-1.0.0: error msgs about "libPEX5.so" not found on install - OK to
> ignore?
> libghttp-1.0.2: OK
> gnome-objc-1.0.2: OK
> gnome-python-1.0.1: OK
> control-center-1.0.5: OK
> enlightenment-conf-0.15: OK
> gnome-core-1.0.5: OK
> users-guide-1.0.5: OK
> enlightenment-0.15.5: OK
> mc-4.5.30: ./configure errors with Solaris grep, need to use
> /usr/xpg4/bin/grep
> 	mv /bin/grep /bin/grep.solaris, ln -s /usr/xpg4/bin/grep /bin/grep
> 	Need to add "#define MAX(a, b) (((a) > (b)) ? (a) : (b))" after
> #includes
> 	in ./gnome/gscreen.c
> 
> Now edit /usr/openwin/lib/Xinitrc to run up Gnome instead of
> Openwindows:
> Don't know how to do this properly, I commented out out the if-block
> that
> begins 'if [ "$OW_WINDOW_MANAGER" ]; then', and added 'exec
> gnome-session'
> 
> extras: (untested - all I did was compile & install)
> 
> gnome-utils-1.0.1: OK
> gnome-pim-1.0.7: OK
> gnome-admin-1.0.1: won't compile, fails in gulp.m
> gnome-media-1.0.1: OK
> gnome-audio-1.0: manually copy to /usr/local/share/audio, sounds still
> don't work
> gnome-network-1.0.1: won't compile, fails in gnome-ppp-chat.c
> gnome-games-1.0.2: minor install errors about "no user games.games",
> otherwise OK
> ee-0.3.8: OK
> gedit-0.5.1: OK
> GXedit1.22: needs "wish" (!?) for configuration, make gxedit instead,
> install
> 	manually
> gnotepad+-1.0.8: OK
> gnumeric-0.23: won't compile, fails with libxml (my fault, see earlier
> error...)
> gtop-1.0.2: OK, runs up, won't display anything (until ligtop fixed?)
> gdm-1.0.0: won't compile, fails in gdmchooser.c
> xchat-0.9.1: OK
> xscreensaver-3.07: OK
> 
> notes:
> 
> Panel craps out sometimes, and can't be restarted - it thinks it is
> still running. (I get this in Linux too).
> 
> The first time I ran up Gnome, Enlightenment didn't start so I got no
> wm. 
> 	Manually firing it up from a terminal got it going, has worked ever 
> 	since. (I'm sure it did this with Linux too).
> 
> Gterm doesn't work (window just freezes), use xterm for now.
> 
> Session management seems flaky: sometimes I get "my" panel, sometimes I
> don't... 
> 
> I get console errors "GnomeUI-WARNING **: Accelerator support disabled.
> Use at 
> least GTK+ 1.2.1 if you want it."
> I have GTK+ 1.2.2, so I don't understand this :-[
> 
> I tried the applets to see if they start OK. Some do, some don't:
> 
> Things that don't work: clock, asclock, terminal, drive mount, clock &
> mailcheck,
> mailcheck, all the monitors :-(
> 
> Things that do work: gmc, panel, pager, print, character picker, mini
> commander, 
> gkb, jbc, another clock, pppdialer (not tested - I use DP), web control,
> cd player (not tested), amusements, calendar
> 
> If anyone wants more details on the compile errors, I'm happy to
> provide.



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