Hello friends,
I am having problem when trying to install VOMIT (Voice Over Missconfigured Interent Telephones)
I took the source from vomit.xtdnet.nl .when I try to run
./configure
I get this error message
"configure: error: dnet-config not found"
and the confugration process stops
even when I issue
./configure --without-libdnet
I get this error message:
"configure: error: Please specify directory containing dnet-config when using --with-libdnet"
I believe that there is an error in the configuration script*.
My problem that I not familiur with bash script. that I can't change it.
Unfortionaltly there was a Debian package on the link
http://kalug.linux.org.tw/~chihchun/debian
but not accessable any more
Any hint is highly appreciated, and thanks in advance.
In peace,
Mohammad
*the suspected script is :
#######################################
# Check whether --with-libdnet or --without-libdnet was given.
if test "${with_libdnet+set}" = set; then
withval="$with_libdnet"
case "$withval" in
yes|no)
{ { echo "$as_me:2162: error: Please specify
directory containing dnet-config when using --with-libdnet" >&5
echo "$as_me: error: Please specify directory containing dnet-config when using --with-libdnet" >&2;}
{ (exit 1); exit 1; }; }
;;
*)
echo "$as_me:2167: checking for libdnet" >&5
echo $ECHO_N "checking for libdnet... $ECHO_C" >&6
echo "$as_me:2169: result: $withval" >&5
echo "${ECHO_T}$withval" >&6
if test -f $withval/src/libdnet.a; then
DNETINC="-I$withval/include"
DNETLIB="-L$withval/src -ldnet `$withval/dnet-config --libs`"
elif test -x $withval/bin/dnet-config; then
DNETINC="`$withval/bin/dnet-config --cflags`"
DNETLIB="`$withval/bin/dnet-config --libs`"
else
echo "$as_me:2178: result: no" >&5
echo "${ECHO_T}no" >&6
{ { echo "$as_me:2180: error: dnet-config not found in $withval/bin" >&5
echo "$as_me: error: dnet-config not found in $withval/bin" >&2;}
{ (exit 1); exit 1; }; }
fi
;;
esac
echo "$as_me:2186: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
# Extract the first word of "dnet-config", so it can be a program name with args.
set dummy dnet-config; ac_word=$2
echo "$as_me:2191: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_dnetconfig+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $dnetconfig in
[\\/]* | ?:[\\/]*)
ac_cv_path_dnetconfig="$dnetconfig" # Let the user override the test with a path.
;;
*)
ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_dnetconfig="$ac_dir/$ac_word"
echo "$as_me:2208: found $ac_dir/$ac_word" >&5
break
fi
done
############################################