Re: libgtop



NIIBE Yutaka <gniibe@chroot.org> writes:

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

No. The patch "solves" the incompatibility between major versions, but
I want to keep this incompatibility.

With "incompatibility" I mean that - if we assume that program X requires
LibGTop >= 1.x.y, it won't work with 2.x.y.

The correct sollution of this problem is to increase the version number
of libgtop-bindings to at least 1.0.0 and make a new tarball.

Maybe I'll do this in near future, but since libgtop-bindings isn't really
needed by anything and still experimental ...

Martin

> 
> --- 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
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 
> 

-- 
Martin Baulig - martin@home-of-linux.org - http://www.home-of-linux.org



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