From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marta Stojanovic To: sourcenav@sources.redhat.com Subject: SNsdk on WinNT ? Date: Wed, 13 Dec 2000 07:09:00 -0000 Message-id: <3A3791D3.B4F3D2CD@nrc.ca> X-SW-Source: 2000-q4/msg00314.html Hi all! I saw a (unfortunatelly unanswered) message from Andrew Brackley on SN mailing list (dated July 27 2000). He had the exact same problem as I do now : I'm not able to run a Tcl script using SNsdk on WinNt. The error message is : Error in startup: CreateProcess failed: The system cannot find the file specified. This message appears when trying to run SNsdk from MSDOS prompt, both alone and with my Tcl file as an argument. I assumed that it has something to do with environment, so I set TCL_LIBRARY as I did on Linux, I also put SN452/bin and SN452/share/Tcl8.1 in PATH, but it doesn't work. I tried to run it from the console opened by hyper, but it doesn't work either. I would really like to avoid using Cygwin - as Andrew proposed -(to make it easier to use. From the SN doc it seems that it should work without it. Do you have any idea ? Thanks a lot in advance. Kind regards, Marta. P.S. My script works fine on Linux (I set TCL_LIBRARY and left the first three lines used to start wish : "exec hyper ..."). For NT I left out these lines. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mo DeJong To: sourcenav@sources.redhat.com Subject: Re: SNsdk on WinNT ? Date: Wed, 13 Dec 2000 12:34:00 -0000 Message-id: References: <3A3791D3.B4F3D2CD@nrc.ca> X-SW-Source: 2000-q4/msg00319.html On Wed, 13 Dec 2000, Marta Stojanovic wrote: > Hi all! > > I saw a (unfortunatelly unanswered) message from Andrew Brackley on SN > mailing list (dated July 27 2000). He had the exact same problem as I do > > now : I'm not able to run a Tcl script using SNsdk on WinNt. The error > message is : > > Error in startup: CreateProcess failed: The system cannot find the > file specified. > > This message appears when trying to run SNsdk from MSDOS prompt, both > alone and with my Tcl file as an argument. > > I assumed that it has something to do with environment, so I set > TCL_LIBRARY as I did on Linux, I also put SN452/bin and > SN452/share/Tcl8.1 in PATH, but it doesn't work. > > I tried to run it from the console opened by hyper, but it doesn't work > either. > > I would really like to avoid using Cygwin - as Andrew proposed -(to make > > it easier to use. From the SN doc it seems that it should work without > it. CreateProcess is an NT thing. It is like a fork+exec, it must mean that the system can not find a program it wants to run. This has nothing to do with TCL_LIBRARY or anything like that. You are going to have to debug this one yourself, I would say double check that the fully qualified SN bin dir is on your PATH. You should just be able to run SN by double clicking on the SN program from the Windows Explorer. Good luck. Mo DeJong Red Hat Inc From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marta Stojanovic To: sourcenav@sourceware.cygnus.com Subject: Re: SNsdk on WinNT ? Date: Wed, 13 Dec 2000 14:14:00 -0000 Message-id: <3A37F55A.C9D4A3A9@nrc.ca> X-SW-Source: 2000-q4/msg00323.html >CreateProcess is an NT thing. It is like a fork+exec, it must >mean that the system can not find a program it wants to run. >This has nothing to do with TCL_LIBRARY or anything like >that. You are going to have to debug this one yourself, >I would say double check that the fully qualified SN bin dir >is on your PATH. You should just be able to run SN by double >clicking on the SN program from the Windows Explorer. I just wanted to clarify : Source Navigator works very well on NT, it produces all the database files. But I would like to use your Database API, which I do get running my script with : SNsdk