public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Re: SNsdk on WinNT ?
@ 2000-12-13 14:14 Marta Stojanovic
  2000-12-13 14:36 ` Ben Elliston
  0 siblings, 1 reply; 18+ messages in thread
From: Marta Stojanovic @ 2000-12-13 14:14 UTC (permalink / raw)
  To: sourcenav

>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 <script name> ...

Typing "SNsdk" gives me previously mentioned error message. Typing
"hyper" opens Tcl console, but when I go to File - Source .. .and try to
open any Tcl script (from SN examples) it crashes.

Yes, the full path of bin/ directory is in the PATH. It recognizes
"SNsdk" but it doesn't find some files. When I searched for the string
"CreateProcess ... " I found it in all .exe files from the bin
directory. That's why I thought that it has something to do with
environment variables.

I'll keep trying, thanks for any tip you can think of.

Kind regards,
Marta.




^ permalink raw reply	[flat|nested] 18+ messages in thread
* SNsdk on WinNT ?
@ 2000-12-13  7:09 Marta Stojanovic
  2000-12-13 12:34 ` Mo DeJong
  2000-12-13 23:11 ` Niels Skou Olsen
  0 siblings, 2 replies; 18+ messages in thread
From: Marta Stojanovic @ 2000-12-13  7:09 UTC (permalink / raw)
  To: sourcenav

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.



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2000-12-15 14:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-13 14:14 SNsdk on WinNT ? Marta Stojanovic
2000-12-13 14:36 ` Ben Elliston
2000-12-13 14:46   ` Syd Polk
2000-12-13 15:02   ` Ian Roxborough
  -- strict thread matches above, loose matches on Subject: below --
2000-12-13  7:09 Marta Stojanovic
2000-12-13 12:34 ` Mo DeJong
2000-12-13 23:11 ` Niels Skou Olsen
2000-12-14  0:07   ` Xavier Nodet
2000-12-14  0:38     ` Niels Skou Olsen
2000-12-14  1:05       ` Ian Roxborough
2000-12-14  7:12         ` Marta Stojanovic
2000-12-14  9:24     ` Marta Stojanovic
2000-12-14 10:29       ` Xavier Nodet
2000-12-14 11:02         ` Marta Stojanovic
2000-12-14 11:25           ` Syd Polk
2000-12-15 14:41             ` Marta Stojanovic
2000-12-14 11:04         ` Ian Roxborough
2000-12-14 11:26           ` Syd Polk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).