installing under cygwin broken
Closed / Invalid1879227fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-01-24 21:03:07
Installation under cygwin fails as follows:
$ make install
Installing tcl85g.dll to /usr/local/bin/
Installing tclsh85g.exe to /usr/local/bin/
Installing tclpip85g.dll to /usr/local/bin/
Installing tclConfig.sh to /usr/local/lib/
Installing libtcl85g.a to /usr/local/lib/
Installing libtclstub85g.a to /usr/local/lib/
installing tcldde13g.dll
installing tclreg12g.dll
Installing time zone data
Creating tzdata
error deleting "/usr/local/lib/tcl8.5/tzdata": no such file or directory
while executing
"file delete -force -- $d2"
(procedure "copyDir" line 5)
invoked from within
"copyDir [lindex $argv 0] [lindex $argv 1]"
(file "../../../../SOURCES/tcl8.5.0/win/../tools/installData.tcl" line 53)
make: *** [install-tzdata] Error 1
Erik
dkf Ticket [1879227fff]: 3 changes
[History diff]2008-01-25 15:59:56
mdejongplain2008-01-25 16:16:58
Logged In: YES user_id=90858 Originator: NO Building under Cygwin is not supported. Use Mingw instead.
eriklnsplain2008-01-26 02:56:55
Logged In: YES
user_id=113903
Originator: YES
1. Then why does ./configure inspect whether it is invoked from a cygwin environemnt?
2. Then why does ./configure create a Makefile with the following setting for CYGPATH:
CYGPATH = cygpath -w
if it finds that it is invoked from a cygwin environment?
3. Then why does the make invoke "cygpath -w" to adapt path names to native format (using "cygpath -w") if it finds that it is invoked from a cygwin environemnt?
I know that the gcc compiler provided provided by cygwin is not supported (and I do not use it). But that is different from the entire cygwin environment not being supported.
eriklnsplain2008-01-26 03:06:35
File Added - 263760: configure.out Logged In: YES user_id=113903 Originator: YES See also attached output from ./configure > ./configure.out, especially the lines 15 and 29 See also attached Makefile resulting from that invocation, especially lines 104, 106 - 109 File Added: configure.out
eriklnsplain2008-01-26 03:07:12
File Added - 263761: Makefile Logged In: YES user_id=113903 Originator: YES File Added: Makefile
eriklnsplain2008-01-26 03:39:49
Logged In: YES user_id=113903 Originator: YES And finally, why does win/README from the Tcl source distribution say: "An error will be generated by the configure script if you try to compile Tcl with the Cygwin version of gcc instead of the Mingw version. Check your PATH if you get this error." That suggests at least that Cygwin is supported as long as you use the MinGW gcc instead of cygwin's gcc.
mdejongplain2008-01-26 04:30:07
Logged In: YES user_id=90858 Originator: NO The readme states that either VC++ or Mingw is required to build. I will remove the text about cygwin and explicitly state that it is not supported in the README. The reason Cygwin is not supported is because it does not work and it will not work without a dedicated person that keeps the build working as changes are made. Without someone to maintain the Cygwin build, it will continue to be unsupported. There have been many attempts to get things to build under Cygwin in the past, but it is better to just not try to build under Cygwin at all.
Log in (anonymous is fine) to add a comment.
Attachments:
- Makefile [download] added by eriklns on 2008-01-26 03:07:12. [details]
- configure.out [download] added by eriklns on 2008-01-26 03:06:35. [details]