Hallo!
Ich möchte mir gerne auf meinem RedHat 6.1 System den ICQ-Clone gnomeicu installieren. Bei configure erhalte ich folgende Fehlermeldung, obwohl ich zuvor gnet 1.1.5 installiert habe:
checking for gnet-config... /usr/bin/gnet-config
checking for GNET - version \>= 1.1.0... no
# Could not run GNet test program, checking why.
# The test program failed to compile or link. See the file
# config.log for the exact error that occured. This usually means
# that GNet was incorrectly installed or that you moved GNet
# since it was installed. In the latter case, you may want to
# edit the gnet-config script: /usr/bin/gnet-config
configure: error: Need gnet-1.1 or later!
GNet ist richtig installiert, zumindest liefen configure, make und make install ohne Probleme durch und verschoben habe ich es auch nicht. Warum kommt es zu diesem Problem und was muß ich ggf. in gnet-config editieren? Vielen Dank für Eure Hilfe.
Grüße, Tanja
/usr/bin/gnet-config:
#!/bin/sh
# This script was borrowed from Gtk (and Glib)
glib\_libs="-L/usr/lib -lgthread -lglib -lpthread "
glib\_cflags="-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D\_REENTRANT "
pthread\_libs="-lpthread"
prefix=/usr
exec\_prefix=${prefix}
exec\_prefix\_set=no
cflags="-I${prefix}/include/gnet -I${exec\_prefix}/lib/gnet/include"
libs="-L${exec\_prefix}/lib -lgnet"
usage()
{
cat &2
fi
lib\_gnet=yes
while test $# -gt 0; do
case "$1" in
-\*=\*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
\*) optarg= ;;
esac
case $1 in
--prefix=\*)
prefix=$optarg
if test $exec\_prefix\_set = no ; then
exec\_prefix=$optarg
fi
;;
--prefix)
echo\_prefix=yes
;;
--exec-prefix=\*)
exec\_prefix=$optarg
exec\_prefix\_set=yes
;;
--exec-prefix)
echo\_exec\_prefix=yes
;;
--version)
echo 1.1.5
;;
--cflags)
echo\_cflags=yes
;;
--libs)
echo\_libs=yes
;;
gnet)
lib\_gnet=yes
;;
\*)
usage 1 1\>&2
;;
esac
shift
done
if test "$echo\_prefix" = "yes"; then
echo $prefix
fi
if test "$echo\_exec\_prefix" = "yes"; then
echo $exec\_prefix
fi
if test "$echo\_cflags" = "yes"; then
cflags="$glib\_cflags $cflags"
# Include ${prefix}/include if it's in a non-standard place
if test ${prefix}/include != /usr/include ; then
cflags="$cflags -I${prefix}/include"
fi
echo $cflags
fi
if test "$echo\_libs" = "yes"; then
libs="$libs $glib\_libs $pthread\_libs"
echo $libs
fi