delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "Michael Foy" <foy AT colorado DOT edu> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Problems compiling tcl8.1 using mingw tools with cygwin -mno-cygwin |
Date: | Sun, 8 Apr 2001 00:06:43 -0600 |
Message-ID: | <PLEAKHODDPHFEMKNLILNCEIDCAAA.foy@colorado.edu> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
I am having problems compiling tcl/tk 8.1 with cygwin/mingw using -mno-cygwin. The packages compile with a couple of warnings about initialization from incompatible pointers. However they od not function when installed. for example when running tclsh81 you get $ tclsh81 application-specific initialization failed: Can't find a usable init.tcl in the following directories: C:/cygwin/lib/tcl8.1 C:/cygwin/lib/tcl8.1 C:/lib/tcl8.1 C:/lib/tcl8.1/librar y C:/library C:/../tcl8.1/library ../tcl8.1/library This probably means that Tcl wasn't installed properly. % This looks like a path problem except the paths being used are windows paths. Is this a problem? Did I make a Makefile error? after adding the directory with the init.tcl file i get $ ls -l /usr/share/tcl8.1/init.tcl -rw-r--r-- 1 mike None 16062 Apr 6 23:42 /usr/share/tcl8.1/init.tc l mike AT MYSTERY ~/tcldev $ export TCL_LIBRARY mike AT MYSTERY ~/tcldev $ tclsh81 application-specific initialization failed: Can't find a usable init.tcl in the following directories: /usr/share/tcl8.1 /usr/share/tcl8.1 C:/cygwin/lib/tcl8.1 C:/cygwin/lib/tcl8. 1 C:/lib/tcl8.1 C:/lib/tcl8.1/library C:/library C:/../tcl8.1/library ../tcl8.1/ library This probably means that Tcl wasn't installed properly. % mike AT MYSTERY ~/tcldev $ when trying to compile programs against the libraries I get $ gcc hello.c -o hello -I/usr/local/tcl8.1/include -I/usr/local/tk81/include -I/usr/include/m ingw -L/usr/lib/mingw L/usr/local/tcl8.1/lib -L/usr/local/tk81/lib -lm -ltcl81 -ltk81 -mno-cygwin In file included from /usr/local/tk81/include/tk.h:73, from hello.c:11995: /usr/local/tk81/include/X11/Xlib.h:1220: tkIntXlibDecls.h: No such file or direc tory In file included from hello.c:11995: /usr/local/tk81/include/tk.h:1202: tkDecls.h: No such file or directory mike AT MYSTERY ~/tcldev Any ideas? -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |