Re: Compiling Anjuta2 on RH8.0



On Tue, 2002-10-22 at 18:56, Andy Piper wrote:
> OK, I've created a quick script to help me to build Anjuta2 from CVS based on Mikael and Dave's "Hacking Anjuta2" paper online.
> 
> The meat of the script looks like this (I'll refine it later and probably come up with a better build system - we need one to help newbies get up-and-running...)
> 
> for i in gdl gtksourceview glimmer gnome-build anjuta2
> do
>  echo "Building $i..."
>  cd $i
>  ./autogen.sh --prefix=/usr >../$i.config.log 2>&1
>  make >../$i.build.log 2>&1
>  make install >../$i.install.log 2>&1
>  cd ..
>  echo "...done."
> done
> 
> 
> gdl and gtksourceview build and install successfully.
> 
> ** For glimmer, I see this in glimmer.build.log
> 
> make[2]: Entering directory `/home/andyp/devt/anjuta2/test/glimmer/libglimmerfile'
> /usr/bin/orbit-idl-2 -I ../idl -I /usr/share/idl -I /usr/share/idl/bonobo-2.0 -I /usr/share/idl/bonobo-activation-2.0 ../idl/editor-buffer.idl
> orbit-idl-2 2.4.1 compiling
>  small mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule
> 
> /usr/bin/orbit-idl-2 -I ../idl -I /usr/share/idl -I /usr/share/idl/bonobo-2.0 -I /usr/share/idl/bonobo-activation-2.0 ../idl/editor-gutter.idl
> orbit-idl-2 2.4.1 compiling
>  small mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule
> 
> make  all-recursive
> make[3]: Entering directory `/home/andyp/devt/anjuta2/test/glimmer/libglimmerfile'
> Making all in glimmer-style-cache
> make[4]: Entering directory `/home/andyp/devt/anjuta2/test/glimmer/libglimmerfile/glimmer-style-cache'
> Making all in themes
> make[5]: Entering directory `/home/andyp/devt/anjuta2/test/glimmer/libglimmerfile/glimmer-style-cache/themes'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/home/andyp/devt/anjuta2/test/glimmer/libglimmerfile/glimmer-style-cache/themes'
> make[5]: Entering directory `/home/andyp/devt/anjuta2/test/glimmer/libglimmerfile/glimmer-style-cache'
> source='glimmer-style-cache.c' object='glimmer-style-cache.lo' libtool=yes \
> depfile='.deps/glimmer-style-cache.Plo' tmpdepfile='.deps/glimmer-style-cache.TPlo' \
> depmode=gcc3 /bin/sh ../../depcomp \
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DDATADIR=\""/usr/share"\" -DPREFIX=\"/usr\" -DG_LOG_DOMAIN=\"GlimmerStyleCache\" -I../.. -I../../libglimmerfile -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/gtksourceview -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomeprint-2.0 -I/usr/include/libgnomeprintui-2.0 -I/usr/include/libglade-2.0      -g -O2 -Wall -Werror -c -o glimmer!
> -style-cache.lo `test -f 'glimmer-style-cache.c' || echo './'`glimmer-style-cache.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -DG_LOG_DOMAIN=\"GlimmerStyleCache\" -I../.. -I../../libglimmerfile -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/gtksourceview -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomeprint-2.0 -I/usr/include/libgnomeprintui-2.0 -I/usr/include/libglade-2.0 -g -O2 -Wall -Werror -c glimmer-style-cache.c -MT glimmer-style-cache.lo -MD -!
> MP -MF .deps/glimmer-style-cache.TPlo  -fPIC -DPIC -o .libs/glimmer-style-cache.lo
> cc1: changing search order for system directory "/usr/include"
> cc1:   as it has already been specified as a non-system directory
> make[5]: *** [glimmer-style-cache.lo] Error 1
> make[5]: Leaving directory `/home/andyp/devt/anjuta2/test/glimmer/libglimmerfile/glimmer-style-cache'
> make[4]: *** [all-recursive] Error 1
> 
> Any ideas what this is about?!
> 
> ** anjuta2.config.log shows:
> checking for libgnome-2.0 >= 1.96.0 libgnomeui-2.0 >= 1.96.0 gdl-1.0 >= 0.3.0 libbonobo-2.0 >= 1.107.0 libbonoboui-2.0 >= 1.108.1 libgnomecanvas-2.0 >= 1.108.0 gnome-build-1.0 >= 0.0.3 gnome-vfs-2.0 >= 1.9.4 libgtkhtml-2.0 >= 1.99.2 libzvt-2.0 >= 2.0.0... Package libzvt-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libzvt-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libzvt-2.0' found
> 
> configure: error: Library requirements (libgnome-2.0 >= 1.96.0 libgnomeui-2.0 >= 1.96.0 gdl-1.0 >= 0.3.0 libbonobo-2.0 >= 1.107.0 libbonoboui-2.0 >= 1.108.1 libgnomecanvas-2.0 >= 1.108.0 gnome-build-1.0 >= 0.0.3 gnome-vfs-2.0 >= 1.9.4 libgtkhtml-2.0 >= 1.99.2 libzvt-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
> 
> Trouble is, I can't work out what package in RedHat 8.0 contains libzvt-2.0.pc!
> 
> Any ideas anyone?
> 
> Thanks.
> 
> 
> -- 
> Andy Piper - Farnborough, Hampshire (UK)
> andy piper freeuk com
> http://www.andypiper.co.uk/
> 
> _______________________________________________
> gnome-devtools mailing list
> gnome-devtools gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devtools


Andy,

I had the same problem compiling glimmer on RH8.0. There appears to be
some problem with the options passed to gcc. Modifying the line
CFLAGS="$(CFLAGS) -Wall -Werror" in the configure.in file to just
CFLAGS="$CFLAGS" lets glimmer build correctly. I found attempting to
generate an object file with -c -Wall -Werror doesn't work!

Kevin





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