Re: Small patch for gnome-guile



Sascha Ziemann wrote:
> 
> Christopher Blizzard wrote:
> 
> > Making all in guile-gtk
> > make[2]: Entering directory `/usr/local/src/gnome/gnome-guile/guile-gtk'
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/gnome/include
> > -I/usr/X11R6/include  -g -O2 -c main.c
> > main.c:85: main.x: No such file or directory
> 
> > ps.  What the heck is the snarfer?  :)
> 
> guile-snarf creates the .x files from the .c files:
> 
> Makefile.am:
> .c.x:
>         guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< >tmp &&
> mv tmp $@
> 
> guile-gtk.x: guile-gtk.c
> gtk-funcs.x: gtk-funcs.c
> main.x: main.c
> 
> After this the .c files include the .x files. Therefor the .x files
> should be created befor compiling the .c files. I recently removed the
> .x files from guile-gtk (see changelog). There must be something wrong
> with your dependings. My CVS copy does work (updated this morning):
> 
> [...]
> creating Makefile
> creating config.h
> szi@olivia:~/gnome/cvs/gnome-guile/guile-gtk$ make
> guile-snarf -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include
> -I/usr/X11R6/include  -g -O2 main.c >tmp && mv tmp main.x
> Computing dependencies for main.c...
> guile-snarf -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include
> -I/usr/X11R6/include  -g -O2 guile-gtk.c >tmp && mv tmp guile-gtk.x
> Computing dependencies for guile-gtk.c...
> Computing dependencies for guile-compat.c...
> guile-snarf -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include
> -I/usr/X11R6/include  -g -O2 gtk-funcs.c >tmp && mv tmp gtk-funcs.x
> Computing dependencies for gtk-funcs.c...
> Computing dependencies for gtk-compat.c...
> [...]
> 

Hmmm...it's still not working for me.  Are you using the newest automake
by any chance? (1.2f)  Mine will build the .x files for guile-gtk.c and
for gtk-funcs.c but not for main.c  It apparently ignores it.  I've
slapped up a copy of the output from the checkout, config and build if
anyone wants to take a look for differences:

http://odin.appliedtheory.com/gnome/gnome-guile-typescript.txt

--Chris

-- 

------------
Christopher Blizzard
AppliedTheory Communications, Inc. 
http://odin.appliedtheory.com/
blizzard@appliedtheory.com
------------



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