The default way to install a GNOME tarball requires the following 8 steps:
Sometimes all this doesn't run. Then you can do this:
Some applications are still not able to respect newer aspects
of the gnome-include-filesystemhierarchy. Therefore you should
generally expand the environment variable CFLAGS by the command
«export CFLAGS="$CFLAGS -I/$INSTPREF/include/gnome-1.0/
-I/$INSTPREF/include/libglade-1.0
-I/$INSTPREF/include
"»
and the environment variable CXXFLAGS by the command
«export CFLAGS="$CFLAGS -I/$INSTPREF/include/gnome-1.0/
-I/$INSTPREF/include/libglade-1.0
-I/$INSTPREF/include
"»
(replace $INSTPREF by your installationpath). If you get any
fault-messages concerning missing header-files try to locate
the missed files and expand the corresponding CFLAGS-Variable
by the path to that file.
Note, calling «make install» normally includes the integration of debug info into the binaries. These infos naturally enlarge them. For erasing these infos and therefore for bulding applications and libraries being as small as possible you can (sometimes) call «make install-strip» instead of «make install».
If that possibility is not offered you may type «strip $INSTPATH/bin/$MADEBINS» and «strip -g $INSTPATH/bin/$MADELIBS » where $MADEBINS and MADELIBS denote those binaries and libraries just being made by you. BUT BE CARFULLY: don't forget «strip -g» while acting onto libraries. Otherwise they won't run any longer. [ Thanks to Volodymyr Babin who gave that hint]. One should know it and use it. I've just won more than 200 MB for my little old laptop.
The installation procedure offers «configure» and «make» but doesn't understand «make install» or «--prefix=...»: After having typed «make» inside of the source-directory you will find there a directory «dist» containing a set of links pointing to the built libraries and applications. The next problem is, that the compiled tarball needs more than 450 mb although really you don't need more than 140 mb of libraries and applications. Execute the following commands as root for solving these problems:
Note: galeon tests the file «/usr/local/mozilla/dist/lib/defaults/pref/all.js»
but even still in mozilla 0.9.4 it is offered under
«/usr/local/mozilla/dist/bin/defaults/pref/all.js»
For solving that problem do this
1) cd /usr/local/mozilla/dist/lib/
2) ln -s ../bin/defaults defaults.
Then use
./configure --prefix=/opt/gnome --with-mozilla-libs=/usr/local/mozilla/dist/lib --with-mozilla-includes=/usr/local/mozilla/dist/include
© Karsten Reincke, Osnabrück (Germany) 2000/2001/2002.