Tcl Source Code

View Ticket
Login
Ticket UUID: 3023664
Title: Tcl 8.5.8 fails to build with Microsoft VS 2010 C compiler
Type: Bug Version: obsolete: 8.5.8
Submitter: Created on: 2010-07-01 06:11:39
Subsystem: 53. Configuration and Build Tools Assigned To: stwo
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2010-07-01 13:28:01
Resolution: Duplicate Closed By: nobody
    Closed on: 2010-07-01 06:28:01
Description:
On Windows 7 x64, I tried to build Tcl 8.5.8

To build it, I ran this script in a new command prompt:

set CPU=AMD64
set MSVCver=10.0
call "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /Release /x64
@title VS 2010 x64

Then, I changed directories to C:\tcl8.5.8\win and executed "nmake -f makefile.vc".
It complained, saying:


C:\tcl8.5.8\win>nmake -f makefile.vc

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

makefile.vc(24) : fatal error U1050:
You need to run vcvars32.bat from Developer Studio or setenv.bat from the
Platform SDK first to setup the environment.  Jump to this line to read
the build instructions.
Stop.
C:\tcl8.5.8\win>

So, I ran vcvarsall.bat:

C:\tcl8.5.8\win>"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
C:\tcl8.5.8\win>

This changed nothing in the environment variables, and yet it fixed the problem with the
compiler so that "name -f makefile.vc" worked about 1/8 of the way. When nmake failed,
I got this compiler output: 
  <attached in tcl8.5.8-build.log>
I expected the build process to finish.
User Comments: added on 2010-07-01 13:28:01:

allow_comments - 1

added on 2010-07-01 13:27:43:
Duplicate of ID #3019634

added on 2010-07-01 13:11:39:

File Added - 378908: tcl8.5.8-build.log

Attachments: