Re: [gtk-list] Re: gtk+-1.2.0 compile problems



Havoc Pennington wrote:
> 
> On Fri, 26 Feb 1999, Patrick O'Neil wrote:
> > I recently downloaded the latest gtk+ and glib 1.2.0 tarballs.
> > I successfully compiled glib but, as usual with gtk, not gtk+.
> >
> 
> Perhaps your system has some broken libraries or something. I've compiled
> Gtk probably 1000 times between .99.x and 1.2, most of them out of CVS,
> and *never* had it not work.
> 
> (It's possible that the tarballs have something wrong with them of
> course.)
> 
> >
> > ar: gdkfont.o: No such file or directory
> > make[2]: *** [libgdk.la] Error 1
> > make[2]: Leaving directory `/usr/src/gtk/gtk+-1.2.0/gdk'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/gtk/gtk+-1.2.0'
> > make: *** [all-recursive-am] Error 2
> >
> 
> Does gdkfont.c exist?

It does exist...exactly where it is supposed to, placed in its
subdirectory when ungziping and untaring the source.


> What was the exact sequence of commands you used to build?

I first ran "CFLAGS=-O6 -fno-exceptions;./configure
--with-glib=/usr/src/gtk/
glib-1.2.0"

It configured fine without any errors.  I also see none in the
config.log.
 
> What is the command make is running that causes the above error (the link
> command obviously, but the exact text on your system)?

I tried running make again with the debug flag enabled.  This time, it 
appears to have gotten past the gdkfont.c error of the first time (don't
know why, I changed absolutely nothing).  It crapped out this time with:

       Finished dependencies of target file `testgtk'.
      Must remake target `testgtk'.
Putting child 0x08099840 PID 24336 on the chain.
Live child 0x08099840 PID 24336
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x08099840 PID 24336
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -o testgtk  testgtk.o
libgtk.la                                              
../gdk/libgdk.la                
-L/usr/X11R6/lib                                               -lXext
-lX11   /usr/src/gtk/glib-1.2.0/libglib.la
/usr/src/gtk/glib-1.2.0/gmodule.la                                           
-lm
Live child 0x08099840 PID 24337
libtool: link: `/usr/src/gtk/glib-1.2.0/gmodule.la' is not a valid
libtool archive
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x08099840 PID 24337
make[2]: *** [testgtk] Error 1
Removing child 0x08099840 PID 24337 from chain.
make[2]: Leaving directory `/usr/src/gtk/gtk+-1.2.0/gtk'
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x080738b0 PID 14433
make[1]: *** [all-recursive] Error 1
Removing child 0x080738b0 PID 14433 from chain.
make[1]: Leaving directory `/usr/src/gtk/gtk+-1.2.0'
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x08075528 PID 14432
make: *** [all-recursive-am] Error 2
Removing child 0x08075528 PID 14432 from chain. 

So now it has a problem with gmodule.la and, yes this file does exist
in the ../glib-1.2.0/gmodule subdirectory as libgmodule.la.

I must say, of all the apps, etc, that I have compiled, gtk itself and
any and all apps that depend upon it have been the most trouble.  I have
yet to find one that will simply compile...and I have done nothing wierd
with my gtk and glib installations in the past.  Until now, they have 
been straight binary rpm installs yet this isn't good enough it seems.
I had hoped to get around all this, and improve performance, by
compiling
it all from source but compilation problems associated with gtk haunt
me here too.

> Are there any other errors before this one?
 
There were no errors prior to the original gdkfont.c error and none
before the present gmodule.la error.


-------------------------------------------
"If a man hasn't discovered something that
he will die for, he isn't fit to live."
	          --Martin Luther King, Jr
-------------------------------------------

Padraig UiNiall



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