Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-07-06
03:57 • Closed ticket [1105348fff]: cygwin builds are failing plus 7 other changes artifact: 666829d063 user: mdejong
2005-01-19
16:17 • New ticket [1105348fff]. artifact: b03272f787 user: tmh

cygwin builds are failing

Closed / Wont Fix1105348fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 20 years ago
Descriptionplain2005-01-19 16:17:10
versions 8.4.8, 8.4.9, and tcl8.5a3

./configure --prefix=/opt/tcl.8.4.9

produces a Makefile that sets

WIN_DIR_NATIVE to cygpath -w $WIN_DIR

in this case WIN_DIR = "."

however

cygpath -w "." returns ".\"

and that extra back slash creates havoc with all 
compiles.

cl -c -nologo -O2 -MD -W3  -
I"C:\cygwin\home\tmh\tcl85a3\tcl8.5a3\generic" -I".\
" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_ST
RING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DHAVE_NO_LPFN_DECLS=1 -DHAVE_NO_FINDEX_ENUMS
=1 -DTCL_CFGVAL_ENCODING=\"cp1252\" -
DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DST
DC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -
DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_S
TRING_H=1 -DHAVE_MEMORY_H=1   -
DBUILD_tcl "C:\cygwin\home\tmh\tcl85a3\tcl8.5a3\g
eneric\regcomp.c" -Foregcomp.obj
Syntax error: Unterminated quoted string
make: *** [regcomp.obj] Error 2

replacing

WIN_DIR = .

with 

WIN_DIR = .\..\win

is one way to correct the problem.
mdejongplain2006-07-06 03:57:14
Logged In: YES 
user_id=90858

Cygwin is not supported as a build system.
Follow the build instructions for the
Mingw based build.
Log in (anonymous is fine) to add a comment.