LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   bash3.1 may cause tcl/tk installtion problem from source code (https://www.linuxquestions.org/questions/linux-software-2/bash3-1-may-cause-tcl-tk-installtion-problem-from-source-code-445987/)

baosheng 05-18-2006 04:13 AM

bash3.1 may cause tcl/tk installtion problem from source code
 
If you wanna install tcl/tk 8.4 from source code, and your bash version is 3.1 you may encounter problems.
I have found this problem when I use the all-in-one installation package of an open source network simulation software, ns-2. In that all-in-one package, tcl-8.4 is designed to be installed via compiling source code. But I encountered the error said ``./configure: line 7624: syntax error near unexpected token `)' ".

And I searched on the web, a useful solution is
  1. go to the ``unix" directory in the tcl or tk folder which are extracted from tar.gz source code ball
  2. execute this command : cp configure{,.orig} && sed "s/relid'/relid/" configure.orig > configure


All times are GMT -5. The time now is 07:59 PM.