Small glitch when building gnome-guile



Hi,

Trying to build gnome-guile from CVS (after a whole bunch of other
stuff from CVS ;-), autogen.sh has been run from a special directory
(not from the source tree root), I got:

> [...]
> Making all in guile-gnome
> make[2]: Entering directory `/home/guerby/work/cvs/gnome-guile/tmp/guile-gnome'
> guile -l ../guile-gtk/gtk/config.scm -s ../../guile-gnome/../guile-gtk/build-guile-gtk -I ../../guile-gtk main gnome.defs >tmpm \
> 	  && mv tmpm main.c
> (reading "gnome.defs")
> Backtrace:
>  0* (case opsym ((glue) (let* # #)) ...)
>  1  [emit-main ...
>  2*  [read-link-info ("gnome.defs")]
>  3*  [for-each #<procedure (f)> ("gnome.defs")]
>  4*  [#<procedure (f)> "gnome.defs"]
>  5*  [read-file "gnome.defs" #<procedure link-backend (obj importing)>]
>  6   [reverse ...
>  7*   [read-file-2 "gnome.defs" #f]
>  8    [with-input-from-defs-file "gnome.defs" #<procedure (name)>]
> 	...
>  9    [with-input-from-file "gnome.defs" #<procedure ()>]
> 10    (let* ((nport #) (ans #)) (close-port nport) ...)
> 11*   [open-input-file "gnome.defs"]
> 12    [open-file "gnome.defs" "r"]
> ERROR: In procedure open-file in expression (open-file str OPEN_READ):
> ERROR: Aucun fichier ou répertoire de ce type.: "gnome.defs"
> guile: uncaught throw to abort: (system-error)
> make[2]: *** [main.c] Error 2
> make[2]: Leaving directory `/home/guerby/work/cvs/gnome-guile/tmp/guile-gnome'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/guerby/work/cvs/gnome-guile/tmp'
> make: *** [all-recursive-am] Error 2

>From gnome-guile/guile-gnome/Makefile.am:

> gnome-glue.c: gnome.defs
> 	  $(BUILD) -I $(top_srcdir)/guile-gtk glue gnome.defs >tmpg \
> 	  && mv tmpg $@
> 
> main.c: gnome.defs
> 	  $(BUILD) -I $(top_srcdir)/guile-gtk main gnome.defs >tmpm \
> 	  && mv tmpm $@

Looks like gnome.defs is in gnome-guile/guile-gnome/ so something like
replacing gnome.defs by $(top_srcdir)/guile-gnome/gnome.defs should
allow a build from anywhere (worked for me at least ;-).
I assume someone out there will know the right fix.

Hope this helps,

--LG



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