libgtop



Spud writes:
 >     Im having problems compiling libgtop-bindings. I am using version 99.2,
 > which is apparently needed to build the gtop program, yet it can't be used
 > with libgtop 1.0.1....Whats up here?

'configure' script doesn't works well.

You need following patch.  And regenerate 'configure' by autoconf.

--- aclocal.m4~	Tue Jan  5 23:41:15 1999
+++ aclocal.m4	Sun Mar  7 06:18:11 1999
@@ -912,10 +912,12 @@
 	    sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
 	  libgtop_micro_version=`$LIBGTOP_CONFIG --version | \
 	    sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
-	  test $libgtop_major_version != $min_libgtop_major && no_libgtop=yes
-	  test $libgtop_minor_version -lt $min_libgtop_minor && no_libgtop=yes
-	  if test $libgtop_minor_version = $min_libgtop_minor ; then
-	    test $libgtop_micro_version -lt $min_libgtop_micro && no_libgtop=yes
+	  test $libgtop_major_version -lt $min_libgtop_major && no_libgtop=yes
+	  if test $libgtop_major_version = $min_libgtop_major ; then
+	    test $libgtop_minor_version -lt $min_libgtop_minor && no_libgtop=yes
+	    if test $libgtop_minor_version = $min_libgtop_minor ; then
+	      test $libgtop_micro_version -lt $min_libgtop_micro && no_libgtop=yes
+	    fi
 	  fi
 	  . $configfile
 	fi

Thanks, 
-- 
Niibe Yutaka



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