#16461 closed defect (duplicate)
otcl fails to find tk
Reported by: | s_t_e_v_e@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | otcl |
Description
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.
Change History (3)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Port: | otcl added |
---|---|
Summary: | NS-2 installation issue → otcl fails to find tk |
comment:2 Changed 16 years ago by blb@…
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Dup of #14888.