#3914 installing under cygwin broken

obsolete: 8.5.0
closed-invalid
Mo DeJong
5
2008-01-25
2008-01-24
Erik Leunissen
No

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

Discussion

    • labels: --> 53. Configuration and Build Tools
    • milestone: --> obsolete: 8.5.0
    • assigned_to: nobody --> mdejong
     
  • Mo DeJong
    Mo DeJong
    2008-01-25

    Logged In: YES
    user_id=90858
    Originator: NO

    Building under Cygwin is not supported. Use Mingw instead.

     
  • Mo DeJong
    Mo DeJong
    2008-01-25

    • status: open --> closed-invalid
     
  • Erik Leunissen
    Erik Leunissen
    2008-01-25

    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.

     
  • Erik Leunissen
    Erik Leunissen
    2008-01-25

    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

     
  • Erik Leunissen
    Erik Leunissen
    2008-01-25

     
    Attachments
  • Erik Leunissen
    Erik Leunissen
    2008-01-25

    Logged In: YES
    user_id=113903
    Originator: YES

    File Added: Makefile

     
  • Erik Leunissen
    Erik Leunissen
    2008-01-25

     
    Attachments
  • Erik Leunissen
    Erik Leunissen
    2008-01-25

    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.

     
  • Mo DeJong
    Mo DeJong
    2008-01-25

    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.