[M3devel] Fwd: [CM3] #1082: Windows NT
Coleburn, Randy
rcolebur at SCIRES.COM
Wed Mar 10 16:35:29 CET 2010
Jay, the CMD files are conveniences I've found useful under Windows.
I can supply some .REG files that will allow you to integrate these into the Explorer shell so that you can start a cm3 command shell in any folder and you can start CM3IDE.
These CMD files ensure the environment is set up properly, including Visual C++.
I understand the use of %~dp0 , but I already have an optional command line argument to deal with different locations for cm3 installation. Nevertheless, I can build in some more search capability in the cmd files if desired. Perhaps using %~dp0 would be a good tactic; I'll look into adding it.
Regards,
Randy
From: jayk123 at hotmail.com [mailto:jayk123 at hotmail.com] On Behalf Of Jay K
Sent: Wednesday, March 10, 2010 1:53 AM
To: Coleburn, Randy; Olaf Wagner; m3devel
Subject: RE: [M3devel] Fwd: [CM3] #1082: Windows NT
%~dp0 is a cmd file's directory. If cmd and exe are next to each other, they can find each other. As well, what does the cmd do that it can't be done in the exe?
- Jay (phone)
> From: rcolebur at SCIRES.COM
> To: wagner at elegosoft.com; m3devel at elegosoft.com
> Date: Tue, 9 Mar 2010 21:10:57 -0500
> Subject: Re: [M3devel] Fwd: [CM3] #1082: Windows NT
>
> Olaf:
>
> The "startReactor.CMD" file is obsolete and no longer in the repository.
>
> The new files are in "scripts\install\windows" and should be copied to the "cm3\bin" folder on a windows installation.
>
> "cm3StartIDE.CMD" replaces "startReactor.CMD". This file makes use of "cm3CommandShell.CMD".
>
> It appears that the problem reporter has his installation rooted at E:\cm3 rather than C:\cm3. So, he will need to set an environment variable "set CM3_ROOT=E:\cm3" to let these scripts know where to find the cm3 installation. Alternately, cm3CommandShell can be invoked with the arguments "Root E:\cm3" to tell it where to find the installation.
>
> Regards,
> Randy
>
> -----Original Message-----
> From: Olaf Wagner [mailto:wagner at elegosoft.com]
> Sent: Tuesday, March 09, 2010 9:26 AM
> To: m3devel
> Subject: [M3devel] Fwd: [CM3] #1082: Windows NT
>
> some windows problems again, probably only help needed...
>
> any takers?
>
> Olaf
>
> ----- Forwarded message from bugs at elego.de -----
> Date: Tue, 09 Mar 2010 02:55:44 -0000
> From: CM3 <bugs at elego.de>
> Reply-To: CM3 <bugs at elego.de>
> Subject: [CM3] #1082: Windows NT
> To: @MISSING_DOMAIN
>
> #1082: Windows NT
> -------------------------------------+--------------------------------------
> Reporter: ilikesci at ... | Owner: wagner
> Type: sw-test | Status: new
> Priority: medium | Milestone:
> Component: misc | Version: 5.8-RC3
> Severity: non-critical | Keywords:
> Relnote: | Org:
> Estimatedhours: 0 | Hours: 0
> Billable: 0 | Totalhours: 0
> Internal: 0 |
> -------------------------------------+--------------------------------------
> Htr:
> Remove msys out of your path.
>
>
> Fix:
>
>
>
> Env:
> Microsoft Windows Vista
>
> -------------------------------------+--------------------------------------
> I am new to modula-3 but have tried a few times to get cm3 working on my
> MS-Windows machines over the years. This is my new attempt at that. I
> downloaded the NT386 files and have them unpacked. I have put cm3 in
> e:\cm3 and have e:\cm3\bin in my path. The first problem I came across is
> that when I ran cminstall it asked for a tar.exe, gzip.exe, and
> msys-1.0.dll. I just happened to have msys installed on my computer and
> dropped them in the folder and cminstall seemed to work. I just wanted to
> let you know. Second, e:\cm3\bin\cm3ide.exe was in the bin directory and
> so I ran it per the suggestion on your website. It asked a few questions
> about what browser I wanted to use and such. The browser does pop up on
> localhost:3800 but times out. The console spits out:
>
> Recovering user state from E:\cm3\bin\CM3_IDE.cfg1
> calling start_browser(http://localhost:3800/)
> starting TCP service
> start /wait "C:\Program Files\Mozilla Firefox\firefox.exe"
> http://localhost:3800/
> CM3-IDE is shutting down because start_browser() returned TRUE.
> TCPServer: IP.Error: TCP.Unexpected *** 10093 *** TCP.Accept
> TCPServer: aborting...
>
> I am thinking maybe something else might be running on the port and
> causing a problem loading page. I copied the startReactor.cmd to the bin
> directory and tried it and got the following:
>
>
> -------------------------------------------------------------------------------
> startReactor.CMD, written by R.C.Coleburn 08/13/2003, v1.13 08/29/2003 by
> RCC
>
> -------------------------------------------------------------------------------
> FATAL ERROR: Unable to find CM3 installation.
> CM3_ROOT expected in folder C:\cm3
> CM3_BIN expected in folder C:\cm3\bin
> CM3.EXE expected in file C:\cm3\bin\cm3.exe
> Reactor.EXE expected in file C:\cm3\bin\reactor.exe
> cm3SetupCmdEnv.CMD expected in file C:\cm3\bin\cm3SetupCmdEnv.CMD
>
> -------------------------------------------------------------------------------
> Which it is installed on e: instead of c: but there is not a reactor.exe
> file in the bin directory either. From that information I am thinking I
> should define CM3_ROOT and CM3_BIN in my environment? I put CM3_HOME as
> e:\cm3.
>
> This is FYI and will let you know if I continue and any other experiences
> that might be of use.
>
> Thank You,
> Micah
>
> --
> Ticket URL: <http://projects.elego.de/cm3/ticket/1082>
> CM3 <http://projects.elego.de/cm3>
> Critical Mass Modula3 Compiler
>
>
> ----- End forwarded message -----
>
>
> --
> Olaf Wagner -- elego Software Solutions GmbH
> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
>
>
> CONFIDENTIALITY NOTICE: This email and any attachments are intended solely for the use of the named recipient(s). This email may contain confidential and/or proprietary information of Scientific Research Corporation. If you are not a named recipient, you are prohibited from reviewing, copying, using, disclosing or distributing to others the information in this email and attachments. If you believe you have received this email in error, please notify the sender immediately and permanently delete the email, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the email or attachments.
>
> EXPORT COMPLIANCE NOTICE: This email and any attachments may contain technical data subject to U.S export restrictions under the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). Export or transfer of this technical data and/or related information to any foreign person(s) or entity(ies), either within the U.S. or outside of the U.S., may require advance export authorization by the appropriate U.S. Government agency prior to export or transfer. In addition, technical data may not be exported or transferred to certain countries or specified designated nationals identified by U.S. embargo controls without prior export authorization. By accepting this email and any attachments, all recipients confirm that they understand and will comply with all applicable ITAR, EAR and embargo compliance requirements.
________________________________
CONFIDENTIALITY NOTICE: This email and any attachments are intended solely for the use of the named recipient(s). This email may contain confidential and/or proprietary information of Scientific Research Corporation. If you are not a named recipient, you are prohibited from reviewing, copying, using, disclosing or distributing to others the information in this email and attachments. If you believe you have received this email in error, please notify the sender immediately and permanently delete the email, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the email or attachments.
EXPORT COMPLIANCE NOTICE: This email and any attachments may contain technical data subject to U.S export restrictions under the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). Export or transfer of this technical data and/or related information to any foreign person(s) or entity(ies), either within the U.S. or outside of the U.S., may require advance export authorization by the appropriate U.S. Government agency prior to export or transfer. In addition, technical data may not be exported or transferred to certain countries or specified designated nationals identified by U.S. embargo controls without prior export authorization. By accepting this email and any attachments, all recipients confirm that they understand and will comply with all applicable ITAR, EAR and embargo compliance requirements.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100310/71414d7c/attachment-0002.html>
More information about the M3devel
mailing list