[M3devel] my status on win32
Jay
jayk123 at hotmail.com
Wed Jan 16 07:04:48 CET 2008
Note that the file is called "NT386.datenow" in the cm3 directory.
I will be changing that too. Outputs don't belong outside of the target directory, unless there is some deliberate need to shield from the frequency of "clean" / "realclean", like if only some other "really really clean" event should cause them to be regenerated. I believe Olaf oked this privately but like I said, I want to change a bit more here, and need to test on Posix.
Also there's another file with a dot in front of it, and I generally oppose all "hiding" of files -- Unix dot, or Windows attrib -h.
- Jay
Date: Tue, 15 Jan 2008 23:55:39 -0500From: rcoleburn at scires.comTo: m3devel at elegosoft.com; jayk123 at hotmail.comSubject: RE: my status on win32
Jay:
In the file version.quake, I made the following edit:
changed line: local datefn = "../" & TARGET & ".datenow"
to: local datefn = ".." & SL & TARGET & ".datenow"
This change has the effect of putting a backward slash in the pathname instead of a forward slash, so we getC:\CM3_CVS_SourceTree\m3-sys\cm3\src\..\NT386.datenow
So from that perspective, the change seems good.
Unfortunately, I still get the error that this file can't be opened.
A quick check of C:\CM3_CVS_SourceTree\m3-sys\cm3\NT386 shows that the file .datenow does not exist.
Regards,
Randy>>> Jay <jayk123 at hotmail.com> 1/15/2008 11:03 PM >>>That's not too bad really. 1) I'd recommend putting cm3 at the start of the path instead of the end. 2) Just comment out the offending code to make progress. It's not critical. >> C:\CM3_CVS_SourceTree\m3-sys\cm3\src\../NT386.datenow The code is: C:\CM3_CVS_SourceTree\m3-sys\cm3\src\version.quake or such, included by cm3\src\m3makefile. Does the file exist?Does version.quake use "/" or "SL"? If it uses "/", try replacing with SL (and ampersand for string concat). Could be that a newer binary distributions works better with forward slashes. > 4. > 5.
> 6. Launch cygwin from desktop icon.
Cygwin is only needed for cvs, I think you realize.
Could you send me offline the result of just running "set" after running vcvarsall?
I'd like to adapt pylib.py to it maybe.
(I can start from 5.1.6 and will try 4.1 at some point.)
- Jay
Date: Tue, 15 Jan 2008 22:52:59 -0500From: rcoleburn at scires.comTo: m3devel at elegosoft.com; jayk123 at hotmail.comSubject: my status on win32
Jay et al:
I've listed below the steps I've undertaken to try and build the current sources on Windows XP.
I've also attached a text file showing the output I got when trying to build everything using Jay's upgrade.cmd script.
Unfortunately, I'm getting a build error (see below).
Please advise on how to resolve.
STEPS I TOOK:
=========
1. Download Microsoft Visual Studio 2008 Express Edition All-in-One .ISO file and burn to DVD. http://www.microsoft.com/express/download/
2. Install Microsoft Visual C++ 2008 Express Edition from DVD.
3. Use "Microsoft Update" service to check for updates / service packs.
4. Download cygwin setup program from http://cygwin.com/
5. Ran cygwin setup.exe program to install cygwin for all users. Under "Devel" category, make certain to select "cvs" for installation.
6. Launch cygwin from desktop icon.
7. In cygwin command shell window, execute following two commands, making sure to give email as password when prompted for login: cvs -d :pserver:anonymous at modula3.elegosoft.com:/usr/cvs login cvs -d :pserver:anonymous at modula3.elegosoft.com:/usr/cvs checkout cm3
8. Moved resulting C:\cygwin\home\rcoleburn\cm3 to C:\CM3_CVS_SourceTree Note that you should replace "rcoleburn" above with your Windows login username.
9. Download cm3-min-WIN32-NT386-d5.5.0.zip and cm3-min-WIN32-NT386-d5.5.0-symbols.zip from http://modula3.elegosoft.com/cm3/download.html
10. Unzipped cm3-min-WIN32-NT386-d5.5.0.zip and stored resulting cm3 folder at C:\cm3
11. Unzipped cm3-min-WIN32-NT386-d5.5.0-symbols.zip and stored resulting symbols folder at C:\cm3\symbols
12. Launch Windows Command Prompt shell. The following steps represent commands executed within this shell.
13. path %path%;c:\cm3\bin
14. "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
15. cd C:\CM3_CVS_SourceTree\scripts\win
16. upgrade.cmd
ERROR I'M GETTING:
=============
=== package C:\CM3_CVS_SourceTree\m3-sys\cm3 ===+++ "cm3 -build -DROOT=C:\\CM3_CVS_SourceTree -DCM3_VERSION_TEXT=d5.5.1 -DCM3_VERSION_NUMBER=050501 -DCM3_LAST_CHANGED=2007-12-30 && cm3 -ship -DROOT=C:\\CM3_CVS_SourceTree -DCM3_VERSION_TEXT=d5.5.1 -DCM3_VERSION_NUMBER=050501 -DCM3_LAST_CHANGED=2007-12-30" +++--- building in NT386 ---
ignoring ..\src\m3overrides
"C:\CM3_CVS_SourceTree\m3-sys\cm3\src\version.quake", line 136: quake runtime error: unable to open "C:\CM3_CVS_SourceTree\m3-sys\cm3\src\../NT386.datenow" forreading
--procedure-- -line- -file---include -- <builtin>version_impl 136 C:\CM3_CVS_SourceTree\m3-sys\cm3\src\version.quakeinclude_dir 20 C:\CM3_CVS_SourceTree\m3-sys\cm3\src\m3makefile 8 C:\CM3_CVS_SourceTree\m3-sys\cm3\NT386\m3make.args
Fatal Error: package build failedERROR: "cm3 -build -DROOT=C:\\CM3_CVS_SourceTree -DCM3_VERSION_TEXT=d5.5.1 -DCM3_VERSION_NUMBER=050501 -DCM3_LAST_CHANGED=2007-12-30 && cm3 -ship -DROOT=C:\\CM3_CVS_SourceTree -DCM3_VERSION_TEXT=d5.5.1 -DCM3_VERSION_NUMBER=050501 -DCM3_LAST_CHANGED=2007-12-30"ERROR: cd C:\CM3_CVS_SourceTree\m3-sys\cm3ERROR: set INSTALLROOT=c:\cm3
Regards,
Randy
Share life as it happens with the new Windows Live. Start sharing!
_________________________________________________________________
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080116/554c6863/attachment-0002.html>
More information about the M3devel
mailing list