Re: Error starting DDD 3.3.11

2006-01-20 Thread Igor Peshansky
On Fri, 20 Jan 2006, Kirk Hagberg wrote:

> Greetings,
>
> I compiled the source code for DDD 3.3.11.  The "configure" runs fine,
> and the "make" and "make install" run fine.  When I execute
> /usr/local/bin/ddd I get a Windows pop-up error message that says:
>
> "The application failed to initialize properly (0xc005). Click on OK
> to terminate the application"

In Windows, DLLs have to be executable.  The usual cause of the above
message is a non-executable DLL.

> The version of DDD (3.3.9) that comes with Cygwin runs fine.
>
> I've done a ton of searches: the I'net, Cygwin mailing lists, etc.  Any
> help would be appreciated.

Perhaps the DDD build is doing something Windows-unfriendly (like
"/usr/bin/install -m=0644").  You might find it helpful to examine the
Cygwin-specific patch in the Cygwin DDD package.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Error starting DDD 3.3.11

2006-01-20 Thread Kirk Hagberg
Greetings,

I compiled the source code for DDD 3.3.11.  The "configure" runs fine,
and the "make" and "make install" run fine.  When I execute
/usr/local/bin/ddd I get a Windows pop-up error message that says:

"The application failed to initialize properly (0xc005). Click on OK
to terminate the application"

The version of DDD (3.3.9) that comes with Cygwin runs fine.  

I've done a ton of searches: the I'net, Cygwin mailing lists, etc.  Any
help would be appreciated.

Thanks!
-K


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Running Cygwin on multi-user Windows XP - A fix

2006-01-20 Thread Tom Legbandt
This alone does not solve the problem.  The error appears 
/*incorrectly*/ to be associated with the command line:


X:0 -multiwindow -clipboard

and in the /tmp/XWin  file (log file), the last lines contain:

~snip~
winClipbaordProc - XOpenDisplay () returned and successfully opened the 
display.

WinProcSetSelectionOwner - Clipboard not yet started, aborting.
WinProcSetSelectionOwner - Clipboard not yet started, aborting.
WinMultiWindowXMsgProcErrorHandler - ERROR:  BadWindow (invalid window 
parameter)
WinMultiWindowXMsgProcErrorHandler - ERROR:  BadWindow (invalid window 
parameter)
WinMultiWindowXMsgProcErrorHandler - ERROR:  BadWindow (invalid window 
parameter)

winClipboardProc - Call to select () failed: -1. Bailing.
winClipboardProc - XDestroyWindow succeeded.

winClipboardIOErrorHandler!
~end snip~

But the real problem is that the file extension for cygwin/tmp/XWin is 
missing (or is .txt) upon installation.
Why this works under an administrative account is puzzling to me.  When 
the file is renamed as cygwin/tmp/XWin.*log*, in addition to the change 
to startxwin.bat noted below, the program launches correctly.


/Tom


Syloke J Soong wrote:

google:
cygwin xp non-administrator account

result:
http://www.cygwin.com/ml/cygwin-xfree/2005-02/msg9.html


Archived Thread from Paul Griffith was:

This problem has been solved in the mailing archive. Here is snip from
my modified startxwin.bat file.

---snip

REM
REM Cleanup after last run.
REM

REM Mount local user %TEMP% as /tmp
mount -f -u -t "%TEMP%" /tmp

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0

---snip-

The solution is to mount the users own tmp directory as /tmp for
CygwinX.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
 Behalf Of Tom Legbandt

Sent: Thu, January 19, 2006 2:40 PM
To: cygwin-xfree@cygwin.com
Subject: Running Cygwin on multi-user Windows XP


Cygwin when installed on Windows XP multi user machines will only run 
under the account in which it in installed.  In addition, the account 
must have administrative rights, which is totally unacceptable.


What do I have to do to get it to run on non-administrative accounts 
that were not the account under which it was installed?


/Tom



--
Tom Legbandt
NOAA-CREST Center
The City College of New York
Electrical Engineering Dept.
140th and Convent Ave.
New York, NY  10031
(212) 650-8274  -  (tel)
(212) 650-5459  -  (msg)
(212) 650-5491  -  (fax)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Serious flaw in Cygwin X clipboard integration prevents paste from X to Windows apps

2006-01-20 Thread Stahlman Family


Hi,

Stahlman Brett wrote:
> I will try to look into
> it as I get time over the next few days...

I can quickly build an experimental Xming.exe with any patch you have in
mind.
(Xming shares the same code base as Cygwin/X).
If proven the patch could then be incorporated into Cygwin/X, at leisure,
via an XOrg bugzilla.


Colin,
Thanks. That may prove to be the best route. I'm actually in the
process of attempting to build XWin now, but if I run into problems that
look as though they could take a while to get resolved, I will plan to
send you a patch. If it works as I expect, the change will be limited to
a single file - a single statement, in fact.

Thanks again,
Brett Stahlman




Colin Harrison




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Serious flaw in Cygwin X clipboard integration prevents paste from X to Windows apps

2006-01-20 Thread Colin Harrison
Hi,

Stahlman Brett wrote:
> I will try to look into
> it as I get time over the next few days...

I can quickly build an experimental Xming.exe with any patch you have in
mind.
(Xming shares the same code base as Cygwin/X).
If proven the patch could then be incorporated into Cygwin/X, at leisure,
via an XOrg bugzilla.


Colin Harrison


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/