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

[ns] I have a problem with the command "./configure"



Good morning.
I have read  http://www.isi.edu/nsnam/ns/ns-problems.html where I have found my problem
Problem:Configure on some platforms fail with this error message:
checking for tk.h... configure: error: NONE is not a directory
 
Solution:Apply the following patch to configure (thanks to the report and fix by Guillermo Rodriguez Garcia) :
 
--- configure.old       Tue Feb 22 14:25:15 2000
+++ configure   Mon Mar  6 12:45:35 2000
@@ -2021,7 +2021,7 @@
   withval="$with_tk"
   d=$withval
 else
-  d=$prefix
+  d=""
 fi
 
Sorry for my ignorance, but I'd like to know if what I have to do is to modify the lines in the file configure :
# Check whether --with-tk or --without-tk was given.
if test "${with_tk+set}" = set; then
  withval="$with_tk"
  d=$withval
else
  d=$prefix
fi
 
with:
 
# Check whether --with-tk or --without-tk was given.
if test "${with_tk+set}" = set; then
  @@ -2021,7 +2021,7 @@
   withval="$with_tk"
   d=$withval
 else
-  d=$prefix
+  d=""
 fi