Gnome on Solaris
Encouraged by the small successes in my `
Tuning Solaris adventure', I got the ambitious idea to get the latest Gnome on my SunBlade 100 machine. As I'm no root, this would come down to a full source-build and install by hand.
Quickly I found out about
garnome, a package thet at least automatically selects, downloads and installs most gnome-related packages. The beginning looked good, but soon after that I got confronted with missing dependencies. Here's a list of what I did to solve these.
(Work in progress, did not succeed yet)
expat
wget http://umn.dl.sourceforge.net/sourceforge/expat/expat-1.95.8.tar.gz
tar zxvf expat-1.95.8.tar.gz
cd expat-1.95.8
./configure --prefix=$PKGROOT/expat/1.95.8
make
make install
cd $PKGROOT/expat
ln -s 1.95.8/ current
XML::Parser
Another problem in garnome install at package
shared-mime-info
perl Makefile.PL `cat ~/.perl_dirs`
make make test
make install
And to add this local lib to perl @INC:
PERL5LIB=$LIBROOT/perl5/site_perl; export PERL5LIB
JPEG libs
wget ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/jpeg-6b.tar.gz
tar zxvf jpeg-6b.tar.gz
cd jpeg-6b
./configure --prefix=$PKGROOT/jpeg/6b \
--enable-shared --enable-static
make
mkdir $PKGROOT/jpeg
mkdir $PKGROOT/jpeg/6b
mkdir $PKGROOT/jpeg/6b/bin
mkdir $PKGROOT/jpeg/6b/man
mkdir $PKGROOT/jpeg/6b/man/man1
mkdir $PKGROOT/jpeg/6b/include
mkdir $PKGROOT/jpeg/6b/lib
make install
cd $PKGROOT/jpeg/
ln -s 6b/ current
ZLIB libs
wget ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/zlib-1.2.1.tar.gz
tar zxvf zlib-1.2.1.tar.gz
cd zlib-1.2.1
./configure --shared --prefix=$PKGROOT/zlib/1.2.1
make
make install
cd $PKGROOT/zlib
ln -s 1.2.1/ current
PNG libs
wget ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/libpng-1.2.7.tar.gz
tar zxvf libpng-1.2.7.tar.gz
cd libpng-1.2.7
cp scripts/makefile.solaris Makefile
nano -w Makefile
!!! editten
make
mkdir $PKGROOT/libpng
mkdir $PKGROOT/libpng/1.2.7
make install
Finding shared graphics libraries
For later linking against the shared libraries:
LD_LIBRARY_PATH=$PKGROOT/jpeg/current/lib:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=$PKGROOT/zlib/current/lib:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=$PKGROOT/libpng/current/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
TIFF libs
wget ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.7.0.tar.gz
tar zxvf tiff-3.7.0.tar.gz
cd tiff-3.7.0
./configure --prefix=$PKGROOT/tiff/3.7.0 \
--with-zlib-include-dir=$PKGROOT/zlib/current/include \
--with-zlib-lib-dir=$PKGROOT/zlib/current/lib \
--with-jpeg-include-dir=$PKGROOT/jpeg/current/include \
--with-jpeg-lib-dir=$PKGROOT/jpeg/current/lib \
--with-x
make
make install
cd $PKGROOT/tiff
ln -s 3.7.0/ current
GNU gettext
(To support future build of
popt)
wget ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/gettext-0.14.1.tar.gz
tar zxvf gettext-0.14.1.tar.gz
cd gettext-0.14.1
./configure --prefix=$PKGROOT/gettext/0.14.1 --with-lib-expat-prefix=$PKGROOT/expat/current
make
make install
cd $PKGROOT/gettext
ln -s 0.14.1/ current
popt
Back to the garnome install: failure since ORBit2 needs popt>=1.5
wget ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/popt-1.7.tar.gz
tar zxvf popt-1.7.tar.gz
cd popt-1.7
./configure --prefix=$PKGROOT/popt/1.7
make
make install
cd $PKGROOT/popt
ln -s 1.7/ current
Fontconfig
(I think garnome install complained about xft-config, but fontconfig is probably necessary, as xft2 depends on it)
wget http://freedesktop.org/~fontconfig/release/fontconfig-2.2.96.tar.gz
tar zxvf fontconfig-2.2.96.tar.gz
cd fontconfig-2.2.96
./configure --prefix=$PKGROOT/fontconfig/2.2.96 \
--with-expat=$PKGROOT/expat/current \
--with-expat-includes=$PKGROOT/expat/current/include \
--with-expat-lib=$PKGROOT/expat/current/lib \
--with-confdir=$ETCROOT/fonts
make
make install
cd $PKGROOT/fontconfig
ln -s 2.2.96/ current
Freedesktop stuff: XFT and more
hm, I got
render,
xrender,
xcursor and
xft2, but the latter fails on some redefinition of
function bcopy.
All installed in
$PKGROOT/X11R6/misc
Thinking of switching to XFCE now, but that also needs gtk+ (which is GLib, Pango, ATK, and GTK+). Oh boy...
pango
wget ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/pango-1.2.5.tar.gz
tar zxvf pango-1.2.5.tar.gz
cd pango-1.2.5
./configure --prefix=$PKGROOT/pango/1.2.5 --with-x --with-xft-config-dir=$ETCROOT/fonts/fonts.conf
Problems:
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for fontconfig >= 1.0.1... sh: gnome-config: not found
sh: gnome-config: not found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
configure: WARNING: No fontconfig found, skipping tests for FreeType and Xft
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GLIB - version >= 2.1.3... sh: gnome-config: not found
sh: gnome-config: not found
no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error:
*** Glib 2.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
to top