Posted to tcl by apn at Wed Sep 08 14:03:11 GMT 2010view pretty

Firefox Firebug dump
REQUEST HEADERS

Host: wiki.tcl.tk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://wiki.tcl.tk/_/edit?N=24366
Cookie: human=1283400188316943; wikit_e=APN

POST DATA (Parsed and raw form, as displayed by Firebug)

Parametersapplication/x-www-form-urlencoded
A	0
C	[APN] 20100908 Instructions below are out of date. See [kitgen] for latest. The caveats about SDK paths still apply though. [APN] 20090910 NOTE: Binaries built using the instructions below are available from [http://cid-26d42328345bf6dd.skydrive.live.com/browse.aspx/Public/tcl-tk/8.6]. Needing the ability to build tclkits on Windows from CVS head on a semi-regular basis, I finally got around to trying Pat Thoyts' instructions from the starkit mailing list [http://groups.google.com/group/starkit/browse_thread/thread/ce8d1c347d9674ac] to build my own kit. Read that reference first. There were a couple of things that caused me grief having to do with my environment (Visual Studio 6.0, XP). Hence this page - so others do not go through the same pain. The issues were: * Do not have spaces in any directory paths. nmake spits weird error messages with no hint as to the real problem. This was my mistake #1. * You need to install the Platform SDK - I used the 2003 SP1 version which I already had. This is required for theme support as Visual Studio 6.0 does not come with the required include files. * Do not run setenv.cmd from the Platform SDK. This was my mistake #2. Instead explicitly set INCLUDE env var from the command line as shown below. Here are the explicit instructions. Note this builds [Tclkit Lite] as it uses Vlerq and not Mk. Retrieve the latest version of kitgen and create directories for the Tcl-Tk sources. The 8.6 directory will contain the version-specific source, 8.x will contain the version-independent source. I believe the directory names do not matter. ====== svn checkout svn://svn.equi4.com/kitgen/trunk kitgen cd kitgen mkdir 8.6 8.x ====== Check out the Tcl-Tk sources. ====== cd 8.6 cvs -z9 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co tcl cvs -z9 -d:pserver:anonym...@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit co tk cd .. ====== Check out the version-independent stuff - thread, tclvfs, zlib and vqtcl (Vlerq). Note as stated before, we are building with Vlerq so we will land up with [Tclkit Lite]. If you wanted full [Tclkit] support, you need Mk and Itcl as well. I have not tried this. In particular, the latest Itcl fails to build with Visual Studio 6.0 because of some max symbol length error. ====== cd 8.x cvs -z9 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co thread cvs -z9 -d:pserver:anonym...@tclvfs.cvs.sourceforge.net:/cvsroot/tclvfs co tclvfs svn co svn://svn.equi4.com/vlerq/branches/v4/tcl vqtcl (for zlib get the tar.gz from equi4 and unpack in 8.x/zlib) cd .. ====== Create the makefile ====== cd 8.6 mkdir win32-ix86 cd win32-i386 echo !include ..\..\Makefile.vc > Makefile ====== Set up the build environment. Assumes Visual Studio 6.0 is on your path (for vcvars32). Note INCLUDE environment is prefixed with the path to the SDK include directory. Replace the SDK path with wherever it is installed. I used the short name for safety, though the long name may work as well. ====== vcvars32 set INCLUDE=c:\progra~1\MIC977~1\include;%INCLUDE% ====== The actual build. This will build tclkit-cli.exe and tclkit-gui.exe, the tclsh and wish versions respectively. kit-cli.exe and kit-gui.exe are temporary exes (I think), do not use them. ====== nmake VERSION=86 ====== That was it (for me, anyways). For verification, I used tclkit-cli to build the [BowWow] server which ran without any issues (that's the extent of the testing!) <<categories>> !!!!!! %| [Category Tclkit] | [Category Deployment] |% !!!!!!
N	24366
O	1254977516 APN@122.167.111.175
_charset_	UTF-8
save	Save your changes
Source
Content-Type: application/x-www-form-urlencoded Content-Length: 4521 Content-Type: application/x-www-form-urlencoded Content-Length: 4448 save=Save+your+changes&C=%5BAPN%5D+20100908+Instructions+below+are+out+of+date.+See+%5Bkitgen%5D+for+latest.+The+caveats+about+SDK+paths+still+apply+though.%0D%0A%0D%0A%5BAPN%5D+20090910%0D%0A%0D%0ANOTE%3A+Binaries+built+using+the+instructions+below+are+available+from+%5Bhttp%3A%2F%2Fcid-26d42328345bf6dd.skydrive.live.com%2Fbrowse.aspx%2FPublic%2Ftcl-tk%2F8.6%5D.%0D%0A%0D%0ANeeding+the+ability+to+build+tclkits+on+Windows+from+CVS+head+on+a%0D%0Asemi-regular+basis%2C+I+finally+got+around+to+trying+Pat+Thoyts%27%0D%0Ainstructions+from+the+starkit+mailing+list%0D%0A%5Bhttp%3A%2F%2Fgroups.google.com%2Fgroup%2Fstarkit%2Fbrowse_thread%2Fthread%2Fce8d1c347d9674ac%5D%0D%0Ato+build+my+own+kit.+Read+that+reference+first.%0D%0A%0D%0AThere+were+a+couple+of+things+that+caused+me+grief+having+to+do+with+my%0D%0Aenvironment+%28Visual+Studio+6.0%2C+XP%29.+Hence+this+page+-+so+others+do+not+go+through+the+same+pain.%0D%0AThe+issues+were%3A%0D%0A%0D%0A%0D%0A+++*+Do+not+have+spaces+in+any+directory+paths.+nmake+spits+weird+error+messages+with+no+hint+as+to+the+real+problem.+This+was+my+mistake+%231.%0D%0A+++*+You+need+to+install+the+Platform+SDK+-+I+used+the+2003+SP1+version+which+I+already+had.+This+is+required+for+theme+support+as+Visual+Studio+6.0+does+not+come+with+the+required+include+files.%0D%0A+++*+Do+not+run+setenv.cmd+from+the+Platform+SDK.+This+was+my+mistake+%232.+Instead+explicitly+set+INCLUDE+env+var+from+the+command+line+as+shown+below.%0D%0A%0D%0AHere+are+the+explicit+instructions.+Note+this+builds+%5BTclkit+Lite%5D+as+it+uses+Vlerq+and+not+Mk.%0D%0A%0D%0ARetrieve+the+latest+version+of+kitgen+and+create+directories+for+the+Tcl-Tk+sources.+The+8.6+directory+will+contain+the+version-specific+source%2C+8.x+will+contain+the+version-independent+source.+I+believe+the+directory+names+do+not+matter.%0D%0A%0D%0A%3D%3D%3D%3D%3D%3D%0D%0Asvn+checkout+svn%3A%2F%2Fsvn.equi4.com%2Fkitgen%2Ftrunk+kitgen%0D%0Acd+kitgen%0D%0Amkdir+8.6+8.x%0D%0A%3D%3D%3D%3D%3D%3D%0D%0A%0D%0ACheck+out+the+Tcl-Tk+sources.%0D%0A%0D%0A%3D%3D%3D%3D%3D%3D%0D%0Acd+8.6%0D%0Acvs+-z9+-d%3Apserver%3Aanonymous%40tcl.cvs.sourceforge.net%3A%2Fcvsroot%2Ftcl+co+tcl%0D%0Acvs+-z9+-d%3Apserver%3Aanonym...%40tktoolkit.cvs.sourceforge.net%3A%2Fcvsroot%2Ftktoolkit+co+tk%0D%0Acd+..%0D%0A%3D%3D%3D%3D%3D%3D%0D%0A%0D%0ACheck+out+the+version-independent+stuff+-+thread%2C+tclvfs%2C+zlib+and+vqtcl+%28Vlerq%29.+Note+as+stated+before%2C+we+are+building+with+Vlerq+so+we+will+land+up+with+%5BTclkit+Lite%5D.+If+you+wanted+full+%5BTclkit%5D+support%2C+you+need+Mk+and+Itcl+as+well.+I+have+not+tried+this.+In+particular%2C+the+latest+Itcl+fails+to+build+with+Visual+Studio+6.0+because+of+some+max+symbol+length+error.%0D%0A%0D%0A%3D%3D%3D%3D%3D%3D%0D%0Acd+8.x%0D%0Acvs+-z9+-d%3Apserver%3Aanonymous%40tcl.cvs.sourceforge.net%3A%2Fcvsroot%2Ftcl+co+thread%0D%0Acvs+-z9+-d%3Apserver%3Aanonym...%40tclvfs.cvs.sourceforge.net%3A%2Fcvsroot%2Ftclvfs+co+tclvfs%0D%0Asvn+co+svn%3A%2F%2Fsvn.equi4.com%2Fvlerq%2Fbranches%2Fv4%2Ftcl+vqtcl%0D%0A%28for+zlib+get+the+tar.gz+from+equi4+and+unpack+in+8.x%2Fzlib%29%0D%0Acd+..%0D%0A%3D%3D%3D%3D%3D%3D%0D%0A%0D%0ACreate+the+makefile%0D%0A%0D%0A%3D%3D%3D%3D%3D%3D%0D%0Acd+8.6%0D%0Amkdir+win32-ix86%0D%0Acd+win32-i386%0D%0Aecho+%21include+..%5C..%5CMakefile.vc+%3E+Makefile%0D%0A%3D%3D%3D%3D%3D%3D%0D%0A%0D%0ASet+up+the+build+environment.+Assumes+Visual+Studio+6.0+is+on+your+path+%28for+vcvars32%29.+Note+INCLUDE+environment+is+prefixed+with+the+path+to+the+SDK+include+directory.+Replace+the+SDK+path+with+wherever+it+is+installed.+I+used+the+short+name+for+safety%2C+though+the+long+name+may+work+as+well.%0D%0A%0D%0A%3D%3D%3D%3D%3D%3D%0D%0Avcvars32%0D%0Aset+INCLUDE%3Dc%3A%5Cprogra%7E1%5CMIC977%7E1%5Cinclude%3B%25INCLUDE%25%0D%0A%3D%3D%3D%3D%3D%3D%0D%0A%0D%0AThe+actual+build.+This+will+build+tclkit-cli.exe+and+tclkit-gui.exe%2C+the+tclsh+and+wish+versions+respectively.+kit-cli.exe+and+kit-gui.exe+are+temporary+exes+%28I+think%29%2C+do+not+use+them.%0D%0A%0D%0A%3D%3D%3D%3D%3D%3D%0D%0Anmake+VERSION%3D86%0D%0A%3D%3D%3D%3D%3D%3D%0D%0A%0D%0AThat+was+it+%28for+me%2C+anyways%29.+For+verification%2C+I+used+tclkit-cli+to+build+the+%5BBowWow%5D+server+which+ran+without+any+issues+%28that%27s+the+extent+of+the+testing%21%29%0D%0A%0D%0A%0D%0A%3C%3Ccategories%3E%3E%0D%0A%21%21%21%21%21%21%0D%0A%25%7C+%5BCategory+Tclkit%5D+%7C+%5BCategory+Deployment%5D+%7C%25%0D%0A%21%21%21%21%21%21&O=1254977516+APN%40122.167.111.175&_charset_=UTF-8&N=24366&A=0


200 OK Status is received
RESPONSE HEADERS are EMPTY
RESPONSE CONTENT is EMPTY