[MacPorts] #16461: NS-2 installation issue
MacPorts
noreply at macports.org
Thu Sep 4 09:39:19 PDT 2008
#16461: NS-2 installation issue
--------------------------------------+-------------------------------------
Reporter: s_t_e_v_e at rediffmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: | Port:
--------------------------------------+-------------------------------------
I am new to Mac and when I tried installing NS-2 on it from Macports it
gave me the following error:
---> Configuring otcl
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_otcl/work/otcl-1.9"
&& ./configure --prefix=/opt/local --with-Tcl=/opt/local --with-Tcl-
ver=8.4 --with-tk=/opt/local --with-tk-ver=8.4 --prefix=/opt/local
CPPFLAGS='-I/usr/X11R6/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_otcl/work/tcl8.4.9/generic/'
CFLAGS='-I/usr/X11R6/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_otcl/work/tcl8.4.9/generic/'
LDFLAGS='-L/usr/X11R6/lib' " returned error 1
Command output: checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking standard STL is available... no
checking for Tcl.h... -I/opt/local/include
checking for libTcl... -L/opt/local/lib -lTcl
checking for tk.h... -I/opt/local/include
checking for libtk8.4... -L/opt/local/lib -ltk
checking for tk.tcl... no
configure: error: Installation of tk seems incomplete or can't be found
automatically.
Please correct the problem by telling configure where tk is
using the argument --with-tk=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tk=no.
Error: The following dependencies failed to build: tclcl otcl
Error: Status 1 encountered during processing.
I had installed TK from macports prior to installing NS-2 and the file
tk.tcl is loacted at /opt/local/lib/tk8.5.
--
Ticket URL: <http://trac.macports.org/ticket/16461>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list