[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: cannot compile gwave2
On Sat, 2008-10-11 at 09:47 +0800, wing wrote:
> Peter Clifton wrote:
> > On Fri, 2008-10-10 at 22:35 +0800, wing wrote:
> >
> >> Hi there,
> >>
> >> I tried to compile gwave2 (20080626) but failed in the ./configure stage.
> >> The error message reads something like :
> >>
> >> checking for guile-tools... /usr/bin/guile-tools
> >> checking libguile compile flags...
> >> checking libguile link flags... -lguile -lltdl -lgmp -lcrypt -lm -lltdl
> >> checking if (gnome-2) is available... no
> >> configure: error: required guile module not found: (gnome-2)
> >>
> >> And the related lines in the config.log file reads:
> >>
> >> configure:6511: checking libguile compile flags
> >> configure:6514: result:
> >> configure:6516: checking libguile link flags
> >> configure:6519: result: -lguile -lltdl -lgmp -lcrypt -lm -lltdl
> >> configure:6528: checking if (gnome-2) is available
> >> configure:6535: result: no
> >> configure:6540: error: required guile module not found: (gnome-2)
> >>
> >>
> >> What exactly is the missed guile module?
Ubuntu just doesn't have the latest package.
Here is a diff which makes gwave look for the gnome-0 (development
version) package.
After:
sudo apt-get install libgwrap-runtime-dev guile-cairo-dev
it built ok. I already had guile-g-wrap etc.. installed.
pkg-config --cflags guile-gnome-gtk-0
will give you hints if there is anything else missing.
It built, but crashes on startup.
This was a problem with tooltips, so for maximum speed, I grossly hacked
around them (leads to some warnings on the console, but fairly
harmless):
diff -u ../../gwave2-20080626/src/wavelist.c wavelist.c
--- ../../gwave2-20080626/src/wavelist.c 2008-06-26 06:30:46.000000000 +0100
+++ wavelist.c 2008-10-11 14:45:11.000000000 +0100
@@ -414,6 +414,8 @@
GtkTooltips *
get_gwave_tooltips()
{
+ return NULL;
+#if 0
extern SCM scm_gwave_tooltips;
SCM scm_tt;
GtkTooltips *tt;
@@ -425,6 +427,7 @@
tmp = (GObject*)(SCM_SMOB_DATA(scm_tt));
tt = GTK_TOOLTIPS(tmp);
return tt;
+#endif
}
/*
Good luck - you may need it!
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
diff -urN gwave2-20080626/configure.ac gwave2-20080626-gnome0/configure.ac
--- gwave2-20080626/configure.ac 2008-06-26 06:12:30.000000000 +0100
+++ gwave2-20080626-gnome0/configure.ac 2008-10-11 14:33:39.000000000 +0100
@@ -80,10 +80,10 @@
dnl check for guile-gnome-platform
-GUILE_MODULE_REQUIRED(gnome-2)
+GUILE_MODULE_REQUIRED(gnome-0)
dnl GUILE_MODULE_REQUIRED(gnome gtk)
-PKG_CHECK_MODULES(GUILE_GNOME, guile-gnome-gtk-2, ,AC_MSG_ERROR(Can not find Guile-gnome-platform))
+PKG_CHECK_MODULES(GUILE_GNOME, guile-gnome-gtk-0, ,AC_MSG_ERROR(Can not find Guile-gnome-platform))
dnl remind myself how to check for somthing I know exists
dnl GUILE_MODULE_EXPORTS(foo_widget_show, (gnome-0)(gnome gtk),gtk-widget-show)
@@ -91,7 +91,7 @@
dnl AC_DEFINE(FOO_WIDGET_SHOW,1,"Defined if guile-gnome module (gnome gtk) already contains gtk-widget-show")
dnl fi
-GUILE_MODULE_EXPORTS(have_guile_gtk_menu_popup,(gnome-2)(gnome gtk),gtk-menu-popup)
+GUILE_MODULE_EXPORTS(have_guile_gtk_menu_popup,(gnome-0)(gnome gtk),gtk-menu-popup)
if test "$have_guile_gtk_menu_popup" = yes; then
AC_DEFINE(HAVE_GUILE_GTK_MENU_POPUP,1,"Defined if guile-gnome module (gnome gtk) already contains gtk-menu-popup")
fi
diff -urN gwave2-20080626/scheme/cmds.scm gwave2-20080626-gnome0/scheme/cmds.scm
--- gwave2-20080626/scheme/cmds.scm 2008-06-26 06:12:13.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/cmds.scm 2008-10-11 14:23:01.000000000 +0100
@@ -4,7 +4,7 @@
(define-module (app gwave cmds)
:use-module (oop goops)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
:use-module (ice-9 optargs)
:use-module (app gwave gtk-helpers)
diff -urN gwave2-20080626/scheme/export-gnugraph.scm gwave2-20080626-gnome0/scheme/export-gnugraph.scm
--- gwave2-20080626/scheme/export-gnugraph.scm 2008-06-26 06:12:02.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/export-gnugraph.scm 2008-10-11 14:22:53.000000000 +0100
@@ -4,7 +4,7 @@
;
(define-module (app gwave export-gnugraph)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
:use-module (ice-9 optargs)
:use-module (ice-9 format)
diff -urN gwave2-20080626/scheme/export-gnuplot.scm gwave2-20080626-gnome0/scheme/export-gnuplot.scm
--- gwave2-20080626/scheme/export-gnuplot.scm 2008-06-26 06:11:57.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/export-gnuplot.scm 2008-10-11 14:22:56.000000000 +0100
@@ -4,7 +4,7 @@
;
(define-module (app gwave export-gnuplot)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
:use-module (ice-9 optargs)
:use-module (ice-9 format)
diff -urN gwave2-20080626/scheme/export.scm gwave2-20080626-gnome0/scheme/export.scm
--- gwave2-20080626/scheme/export.scm 2008-06-26 06:11:53.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/export.scm 2008-10-11 14:23:07.000000000 +0100
@@ -4,7 +4,7 @@
(define-module (app gwave export)
:use-module (oop goops)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
:use-module (ice-9 optargs)
:use-module (app gwave cmds)
diff -urN gwave2-20080626/scheme/extra-menus.scm gwave2-20080626-gnome0/scheme/extra-menus.scm
--- gwave2-20080626/scheme/extra-menus.scm 2008-06-26 06:11:50.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/extra-menus.scm 2008-10-11 14:22:48.000000000 +0100
@@ -3,7 +3,7 @@
;
(define-module (app gwave extra-menus)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
:use-module (app gwave cmds)
:use-module (app gwave std-menus)
diff -urN gwave2-20080626/scheme/globals.scm gwave2-20080626-gnome0/scheme/globals.scm
--- gwave2-20080626/scheme/globals.scm 2008-06-26 06:11:46.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/globals.scm 2008-10-11 14:23:26.000000000 +0100
@@ -6,7 +6,7 @@
(dbprint "globals.scm running\n")
(define-module (app gwave globals)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
)
diff -urN gwave2-20080626/scheme/gtk-helpers.scm gwave2-20080626-gnome0/scheme/gtk-helpers.scm
--- gwave2-20080626/scheme/gtk-helpers.scm 2008-06-26 06:11:43.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/gtk-helpers.scm 2008-10-11 14:23:14.000000000 +0100
@@ -4,7 +4,7 @@
;
(define-module (app gwave gtk-helpers)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
:use-module (gnome gobject)
:use-module (oop goops)
diff -urN gwave2-20080626/scheme/gwave-startup.scm gwave2-20080626-gnome0/scheme/gwave-startup.scm
--- gwave2-20080626/scheme/gwave-startup.scm 2008-06-26 06:11:25.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/gwave-startup.scm 2008-10-11 14:23:10.000000000 +0100
@@ -15,7 +15,7 @@
;
(use-modules
- (gnome-2)
+ (gnome-0)
(gnome gtk)
(app gwave cmds)
)
diff -urN gwave2-20080626/scheme/std-menus.scm gwave2-20080626-gnome0/scheme/std-menus.scm
--- gwave2-20080626/scheme/std-menus.scm 2008-06-26 06:10:53.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/std-menus.scm 2008-10-11 14:23:23.000000000 +0100
@@ -3,7 +3,7 @@
;
(define-module (app gwave std-menus)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
:use-module (gnome gtk gdk-event)
:use-module (app gwave gtk-helpers)
diff -urN gwave2-20080626/scheme/std-toolbar.scm gwave2-20080626-gnome0/scheme/std-toolbar.scm
--- gwave2-20080626/scheme/std-toolbar.scm 2008-06-26 06:10:49.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/std-toolbar.scm 2008-10-11 14:23:29.000000000 +0100
@@ -3,7 +3,7 @@
;
(define-module (app gwave std-toolbar)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
:use-module (app gwave cmds)
:use-module (app gwave globals)
diff -urN gwave2-20080626/scheme/visiblewave-ops.scm gwave2-20080626-gnome0/scheme/visiblewave-ops.scm
--- gwave2-20080626/scheme/visiblewave-ops.scm 2008-06-26 06:10:40.000000000 +0100
+++ gwave2-20080626-gnome0/scheme/visiblewave-ops.scm 2008-10-11 14:23:31.000000000 +0100
@@ -8,7 +8,7 @@
(define-module (app gwave visiblewave-ops)
:use-module (ice-9 format)
- :use-module (gnome-2)
+ :use-module (gnome-0)
:use-module (gnome gtk)
:use-module (gnome gtk gdk-event)
:use-module (app gwave gtk-helpers)
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user