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

gEDA-user: configure script patch



Hi All,

I'm using Ubuntu and needed to update geda-gaf, as version in repository
is older than latest released. Since RFTM'ing is not my strongest side,
spent an hour or so wondering why configure would fail, even though I
installed guile-1.8 package. Now it seems trivial that I needed
guile-1.8-dev. I made a small patch to configure script, that check if
user is using debian or its' derivative and hint that user might need
guile dev.

Cheers,
Justas
--- configure.old	2010-04-29 14:10:12.584816558 +0300
+++ configure.new	2010-04-29 14:08:18.844800164 +0300
@@ -22137,7 +22137,11 @@
 
     if test "${GUILE_CONFIG}" = "notfound" ; then
       { { $as_echo "$as_me:$LINENO: error: ${PKG_CONFIG} could not locate guile and guile-config was not found" >&5
-$as_echo "$as_me: error: ${PKG_CONFIG} could not locate guile and guile-config was not found" >&2;}
+$as_echo "$as_me: error: ${PKG_CONFIG} could not locate guile and guile-config was not found" >&2;
+if test -f /etc/debian_version ; then
+	$as_echo "$as_me: script detected that you are using debian or its' derivative system. Try installing guile-x.y-dev package" >&2 
+fi
+}
    { (exit 1); exit 1; }; }
     fi
 

_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user