garnome compilation error on Red Hat 7.3 with gcc 3.2



Hi, I run into a strange error building the latest
garnome (0.17.1) on a Pentium 4 Red Hat 7.3 machine
with gcc 3.2.  Actually I am having the same problem
with all recent versions of garnome (since about
0.16.0).  I have gcc 3.2 installed in a non-standard
place (in /share/software/gcc-3.2/installed/bin).  I
force the use of gcc 3.2 via the environment variables
PATH and LD_LIBRARY_PATH.

This are the error messages:

.
.
.
[===== NOW BUILDING:	glib-2.0.6	=====]
	[fetch] complete for glib.
	[checksum] complete for glib.
	[extract] complete for glib.
	[patch] complete for glib.
 ==> Building gnome/pkgconfig as a dependency
 ==> Building gnome/gtk-doc as a dependency
	[configure] complete for glib.
 ==> Running make in work/glib-2.0.6
make[5]: Entering directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6'
make  all-recursive
make[6]: Entering directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6'
Making all in .
make[7]: Entering directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6'
Making all in m4macros
make[7]: Entering directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/m4macros'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/m4macros'
Making all in glib
make[7]: Entering directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/glib'
Making all in libcharset
make[8]: Entering directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/glib/libcharset'
make[8]: Nothing to be done for `all'.
make[8]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/glib/libcharset'
make[8]: Entering directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/glib'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/glib'
make[7]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/glib'
Making all in gobject
make[7]: Entering directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/gobject'
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
&& ./glib-genmarshal --nostdinc
--prefix=g_cclosure_marshal ./gmarshal.list --header
>> xgen-gmh \
&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
&& (cmp -s xgen-gmh ./gmarshal.h || cp xgen-gmh
./gmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gmarshal.h
lt-glib-genmarshal: error while loading shared
libraries: libgcc_s.so.1: cannot open shared object
file: No such file or directory
make[7]: *** [stamp-gmarshal.h] Error 127
make[7]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6/gobject'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6'
make[5]: *** [all-recursive-am] Error 2
make[5]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/glib/work/glib-2.0.6'
make[4]: *** [build-work/glib-2.0.6/Makefile] Error 2
make[4]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/glib'
make[3]: *** [dep-../../gnome/glib] Error 2
make[3]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/atk'
make[2]: *** [dep-../../gnome/atk] Error 2
make[2]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/gtk+'
make[1]: *** [dep-../../gnome/gtk+] Error 2
make[1]: Leaving directory
`/share3/gnome2/garnome-0.17.1/gnome/metacity'
make: *** [dep-../../gnome/metacity] Error 2

My environment variables:

%echo $PATH
/share/software/gcc-3.2/installed/bin:/share/software/gnome2/installed/bin:/share/software/gnome/installed/bin:/home/atai/bin:/usr/local/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin

%echo $LD_LIBRARY_PATH
/share/software/gcc-3.2/installed/lib:/share/software/gnome2/installed/lib:/share/software/gcc-3.2/installed/lib:/share/software/gnome/installed/lib:/usr/local/bin


If I go into the glib directory and do ./configure &&
make && make install there, it works.

gcc 3.2 works otherwise on this system; I compiled a
lot of other software like latest samba and Linux
kernel on this configuration and they all work.

My binutils version is 2.13.

This may be a bug in GAR, or gcc, instead of garnome,
but I post it here first so if any garnome users can
help me solving this problem, that would be greatly
appreciated.

Andy

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



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