Ticket #14888 (new defect)
Problems with otcl installation with MacPorts
|Reported by:||raiyan.kabir@…||Owned by:||macports-tickets@…|
|Keywords:||Cc:||ryandesign@…, s_t_e_v_e@…, jursonovicst@…, neumann@…|
Dear all, I found no helping site for this problem with otcl installation on Mac OS X 10.5.2. I'm using Macport. When ever I try to install otcl I found that the configure script failed to find the the tk installation. But is I try to install tk again Macport says that its already installed.
Actually I'll trying to install ns-2. To do that otcl is must. I need to install ns-2. a few days ago I installed ns-2 on Ubuntu 7.10. That was not also smooth. And the culprit was otcl. I had to download several patches and apply them on otcl to make the package work. port is giving me the following error massages.
Last login: Sun Mar 23 12:34:49 on ttys000 Xcore:~ raiyan$ open /opt Xcore:~ raiyan$ sudo port install otcl Password: Portfile changed since last build; discarding previous state. ---> Fetching otcl ---> Verifying checksum(s) for otcl ---> Extracting otcl ---> Applying patches to otcl ---> 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... yes 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: Status 1 encountered during processing. Xcore:~ raiyan$
Is their any body in the forum who can help me to figure out what to do? I'm running 10.5.2 on MacBook 2.0GHz and 1GB ram.
Please let me know what to do?