Re: Small patch for gnome-guile



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...
[...]

-- 
http://www.ping.de/sites/aibon/



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