problems compiling gnome 0.27 on a linux box.



Hello all, I have been trying to compile gnome 0.27 for a couple of hours
and I seem to have hit a wall. I have found some workarounds for bugs in
the configuration files but this latest one has me stumped. I am
including the series of commands that I have used to get to where I am
right now. The commands assume that all the gnome .tar.gz files are
in the directory defined as BUILD.

set BUILD=/tmp/mo
set GNOME=$BUILD/gnome
mkdir $GNOME


#make glib
gunzip -c glib-1.1.2.tar.gz | tar -xvf -
cd glib-1.1.2
./configure --prefix=$GNOME/glib
make
make install
cd $BUILD
setenv PATH $GNOME/glib/bin:$PATH
setenv LD_LIBRARY_PATH $GNOME/glib/lib:$LD_LIBRARY_PATH


#make gtk
gunzip -c gtk+-1.1.1.tar.gz | tar -xvf -
cd gtk+-1.1.1
./configure --prefix=$GNOME/gtk --with-glib-preifx=$GNOME/glib
make
make install
cd $BUILD
setenv PATH $GNOME/gtk/bin:$PATH
setenv LD_LIBRARY_PATH $GNOME/gtk/lib:$LD_LIBRARY_PATH


#make imlib
gunzip -c imlib-1.4.tar.gz | tar -xvf -
cd imlib
./configure --prefix=$GNOME/imlib --with-gtk-prefix=$GNOME/gtk
make
make install
cd $BUILD
setenv PATH $GNOME/imlib/bin:$PATH
setenv LD_LIBRARY_PATH $GNOME/imlib/lib:$LD_LIBRARY_PATH


#make ORBit
gunzip -c ORBit-0.2.tar.gz | tar -xvf -
cd ORBit-0.2
./configure --prefix=$GNOME/orbit
make
make install
cd $BUILD
setenv PATH $GNOME/orbit/bin:$PATH
setenv LD_LIBRARY_PATH $GNOME/orbit/lib:$LD_LIBRARY_PATH



#workaround because there is no --with-imlib-prefix option
setenv CFLAGS "-I$GNOME/imlib/include"
setenv LDFLAGS "-L$GNOME/imlib/lib"


#make gnome-libs
gunzip -c gnome-libs-0.27.tar.gz | tar -xvf -
cd gnome-libs-0.27
./configure --prefix=$GNOME/gnome-libs --with-glib-preifx=$GNOME/glib --with-gtk-prefix=$GNOME/gtk

#workaround because "make gnomesupport.h" is still broken
cd support
make gnomesupport.h
cd ..

make
make install
setenv PATH $GNOME/gnome-libs/bin:$PATH
setenv LD_LIBRARY_PATH $GNOME/gnome-libs/lib:$LD_LIBRARY_PATH


#make gnome-objc
gunzip -c gnome-objc-0.27.tar.gz | tar -xvf -
cd gnome-objc-0.27
./configure --prefix=$GNOME/gnome-objc --with-gtk-prefix=$GNOME/gtk --with-gnome=$GNOME/gnome-libs
make
make install
cd $BUILD
setenv LD_LIBRARY_PATH $GNOME/gnome-objc/lib:$LD_LIBRARY_PATH


#make gnome-core
gunzip -c gnome-core-0.27.tar.gz | tar -xvf -
cd gnome-core-0.27

#work around for missing include of intl directory
setenv CFLAGS "-I`pwd`/intl $CFLAGS"

./configure --prefix=$GNOME/gnome-core --with-gtk-prefix=$GNOME/gtk --with-gnome=$GNOME/gnome-libs


#apply this patch to po/Makefile (delete lines 79 94 108-109)

***************
*** 79 ****
-       ../applets/winlist/winlist.c \
--- 78 ----
***************
*** 94 ****
-       ../gemvt/getopt.c \
--- 92 ----
***************
*** 108,109 ****
-       ../help-browser/toc-man.c \
-       ../help-browser/toc.c \
--- 105 ----


cd ..

make

COMPILER ERRORS:

gnome-panel-stubs.c: In function `GNOME_Panel_applet_request_id':
gnome-panel-stubs.c:37: structure has no member named `objinfo'
gnome-panel-stubs.c: In function `GNOME_Panel_applet_register':
gnome-panel-stubs.c:195: structure has no member named `objinfo'
...
make[2]: *** [gnome-panel-stubs.lo] Error 1
make[2]: Leaving directory `/tmp/mo/gnome-core-0.27/panel'


Well that is all the farther I have been able to get.
Does anyone know why this will not compile?

Mo DeJong
dejong@cs.umn.edu
gimme multimedia group



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