Help Compilation problems. (LONG!)



Hi

I am in need of some assistance/advice or be pointed 
in the right direction. 

I'm not accessing the source through CVS, though maybe I should.
My system is RedHat 5.1 Linux/AMD-K6-300 box. 

I have tried to compile the gnome-core a number of times
and have tried different versions. 

gnome-core-0.99.2 is the current version that I have attempted.
I tried just downloading the source and compiling, then I 
tried to install from the RPM source distribution. 

I downloaded Gnome from my closest mirror here in Japan.

ftp.dti.ad.jp

The first time I tried to compile I received the following
errors.

[cjs@opus gnome-core-0.99.2]$ make
make all-recursive
make[1]: Entering directory `/usr/home/cjs/gnome/gnome-core-0.99.2'
Making all in intl
make[2]: Entering directory `/usr/home/cjs/gnome/gnome-core-0.99.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/home/cjs/gnome/gnome-core-0.99.2/intl'
Making all in po
make[2]: Entering directory `/usr/home/cjs/gnome/gnome-core-0.99.2/po'
make[2]: *** No rule to make target `../applets/cpuload/properties.c',
needed by `gnome-core.pot'.  Stop.
make[2]: Leaving directory `/usr/home/cjs/gnome/gnome-core-0.99.2/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/home/cjs/gnome/gnome-core-0.99.2'
make: *** [all-recursive-am] Error 2
[cjs@opus gnome-core-0.99.2]$ ls applets/cpuload/properties.c
ls: applets/cpuload/properties.c: No such file or directory
[cjs@opus gnome-core-0.99.2]$

I'm curious as to WHY these files are missing. I went through the
makefile
and there are serveral other directories missing. (????)

So I decided maybe the rpm package is more complete.

I then downloaded the Redhat RPM source file and from the spec file I 
did rpm -bc gnome-core.spec (I'm relatively new to Linux and not too
familiar with
rpm,though this seems to do the trick for other packages) I kicked this
off
last night and then found this when I came in this morning waiting for
me!


+ make
make all-recursive
make[1]: Entering directory `/usr/src/redhat/BUILD/gnome-core-0.99.2'
Making all in intl
make[2]: Entering directory
`/usr/src/redhat/BUILD/gnome-core-0.99.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/usr/src/redhat/BUILD/gnome-core-0.99.2/intl'
Making all in po
make[2]: Entering directory `/usr/src/redhat/BUILD/gnome-core-0.99.2/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/gnome-core-0.99.2/po'
Making all in macros
make[2]: Entering directory
`/usr/src/redhat/BUILD/gnome-core-0.99.2/macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/usr/src/redhat/BUILD/gnome-core-0.99.2/macros'
Making all in gsm
make[2]: Entering directory
`/usr/src/redhat/BUILD/gnome-core-0.99.2/gsm'
......
.... Things removed for brevity
........
gcc -O2 -m486 -fno-strength-reduce -Wall -Wno-unused -o gnome-session
manager.o ice.o auth.o main.o prop.o save.o -rdynamic -L/usr/local/lib
-L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg
-ltiff -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome
-lgnomesupport -lesd -lm -laudiofile -ldb -lglib -ldl
manager.o: In function `save_yourself_request':
manager.o(.text+0x3fe): undefined reference to `g_error'
manager.o: In function `save_session':
manager.o(.text+0xa00): undefined reference to `g_error'
make[2]: *** [gnome-session] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/gnome-core-0.99.2/gsm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gnome-core-0.99.2'
make: *** [all-recursive-am] Error 2
Bad exit status from /var/tmp/rpm-tmp.37125 (%build)
[root@opus SPECS]# pwd
/usr/src/redhat/SPECS


I was able to install ALL of the dependencies without any problems,
though the
gnome-objc complained about not being able to find Objective-C even
though it
is installed and even after egcs was installed. I finally had to trick
gnome-objc
configure and then compiled with egcs before gnome-objc would even
compile. 

I'm using egcs 
egcs-2.90.27 980315 (egcs-1.0.2 release)

and Gnu C compiler 2.8.1

If anyone needs any further information, please let me know and I'd be
more than happy
to supply it for you. 

Thank you very much in advance for any assitance and apologies for any
thing idiotic!


p.s.

I just downloaded the(latest) gnome-core-0.99.3.1.tar.gz package just to
make sure I 
was using the latest and ran configure and received the following errors
when it was generating the makefiles.

creating applets/gen_util/Makefile
creating applets/batmon/Makefile
sed: can't read ./applets/batmon/Makefile.in: No such file or directory
creating applets/bussign/Makefile
sed: can't read ./applets/bussign/Makefile.in: No such file or directory
creating applets/cdplayer/Makefile

Should these be in there? (batmon and bussign) I THINK I have all the
dependencies. 

I tried to compile and this time the compile didn't fail, but I received
the following
errors when it was compiling the windows.c file.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I../intl
-I../intl -I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include -I/usr/local/lib/glib/include
-I/usr/X11R6/include -DGNOMEHELPPATH=\""/usr/local/share/gnome/help\""
-DGNOMELOCALEDIR=\""/usr/local/share/locale\"" -DVERSION=\""0.99.3"\"
-I/usr/X11R6/include -I/usr/local/lib/glib/include -I/usr/local/include
-g -O2 -Wall -Wno-unused  -c window.c
window.c:128: warning: implicit declaration of function
`GNOMEUIINFO_MENU_NEW_ITEM'
window.c:130: warning: missing braces around initializer for
`filemenu[0]'
window.c:130: initializer element for `filemenu[0].type' is not constant
window.c:132: warning: braces around scalar initializer for
`filemenu[0].label'
window.c:132: warning: initialization makes pointer from integer without
a cast
window.c:132: warning: excess elements in scalar initializer after
`filemenu[0].label'
window.c:132: warning: excess elements in scalar initializer after
`filemenu[0].label'
window.c:132: warning: excess elements in scalar initializer after
`filemenu[0].label'

HALP! 
Thanks!


--
Chris Steinke			 Dream Pictures Studios Ariake-Japan
Systems Operations and Technology	cjs@dpsi.co.jp
begin:vcard 
n:Steinke;Chris 
tel;fax:81-03-5564-5547
tel;home:040-952-9579
tel;work:81-03-5564-5500
x-mozilla-html:FALSE
org:Dream pictures Studios;Systems Operations
version:2.1
email;internet:cjs@dpsi.co.jp
	http://www.gnu.org
adr;quoted-printable:;;Ariake Frontier Building 19F=0D=0A3-1-25 Ariake;Koto-ku;Tokyo;135;Japan
note;quoted-printable:Support "Free" Software and the =0D=0AOpen Source Software movement. =0D=0A=
x-mozilla-cpt:;0
fn:Chris  Steinke
end:vcard


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