Re: Need help compiling gaim-1.0.2

2004-11-05 Thread Reid Thompson
Doug Poland wrote:
checking for GTK+ - version >= 2.0.0... gnome-config: not found
gnome-config: not found
no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file
*** config.log for the exact error that occured. This usually
*** means GTK+ is incorrectly installed.
configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you
*** have the GTK+ development headers installed. The latest
*** version of GTK+ is always available at http://www.gtk.org/.
 

gnome-config: not found is a big hint.
http://www.cygwin.com/ml/cygwin/2004-10/msg00226.html
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Help required, Debug Dll using cygwin GDB with an exe compiled with MSVC .NET

2004-11-05 Thread Christopher Faylor
On Sat, Nov 06, 2004 at 07:40:40AM +0500, Sheraz Attari wrote:
>I need some help regarding gdb!
>I've a dll which is build with cygwin g++ with -g option, I want to debug 
>that dll and the
>
>application that is using this dll is compiled with MSVC 7, any way to 
>achieve that ?

No.  There's no way to do that currently.

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



Re: setup.exe won't unpack the download

2004-11-05 Thread Christopher Faylor
On Fri, Nov 05, 2004 at 06:32:07PM -0800, E Shon wrote:
>I'm a lowly newbie and have been trying to install Cygwin in Windows XP 
>for the past 4 days to no avail and am about to throw in the towel...
>[snip]
>- downloaded the default packages to C:\cygwin using setup.exe five 
>separate times after completely erasing all occurences of the word 
>cygwin on my harddrive before a fresh install, and have tried 
>downloading from different mirrors

It sounds like you are using the "download" rather than the "install"
option when running setup.exe.  If you are really a newbie and decided
to change the default while installing, then... why would you do that?

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



Help required, Debug Dll using cygwin GDB with an exe compiled with MSVC .NET

2004-11-05 Thread Sheraz Attari
I need some help regarding gdb!
I've a dll which is build with cygwin g++ with -g option, I want to debug 
that dll and the

application that is using this dll is compiled with MSVC 7, any way to 
achieve that ?
What I get till now is:
Start gdb.exe to debug dll as:
gdb.exe Script1.dll
put breakpoints in that dll as:
break _Run//breakpoints are set successfully
attach some executable with that dll as:
exec-file QuickReplay.exe
then set command line arguments to exe as:
set args Script1 1 1
then I start the application as:
run
All is fine till now but when I start the application it just executes it 
without breaking it at any

of the breakpoints thats very strange to me, if anyone can help me in this 
scenario I'd be grateful,

I've tired setting breakpoints at many places!
Note: setting breakpoints after exec-file command causes access violations, 
but those breakpoints

work fine before exec-file command.
Thanks!
_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.com/

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


setup.exe won't unpack the download

2004-11-05 Thread E Shon
I'm a lowly newbie and have been trying to install Cygwin in Windows XP 
for the past 4 days to no avail and am about to throw in the towel...

Using the latest version of setup.exe 2.427 I can't even get bash 
started.  The setup.exe seems to complete normally but none of the 
zipped packages seem to get unpacked: all the *.tar.bz2's are there but 
they don't get unpacked into .exe's...

For example, I have "bash-2.05b-16.tar.bz2" within the release subfolder 
in my c:\cygwinInstall download directory and setup.exe says 
"Installing..." at some point but in the end i can't find bash.exe or 
even the 'bin' folder within c:\cygwin although I know bash.exe is in 
that zipped file.  Same is true for all the other *.tar.bz2's...

I've done the following:
- turned off all anti-virus software and all personal firewalls for the 
download

- downloaded the default packages to C:\cygwin using setup.exe five 
separate times after completely erasing all occurences of the word 
cygwin on my harddrive before a fresh install, and have tried 
downloading from different mirrors

- have changed my Path variable so that "c:\cygwin\bin" and "c:\cygwin" 
are included in it

- for each attempt i've run setup.exe at least twice, once to download, 
a second time to install (have also tried installing directly from the 
internet)  First time it says "Installation complete" second time it 
says "Nothing needed to be installed"

- set the installation to All Users, have tried both Dos and Unix text 
mode on completely separate attempts, have tried re-installing packages

- when i click on the Cygwin icon cygwin.bat won't run because it can't 
find bash.exewhich makes sense since nothing has actually unpacked...

Here is what my current setup.log says:
2004/11/05 10:41:16 Starting cygwin install, version 2.427
2004/11/05 10:41:16 Current Directory: C:\cygwinInstall
2004/11/05 10:41:16 Changing gid to Users
2004/11/05 10:41:16 Could not open service McShield for query, start and 
stop. McAfee may not be installed, or we don't have access.
2004/11/05 10:41:22 source: download
2004/11/05 10:41:23 Selected local directory: C:\cygwinInstall
2004/11/05 10:41:24 net: Direct
2004/11/05 10:41:27 site: http://planetmirror.com/pub/sourceware/cygwin
2004/11/05 10:41:47 mbox note: Download Complete
2004/11/05 10:41:48 Ending cygwin install

(I've also tried installing with McShield turned on on a separate 
occasion and got the same log entry for McShield...)

Sorry to bother the list, but I've stepped through the Cygwin FAQ many 
times, have been Googling and looking around the Cygwin mailing list 
archives for the past two days and can't find any clues.

- Baffled student

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


Re: Need help compiling gaim-1.0.2

2004-11-05 Thread Doug Poland
> On Thu, Nov 04, 2004 at 03:18:55PM -0600, [EMAIL PROTECTED] wrote:
>> I'm relatively new to cygwin with a background in FreeBSD.  I'm
>> having problems compiling gaim-1.0.2 for cygwin and need
assistance.  >> Is this the right list to ask, or should I post on
cygwin-xfree?
>
> If you are trying to get an X version of gaim working and the problems
> you are having are obviously X-related then you should ask on
> cygwin-xfree.
>
> If the problems are generic "configure gives me errors" type of
> problems then you may ask here.
>
Well, I'm at the point "configure gives me errors" with GTK+.  I've
installed the following packages...

 gtk2-x11
 gtk2-x11-devel
 gtk2-x11-runtime

bug configure tells me...

...snip...

checking for getaddrinfo in -lsocket... no
checking for socklen_t... yes
checking for pkg-config... /usr/bin/pkg-config
checking for silc... gnome-config: not found
gnome-config: not found
Package silc was not found in the pkg-config search path.
Perhaps you should add the directory containing `silc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'silc' found
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for uname... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.4.7)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... gnome-config: not found
gnome-config: not found
no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file
*** config.log for the exact error that occured. This usually
*** means GTK+ is incorrectly installed.
configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you
*** have the GTK+ development headers installed. The latest
*** version of GTK+ is always available at http://www.gtk.org/.

I've searched the archives but have come up empty.  Obviously I'm
missing something here.

Thanks for your help.


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



Re: cannot rebaseall. please give me a hint

2004-11-05 Thread Jason Tishler
Daniel,

Please post instead of sending private email.

On Fri, Nov 05, 2004 at 12:44:58PM +, DANIBULDANIBUL wrote:
> Hello,
> I have tried to start idlelib from cygwin but I got the following.
> I have tried to solve it with the rebase procedure but it is still not 
> working. this is what I got:
> 
> Daniel [EMAIL PROTECTED] /lib/python2.3/idlelib
> $ idle
> C:\cygwin\bin\python2.3.exe (1940): *** unable to remap 
> C:\cygwin\bin\cygssl-0.9.7.dll to same address as parent(0x79) != 
> 0x7A
>   5 [main] python2.3 1024 sync_with_child: child 1940(0x624) died 
> before ini
> tialization with status code 0x1
> 336 [main] python2.3 1024 sync_with_child: *** child state child 
> loading dll
> s
> Traceback (most recent call last):
>   File "/usr/bin/idle", line 4, in ?
> main()
>   File "/lib/python2.3/idlelib/PyShell.py", line 1282, in main
> flist.pyshell = PyShell(flist)
>   File "/lib/python2.3/idlelib/PyShell.py", line 764, in __init__
> self.interp.start_subprocess()
>   File "/lib/python2.3/idlelib/PyShell.py", line 355, in 
> start_subprocess
> self.spawn_subprocess()
>   File "/lib/python2.3/idlelib/PyShell.py", line 321, in 
> spawn_subprocess
> self.rpcpid = os.spawnv(os.P_NOWAIT, sys.executable, args)
>   File "/usr/lib/python2.3/os.py", line 521, in spawnv
> return _spawnvef(mode, file, args, None, execv)
>   File "/usr/lib/python2.3/os.py", line 489, in _spawnvef
> pid = fork()
> OSError: [Errno 11] Resource temporarily unavailable
> 
> I had setup rebase and tried the following  
> 
> Daniel [EMAIL PROTECTED] ~
> $ rebaseall
> bash: rebaseall: command not found

See below...

> so then I tried
> 
> Daniel [EMAIL PROTECTED] /lib/python2.3/idlelib
> $ rebase -R -O /bin/cygssl-0.9.7.dll
> usage: REBASE [switches]
>   [-R image-root [-G filename] [-O filename] [-N filename]]
>   image-names...
> 
>   One of -b and -i switches are mandatory.
> 
>   [-a] Used with -x.  extract All debug info into .dbg file
>   [-b InitialBase] specify initial base address
>   [-c coffbase_filename] generate coffbase.txt
>   -C includes filename extensions, -c does not
>   [-d] top down rebase
>   [-f] Strip relocs after rebasing the image
>   [-i coffbase_filename] get base addresses from 
> coffbase_filename
>   [-l logFilePath] write image bases to log file.
>   [-p] Used with -x.  Remove private debug info when 
> extracting
>   [-q] minimal output
>   [-s] just sum image range
>   [-u symbol_dir] Update debug info in .DBG along this path
>   [-v] verbose output
>   [-x symbol_dir] extract debug info into separate .DBG 
> file first
>   [-z] allow system file rebasing
>   [-?] display this message
> 
>   [-R image_root] set image root for use by -G, -O, -N
>   [-G filename] group images together in address space
>   [-O filename] overlay images in address space
>   [-N filename] leave images at their origional address
>   -G, -O, -N, may occur multiple times.  
> File "filename"
>   contains a list of files (relative to "image-root")

The above is the MS rebase not mine.  See below...

> Daniel [EMAIL PROTECTED] /lib/python2.3/idlelib
> 
> $ rebase -v
> 
> REBASE: Total Size of mapping 0x
> REBASE: Range 0x -0x
> 
> but can you help me what exactly to use for rebase command line 
> 
> I belive I have not done anything as idle still does not work

Did you forget to install the rebase package?  Note that it is not
installed by default.  What does the following indicate?

$ cygcheck -cd rebase
Cygwin Package Information
Package  Version
rebase   2.3-1

Install the rebase package and following the README.  You should be
good to go then.

> Thanks in advanced

You are welcome.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



Re: Reinstall: Choice: DON'T install X - quirks in postinstall

2004-11-05 Thread Gerrit P. Haase
Hannu E K Nevalainen wrote:
I chose to NOT install the X category of software (right now),
thus all X-requiring stuff should have been deselected.
This is a feature that is not available in setup.exe.

I got this;
99% - Cygwin Setup
Running
/etc/postinstall/gtk2-x11.sh
---
gtk-query-immodules-2.0.exe - Unable To Locate DLL
---
 and
/etc/postinstall/post-texmf.sh
---
mfw.exe - Unable To Locate DLL
---
-- BOTH displaying the dialog text --
The dynamic link library cygX11-6.dll could not be found in the specified
path <$PATH contents>
Yes of course.  Install X and rerun the postinstall scripts in question.
Gerrit
--
=^..^=
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Using a.out.h from Cygwin with Mingw gcc - was Re: Binary read on textmode mount

2004-11-05 Thread Larry Hall
At 02:33 PM 11/5/2004, you wrote:
>I now include a.out.h via #include "/usr/include/a.out.h" and don't use
>the -I /usr/include which burned me.  Fortunately, a.out.h has no
>#includes within it.


Well I'm glad you were able to find a suitable resolution to your issue,
at least this time.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Re: Using a.out.h from Cygwin with Mingw gcc - was Re: Binary read on textmode mount

2004-11-05 Thread Shaffer, Kenneth
I now include a.out.h via #include "/usr/include/a.out.h" and don't use
the -I /usr/include which burned me.  Fortunately, a.out.h has no
#includes within it.

More comments within yours below.

--
Ken Shaffer


On Fri, 5 Nov 2004, Larry Hall wrote:

> But how appropriate it is to use 'a.out.h' or any
> other particular file not included with Mingw in a Mingw compile would be
> a topic for the Mingw list, not this one.

a.out.h defines a structure of the output on disk.  It shouldn't matter
whether compiled on cygwin, linux, solaris, etc.  With that header file, I
could create a program on solaris, ftp an executable created via cygwin to
the solaris machine and use the structure as is (with appropriate swaps as
necessary to account for endianess) provided the sizes of int, long, etc
match. Fortunately since I'm compiling under cygwin with -mno-cygwin
option, my sizes all match as well as endianess.

I suspect that even though I compile with -mno-cygwin, the structure of
the resulting a.out file should conform to the a.out.h include file. This
is a gcc file not specific to cygwin vs. no-cygwin compilations.



 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is solely 
intended for the named addressee (or a person responsible for delivering it to the 
addressee). If you are not the intended recipient of this message, you are not 
authorized to read, print, retain, copy or disseminate this message or any part of it. 
If you have received this e-mail in error, please notify the sender immediately by 
return e-mail and delete it from your computer.


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



Using a.out.h from Cygwin with Mingw gcc - was Re: Binary read on textmode mount

2004-11-05 Thread Larry Hall
At 01:52 PM 11/5/2004, you wrote:
>Now, now, it seems perfectly legitimate to write a windows program which
>can access files created by gcc to run under cygwin.  


I'm not sure what you're saying here actually says what you mean so I'm
not going to agree, disagree, or otherwise.  Anyway, I don't think clarity
there is critical to the thread.


>The structure of the
>a.out shouldn't depend on whether I'm compiling under windows, cygwin,
>linux, solaris, whatever.  


While I won't disagree with this as a general assertion, I cannot confirm
or deny that 'a.out.h' works for Mingw (I haven't tried it).  Mingw is 
essentially the version of the compiler you're using when you invoke 'gcc' 
with '-mno-cygwin'.  But how appropriate it is to use 'a.out.h' or any 
other particular file not included with Mingw in a Mingw compile would be 
a topic for the Mingw list, not this one.  I will point out, however, that 
even if using 'a.out.h' from the Cygwin includes works in this case, it's 
not something that's guaranteed to work in all cases.  By including the 
Cygwin include path to get this file, you pulled in many other files which 
pretty much guarantees you're going to have some problem, as you found out.  
So it *may* work to compile your program with 'gcc -mno-cygwin' if you 
copy 'a.out.h' somewhere that you can access it for your purposes.  This 
isn't a recipe for success for any file you need in Mingw that is in Cygwin.  
And pointing to the Cygwin include directory for your compile is far from a 
solution (as I expect you realize now).


>I just need the a.out.h file for the system on
>which it was created.  (Time to change the subject line, I guess)


OK, done.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Re: Binary read on textmode mount

2004-11-05 Thread Christopher Faylor
On Fri, Nov 05, 2004 at 01:52:34PM -0500, Shaffer, Kenneth wrote:
>Now, now, it seems perfectly legitimate to write a windows program
>which can access files created by gcc to run under cygwin.

Of course, if you know *exactly* what you're doing, you can get away
with all sorts of stuff in any walk of life.  You can run with
scissors.  You can use gasoline to start a fire.  You can have
52 different versions of the cygwin DLL on your system.

You didn't know *exactly* what you were doing and caused yourself
some grief thereby.  That's why, in general, it is a very bad idea
to include cygwin header files in pure windows files.

>The structure of the a.out shouldn't depend on whether I'm compiling
>under windows, cygwin, linux, solaris, whatever.

You may be able to get away with this with a.out.h (which, if so, makes
me wonder why you were having problems to begin with) but you can't
just make sweeping statements like this for any old header file.

>I just need the a.out.h file for the system on which it was created.
>(Time to change the subject line, I guess)

If this is all that you needed then it's hard to understand why we are
even having this discussion with this particular subject line.  AFAICT,
a.out.h, doesn't need fcntl.h but, if it does, that sort of proves the
point.

cgf

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



RE: Binary read on textmode mount

2004-11-05 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Shaffer, Kenneth
> Sent: 05 November 2004 18:53
> To: Cygwin List
> Subject: Re: Binary read on textmode mount
> 
> Now, now, it seems perfectly legitimate to write a windows 
> program which
> can access files created by gcc to run under cygwin.

  That sentence is meaningless gibberish.

>  The 
> structure of the
> a.out shouldn't depend on whether I'm compiling under windows, cygwin,
> linux, solaris, whatever.  

  That sentence reveals that you know nothing about programming.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: Cannot start sshd service

2004-11-05 Thread Igor Pechtchanski
On Fri, 5 Nov 2004, Walter Garcia-Fontes wrote ([snip]ped):

> Here I answer to all the suggestions of Gerrit and Igor:
>
> Igor Pechtchanski  [041105 10:23]:
> > On Thu, 4 Nov 2004, Walter Garcia-Fontes wrote:
> >
> > > I'd appreciate any hint to solve the following problem:
> > >
> > > I get the "Could not start sshd service on Local Computer. Error 1067:
> > > The process terminated unexpectedly." I've seen some reports on this
> > > in the archives, but none of the solutions suggested worked for me.Here
> > > is the status of my installation:
> > >[snip]
> > > 2) I'm running it under the SYSTEM account. I'm able to launch the sshd
> > > service manually from a sysbash, and it accepts remote connections
> > > without a problem, but I can't start from the service manager of with
> > > "net start sshd".
> >
> > What does the Windows Event Log show?  Is there anything in
> > /var/log/sshd.log (even though as installed by ssh-host-config, sshd
> > doesn't log there by default).
>
> Nothing in /var/log/sshd.log (the file exists but has 0 size).
> In the event viewer I see errors coming from the Service Control
> Manager, EventID:7041 with the following description:
>
> The CYGWIN sshd service terminated unexpectedly.  It has done this 4
> time(s).  The following corrective action will be taken in 0
> milliseconds: No action.

Wrong log ("system"?).  Look in the "application" log...

> > > [snip]
>
> > One more suggestion: add a script like
> >
> > #!/bin/sh
> > date >> /var/log/test.log
> > env >> /var/log/test.log
> > echo "-" >> /var/log/test.log
> >
> > as a service called "test" with cygrunsrv (using the same options as your
>
> I did this, and giving the following options to cygrunsrv I got the
> following in the log:
>
> cygrunsrv -I test -p /cygdrive/c/users/wgarac/test/test -e "CYGWIN=binmode ntsec tty"
>
> Got: [snipped]
> Fri Nov  5 16:12:05 RST 2004
> PATH=/cygdrive/c/texmf/miktex/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/WINNT/system32/nls:/cygdrive/c/WINNT/system32/nls/ENGLISH:/cygdrive/c/Program
>  Files/Common Files/Adaptec 
> Shared/System:/usr/local/bin:/usr/bin:/usr/bin:/usr/X11R6/bin:/:/bin
> SYSTEMROOT=C:\WINNT
>
> Nothing strange, as far as I can tell...

Yep.  The main question was whether /bin is in the PATH and whether
SYSTEMROOT was set.  This is answered.

> * Gerrit P. Haase <[EMAIL PROTECTED]> [041105 15:02]:

.  Thanks.

> [snip]

HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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



Re: Binary read on textmode mount

2004-11-05 Thread Shaffer, Kenneth
Now, now, it seems perfectly legitimate to write a windows program which
can access files created by gcc to run under cygwin.  The structure of the
a.out shouldn't depend on whether I'm compiling under windows, cygwin,
linux, solaris, whatever.  I just need the a.out.h file for the system on
which it was created.  (Time to change the subject line, I guess)


--
Ken Shaffer


On Fri, 5 Nov 2004, Larry Hall wrote:

> >I need a.out.h apparently not available with the -mno-cygwin compile
> >option.
>
>
> And now you know why. ;-)
>


 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is solely 
intended for the named addressee (or a person responsible for delivering it to the 
addressee). If you are not the intended recipient of this message, you are not 
authorized to read, print, retain, copy or disseminate this message or any part of it. 
If you have received this e-mail in error, please notify the sender immediately by 
return e-mail and delete it from your computer.


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



Re: Binary read on textmode mount

2004-11-05 Thread Larry Hall
At 01:11 PM 11/5/2004, you wrote:
>I need a.out.h apparently not available with the -mno-cygwin compile
>option.


And now you know why. ;-)


>--
>Ken Shaffer
>
>
>On Fri, 5 Nov 2004, Christopher Faylor wrote:
>
>> You are really asking for trouble.  The fact that you needed to go out
>> of your way to include a cygwin header file in a windows program should
>> be a clue to a simple fact: you shouldn't use header files from cygwin
>> with windows programs.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Re: Binary read on textmode mount

2004-11-05 Thread Shaffer, Kenneth
I need a.out.h apparently not available with the -mno-cygwin compile
option.

--
Ken Shaffer


On Fri, 5 Nov 2004, Christopher Faylor wrote:

> You are really asking for trouble.  The fact that you needed to go out
> of your way to include a cygwin header file in a windows program should
> be a clue to a simple fact: you shouldn't use header files from cygwin
> with windows programs.



 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is solely 
intended for the named addressee (or a person responsible for delivering it to the 
addressee). If you are not the intended recipient of this message, you are not 
authorized to read, print, retain, copy or disseminate this message or any part of it. 
If you have received this e-mail in error, please notify the sender immediately by 
return e-mail and delete it from your computer.



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



Re: Binary read on textmode mount

2004-11-05 Thread Christopher Faylor
On Fri, Nov 05, 2004 at 01:00:03PM -0500, Shaffer, Kenneth wrote:
>I see the problem now...  O_BINARY is 0x8000 on mingw and 0x1 in
>cygwin and I needed a header file from cygwin and use the -I option
>which brought in the wrong fcntl.h   Sigh.

You are really asking for trouble.  The fact that you needed to go out
of your way to include a cygwin header file in a windows program should
be a clue to a simple fact: you shouldn't use header files from cygwin
with windows programs.

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



Re: Cannot start sshd service

2004-11-05 Thread Walter Garcia-Fontes
Here I answer to all the suggestions of Gerrit and Igor:

Igor Pechtchanski  [041105 10:23]:
> On Thu, 4 Nov 2004, Walter Garcia-Fontes wrote:
>
> > I'd appreciate any hint to solve the following problem:
> >
> > I get the "Could not start sshd service on Local Computer. Error 1067:
> > The process terminated unexpectedly." I've seen some reports on this
> > in the archives, but none of the solutions suggested worked for me.Here
> > is the status of my installation:
> >
> > 1) I followed carefully all the steps in the specific doc for openssh
> > for Cygwin (/usr/share/doc/Cygwin/openssh.README).
>
> Does this mean you ran ssh-host-config to install the sshd service?

Yes, this is the way I did it, though I also tried to do it with
cyrgrunsrv with the following format:

cygrunsrv -I sshd -p /usr/sbin/sshd -e "CYGWIN=binmode ntsec tty" -a "-D"

>
> > 2) I'm running it under the SYSTEM account. I'm able to launch the sshd
> > service manually from a sysbash, and it accepts remote connections
> > without a problem, but I can't start from the service manager of with
> > "net start sshd".
>
> What does the Windows Event Log show?  Is there anything in
> /var/log/sshd.log (even though as installed by ssh-host-config, sshd
> doesn't log there by default).

Nothing in /var/log/sshd.log (the file exists but has 0 size).
In the event viewer I see errors coming from the Service Control
Manager, EventID:7041 with the following description:

The CYGWIN sshd service terminated unexpectedly.  It has done this 4
time(s).  The following corrective action will be taken in 0
milliseconds: No action. 

>
> > 3) I double checked permissions in the relevant files, and set them up
> > the way the doc says in 1), but it doesn't work.
>
> Are all the needed DLLs executable (run "cygcheck /usr/sbin/sshd.exe" to
> list the DLLs)?  Are all of them in the PATH for the service?
>

I get the following:
D:/cygwin/usr/sbin/sshd.exe
  D:\cygwin\bin\cygcrypt-0.dll
D:\cygwin\bin\cygwin1.dll
  C:\WINNT\system32\ADVAPI32.DLL
C:\WINNT\system32\NTDLL.DLL
C:\WINNT\system32\KERNEL32.DLL
C:\WINNT\system32\RPCRT4.DLL
  D:\cygwin\bin\cygcrypto-0.9.7.dll
  D:\cygwin\bin\cygz.dll

And this are the permissions:

-rwxrwxrwx+ 1 wgarac   Users 282112 Sep 22 19:24 D:/cygwin/usr/sbin/sshd.exe*
-rwxrwxrwx+ 1 wgarac   Users   6656 Oct 19 2003  D:/cygwin/bin/cygcrypt-0.dll*
-rwxrwxrwx+ 1 wgarac   Users1138057 Sep 5  05:18 D:/cygwin/bin/cygwin1.dll*
-rwxrwxrwx+ 1 Administ Administ  388368 Mar 24 2004  c:/winnt/system32/ADVAPI32.DLL*
-rwxrwxrwx+ 1 Administ Administ  497936 Mar 24 2004  c:/winnt/system32/NTDLL.DLL*
-rwxrwxrwx+ 1 Administ Administ  742160 Mar 24 2004  c:/winnt/system32/KERNEL32.DLL*
-rwxrwxrwx+ 1 Administ Administ  432400 Jul 5  2003  c:/winnt/system32/RPCRT4.DLL*
-rwxrwxrwx+ 1 wgarac   Users 859136 Sep 27 16:12 D:/cygwin/bin/cygcrypto-0.9.7.dll*
-rwxrwxrwx+ 1 wgarac   Users  62976 Oct 10 06:09 D:/cygwin/bin/cygz.dll*

> > [snip]
> > 5) I mounted everything as system and binmode.
>
> Since you ran from system bash, could you also verify that there are no
> *user* mounts for the SYSTEM account?

Yes, I verified that, all are system mounts. This is what I get from
the sysbash:

D:\cygwin\bin on /usr/bin type system (binmode)
D:\cygwin\lib on /usr/lib type system (binmode)
D:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode)
d: on /cygdrive/d type system (binmode)
e: on /cygdrive/e type system (binmode)
f: on /cygdrive/f type system (binmode)
h: on /cygdrive/h type system (binmode)
m: on /cygdrive/m type system (binmode)
w: on /cygdrive/w type system (binmode)
x: on /cygdrive/x type system (binmode)
y: on /cygdrive/y type system (binmode)
z: on /cygdrive/z type system (binmode)

>
> > 6) Here is the output of cygcheck:
> > [snip]
>
> In the future, please *attach* the output of cygcheck, to minimize false
> positive hits in archive searches.  Besides, your cut&paste seems to have
> cut off the first column on some lines...
>

Yes, sorry, I don't know why I thought non-attachments was the
preferred way (I've been a user of this list and cygwin almost since
the beginning...).

> One more suggestion: add a script like
>
> #!/bin/sh
> date >> /var/log/test.log
> env >> /var/log/test.log
> echo "-" >> /var/log/test.log
>
> as a service called "test" with cygrunsrv (using the same options as your

I did this, and giving the following options to cygrunsrv I got the
following in the log:

cygrunsrv -I test -p /cygdrive/c/users/wgarac/test/test -e "CYGWIN=binmode ntsec tty"

Got:
Fri Nov  5 16:12:05 RST 2004
ALLUSERSPROFILE=C:\Documents and Settings\All Users
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMPUTERNAME=CJQ082
COMSPEC=C:\WINNT\system32\cmd.exe
CYGWIN=binmode ntsec tty
HOME=/
NUMBER_OF_PROCESSORS=2
OS2LIBPATH=C:\WINNT\system32\os2\dll;
OS=Windows_NT
PATH=/cygdrive/c/texmf/miktex/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/
cygdrive/

Re: Binary read on textmode mount

2004-11-05 Thread Shaffer, Kenneth
I see the problem now... O_BINARY is 0x8000 on mingw and 0x1 in
cygwin and I needed a header file from cygwin and use the -I option which
brought in the wrong fcntl.h   Sigh.

--
Ken Shaffer



 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is solely 
intended for the named addressee (or a person responsible for delivering it to the 
addressee). If you are not the intended recipient of this message, you are not 
authorized to read, print, retain, copy or disseminate this message or any part of it. 
If you have received this e-mail in error, please notify the sender immediately by 
return e-mail and delete it from your computer.


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



Re: New package: gnome-vfs2-2.8.0-1

2004-11-05 Thread Christopher Faylor
On Fri, Nov 05, 2004 at 09:08:15AM -0800, [EMAIL PROTECTED] wrote:
>I need to unsubscribe but cannot unsubscribe
>
>[EMAIL PROTECTED]
>
>does not work.

If you need more information on unsubscribing, start reading here:
http://sources.redhat.com/lists.html#unsubscribe-simple

PLEASE READ *ALL* OF THE INFORMATION ON UNSUBSCRIBING THAT IS AVAILABLE
starting at this URL.

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



Re: Binary read on textmode mount

2004-11-05 Thread Christopher Faylor
On Fri, Nov 05, 2004 at 11:48:31AM -0500, Shaffer, Kenneth wrote:
>I'm using the cygwin development environment and so thought this was the
>correct place to post a problem. But you make a good point, so I copied
>the file to /tmp, mounted as binary, and got the same results.

You are running a windows program.

Windows programs DO NOT UNDERSTAND cygwin mounts.  Cygwin doesn't
magically affect any windows program which runs in "the cygwin
development environment".

If you want to open a file in binary mode use "rb" in your fopen
call or O_BINARY in your open call.

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



RE: New package: gnome-vfs2-2.8.0-1

2004-11-05 Thread DFong

I need to unsubscribe but cannot unsubscribe

[EMAIL PROTECTED]

does not work.

David


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gerrit P. Haase
Sent: Friday, November 05, 2004 2:43 AM
To: Cygwin Announce
Subject: New package: gnome-vfs2-2.8.0-1


gnome-vfs2-2.8.0-1 has been uploaded to the Cygwin net distribution.

GNOME Virtual File System.


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up `gnome-vfs2' from the `Gnome' category.


Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html .  I would appreciate if you would use
this mailing list rather than emailing me directly.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:
http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Gerrit P. Haase
-- 
=^..^=   http://cygwin.com/cygwin/faq/





!DSPAM:417fb1ae69877990823904!






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



Re: Cygwin setup 2.427 on Win2K

2004-11-05 Thread Larry Hall
At 09:38 PM 11/4/2004, you wrote:
>I originally reported that setup.exe would let me choose packages to install, but the 
>"next" button was always disabled so I couldn't actually install anything.
>
>One suggestion I received was to run setup.exe with the -5 command-line option 
>(suppress MD5 verification).  I finally got a chance to try that, and it worked.  I 
>could choose packages, and the "next" button was enabled so I could go ahead and 
>complete the installation.
>
>I don't understand why this is necessary--when I let it do the MD5 verification, 
>there are no errors that I can see--but hopefully this will serve as a hint that 
>eventually leads to finding the real problem.


There may be a "real problem" or it may be that the MD5 verification is 
just taking longer than your patience allows. ;-)  Not that that wouldn't
be an issue of course.  However, not installing before verifying the 
MD5 sums is for safety.  And there's no way of knowing that there are no
errors in the process until the process is complete.  Anyway, I'm not
suggesting that your comment be disregarded in any way.  I'm just trying
to clarify why it does what it does.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



RE: INFO Death

2004-11-05 Thread Arthur I Schwarz




Thanks. You guys are great and, of course, your suggestions worked.

art

I just noticed that 'INFO' is no longer operational. I've been trying to
find out why from the mailing list and from looking at my site. No luck.
Can anyone offer a suggestion as to where to look for the answer (most
helpful) or how to fix the problem (very useful).

Thanks
Art

Symptoms:
   >> info info
   info: dir: No such file or directory



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



Re: Binary read on textmode mount

2004-11-05 Thread Shaffer, Kenneth
I'm using the cygwin development environment and so thought this was the
correct place to post a problem. But you make a good point, so I copied
the file to /tmp, mounted as binary, and got the same results.

So, I guess the gcc libraries are at fault?  Is this the right list?

--
Ken Shaffer


On Fri, 5 Nov 2004, Christopher Faylor wrote:

> Why would you expect a windows (-mno-cygwin) program to be cognizant of
> cygwin mounts?  If you are having problems with reading data in a purely
> windows program then cygwin is not involved in any way.


 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is solely 
intended for the named addressee (or a person responsible for delivering it to the 
addressee). If you are not the intended recipient of this message, you are not 
authorized to read, print, retain, copy or disseminate this message or any part of it. 
If you have received this e-mail in error, please notify the sender immediately by 
return e-mail and delete it from your computer.


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



Re: Binary read on textmode mount

2004-11-05 Thread Christopher Faylor
On Fri, Nov 05, 2004 at 11:26:31AM -0500, Shaffer, Kenneth wrote:
>I have a program doing a binary read on a file which happens to exist on a
>textmode mount and find that once a ctrl-Z (0x1a) byte is read, it doesn't
>read the rest of the file since ctrl-Z is a DOS EOF.
>
>The program is compiled with -mno-cygwin and adds no additional libraries
>on the compile line. cygcheck on the executable show:
>
>Found: .\corinfo.exe
>Found:
>e:\projects\RebootAnalysisTools\LogAnalysisTools\LogAnalysisTools\corinfo.exe
>corinfo.exe
>  C:\WINNT\system32\msvcrt.dll
>C:\WINNT\system32\KERNEL32.dll
>  C:\WINNT\system32\NTDLL.DLL
>
>Anyway, wondering if the stopping on EOF even though performing a binary
>read on a file existing on a textmode mount is normal behaviour.
>
>Should I change all my mounts to binary?  If so, what problems might
>arise?  I've been burned in the past with mount modes and would suggest
>that the FAQ maintainer write something up about it.

Why would you expect a windows (-mno-cygwin) program to be cognizant of
cygwin mounts?  If you are having problems with reading data in a purely
windows program then cygwin is not involved in any way.

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



Re: Cron malfunction after date change

2004-11-05 Thread Christopher Faylor
On Fri, Nov 05, 2004 at 11:26:05AM -0500, Harig, Mark wrote:
>>cron.log, crontab.txt and cygcheck.txt attached.  Stopping and starting
>>cron is workaround that does resume correct cron behaviour, up until
>>next date change.  I've been able to reproduce this
>>(http://cygwin.com/ml/cygwin/2004-11/msg00153.html) problem also on
>>WinXP with slightly older cygwin1.dll version:
>>1.5.11-snapshot-20040720-12:03:09.
>>
>
>I concur.  It appears to be a bug in cron, or Cygwin's version of cron.

Can anyone point to some documentation which states that cron is
supposed to gracefully handle date changes?  Personally, I've always
restarted cron after a date change since I've noticed behavior like this
on linux in the past.  If that has been fixed, however, that would be an
interesting data point for linux (off-topic) and cygwin (on-topic).

cgf

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



RE: Cron malfunction after date change

2004-11-05 Thread Harig, Mark
> 
> cron.log, crontab.txt and cygcheck.txt attached.  Stopping 
> and starting
> cron is workaround that does resume correct cron behaviour, up until
> next date change.  I've been able to reproduce this
> (http://cygwin.com/ml/cygwin/2004-11/msg00153.html) problem also on
> WinXP with slightly older cygwin1.dll version:
> 1.5.11-snapshot-20040720-12:03:09.
> 

I concur.  It appears to be a bug in cron, or Cygwin's version of cron.

The following fails to work correctly for me:

1. Create the following crontab entry:

* * * * * /usr/bin/date >> /tmp/date.txt

2. Start cron as a service and wait one minute.  Cron adds a line
to /tmp/date.txt.

3. Using Windows's "Adjust Date/Time" applet, set the date to the previous
day.

4. Wait one minute, and cron adds another line to /tmp/date.txt.

5. Using Windows's "Adjust Date/Time" applet, set the date to the current
day.

6. Wait one (or more) minute, and cron does NOT add another line to /tmp/date.txt.

Cron should resume updating /tmp/date.txt.

If I stop the cron service and restart it, then cron resumes updating /tmp/date.txt.

---

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



Reinstall: Choice: DON'T install X - quirks in postinstall

2004-11-05 Thread Hannu E K Nevalainen

I chose to NOT install the X category of software (right now),
thus all X-requiring stuff should have been deselected.

I assume this means there should be a "Requires:" line
containing some X-.

I got this;

99% - Cygwin Setup
Running

/etc/postinstall/gtk2-x11.sh
---
gtk-query-immodules-2.0.exe - Unable To Locate DLL
---

 and

/etc/postinstall/post-texmf.sh
---
mfw.exe - Unable To Locate DLL
---

-- BOTH displaying the dialog text --
The dynamic link library cygX11-6.dll could not be found in the specified
path <$PATH contents>
---
OK
---

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems--72-->

** mailing list preference; please keep replies on list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


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



Re: Cannot start sshd service

2004-11-05 Thread Walter Garcia-Fontes
* Igor Pechtchanski <[EMAIL PROTECTED]> [041105 15:05]:
> On Fri, 5 Nov 2004, Walter Garcia-Fontes wrote:
> 
> > I'd appreciate any hint to solve the following problem:
> >
> (rest of questions snipped)
> 
> Is there a reason you're reposting this after it's already been replied to
> in ?
>   Igor

Sorry, I seem to have missed my original post, that's why I reposted,
and your answer, too fast use of the D key,

-- 
Walter Garcia-Fontes   
Barcelona


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



Re: Cannot start sshd service

2004-11-05 Thread Igor Pechtchanski
On Fri, 5 Nov 2004, Walter Garcia-Fontes wrote:

> I'd appreciate any hint to solve the following problem:
>
> I get the "Could not start sshd service on Local Computer. Error 1067:
> The process terminated unexpectedly." I've seen some reports on this
> in the archives, but none of the solutions suggested worked for me. Here
> is the status of my installation:
>
> 1) My installation is up to date. I followed carefully all the steps in
> the specific doc for openssh for Cygwin
> (/usr/share/doc/Cygwin/openssh.README).
>
> 2) I'm running it under the SYSTEM account. I'm able to launch the sshd
> service manually from a sysbash, and it accepts remote connections
> without a problem, but I can't start from the service manager or with
> "net start sshd".
>
> 3) I double checked permissions in the relevant files, and set them up
> the way the doc says in 1), but it doesn't work.
>
> 4) I'm not running it with privileged separation, though I also tried
> that option. These are the permissions:
> [snip]
>
> 5) I mounted everything as system and binmode.
>
> 6) Here is the output of cygcheck:
> [snip]

Is there a reason you're reposting this after it's already been replied to
in ?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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



Re: Cannot start sshd service

2004-11-05 Thread Gerrit P. Haase
Walter Garcia-Fontes wrote:
I'd appreciate any hint to solve the following problem:
I get the "Could not start sshd service on Local Computer. Error 1067:
The process terminated unexpectedly." I've seen some reports on this
in the archives, but none of the solutions suggested worked for me. Here
is the status of my installation:
Is there anything in the eventlog and/or /var/log/sshd.log?
[...]
5) I mounted everything as system and binmode.
Is the drive where cygwin is installed a netdrive or subst'ed?
6) Here is the output of cygcheck:
Please send cygcheck output as an attachment the next time.

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


Cannot start sshd service

2004-11-05 Thread Walter Garcia-Fontes
I'd appreciate any hint to solve the following problem:

I get the "Could not start sshd service on Local Computer. Error 1067:
The process terminated unexpectedly." I've seen some reports on this
in the archives, but none of the solutions suggested worked for me. Here
is the status of my installation:

1) My installation is up to date. I followed carefully all the steps in 
the specific doc for openssh for Cygwin (/usr/share/doc/Cygwin/openssh.README).

2) I'm running it under the SYSTEM account. I'm able to launch the sshd 
service manually from a sysbash, and it accepts remote connections
without a problem, but I can't start from the service manager or with
"net start sshd".

3) I double checked permissions in the relevant files, and set them up
the way the doc says in 1), but it doesn't work. 

4) I'm not running it with privileged separation, though I also tried
that option. These are the permissions:

-rwxrwxrwx 1 SYSTEM Administ 1159 Nov 2 18:28 /etc/ssh_config*
-rw--- 1 SYSTEM Administ 668 Nov 2 14:39 /etc/ssh_host_dsa_key
-rw--- 1 SYSTEM Administ 604 Nov 2 14:39 /etc/ssh_host_dsa_key.pub
-rw--- 1 SYSTEM Administ 529 Nov 2 14:39 /etc/ssh_host_key
-rw--- 1 SYSTEM Administ 333 Nov 2 14:39 /etc/ssh_host_key.pub
-rw--- 1 SYSTEM Administ 883 Nov 2 14:39 /etc/ssh_host_rsa_key
-rw--- 1 SYSTEM Administ 224 Nov 2 14:39 /etc/ssh_host_rsa_key.pub
-rw-rw-rw- 1 SYSTEM Administ 2806 Nov 2 18:28 /etc/sshd_config

5) I mounted everything as system and binmode.

6) Here is the output of cygcheck:

Cygwin Configuration Diagnostics
Current System Time: Thu Nov 04 14:26:45 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   D:\cygwin\usr\local\bin
D:\cygwin\bin
D:\cygwin\bin
c:\texmf\miktex\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\WINNT\system32\nls
c:\WINNT\system32\nls\ENGLISH
c:\PROGRA~1\COMMON~1\ADAPTE~1\System
D:\cygwin\usr\local\bin
D:\cygwin\bin
D:\cygwin\bin
D:\cygwin\usr\X11R6\bin
D:\cygwin
W
.\
Z
.\
.\

Output from D:\cygwin\bin\id.exe (nontsec)
UID: 1001(wgarac) GID: 513(None)
513(None)

Output from D:\cygwin\bin\id.exe (ntsec)
UID: 1001(wgarac) GID: 513(None)
513(None)544(Administrators)  
545(Users)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

CYGWIN = `binmode tty ntsec'
HOME = `c:\users\wgarac'
AKE_MODE = `unix'
PWD = `/cygdrive/c/users/wgarac'
USER = `wgarac'

ALLUSERSPROFILE = `C:\DOCUME~1\ALLUSE~1'
APPDATA = `C:\DOCUME~1\wgarac\APPLIC~1'
COMMONPROGRAMFILES = `C:\PROGRA~1\COMMON~1'
COMPUTERNAME = `CJQ082'
COMSPEC = `C:\WINNT\system32\cmd.exe'
EDITOR = `jove'
GROUP = `None'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOST = `cjq082'
HOSTTYPE = `i386'
LOGNAME = `CJQ082'
LOGONSERVER = `\\CJQ082'
ACHTYPE = `i386'
AIL = `/var/spool/mail/wgarac'
ANPATH = 
`/usr/local/man:/usr/man/:/usr/contrib/man:/usr/local/netpbm/man:/usr/share/man'
NNTPSERVER = `news.cesca.es'
NUMBER_OF_PROCESSORS = `2'
NWLANGUAGE = `english'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `posix'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERLIO = `raw'
PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 11 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0b01'
PROGRAMFILES = `C:\PROGRA~1'
PROMPT = `$P$G'
REMOTEHOST = `cjq082'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TERM = `cygwin'
TINRC = `-r'
TZ = `RST-1RDT-2,M3.5.0/2,M10.5.0/3'
USERDOMAIN = `CJQ082'
USERNAME = `wgarac'
USERPROFILE = `C:\DOCUME~1\wgarac'
VENDOR = `intel'
WINDOWS_LOGIN = `0'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `D:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cygdrive/c
  (default) = `c:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cygdrive/d
  (default) = `d:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cygdrive/e
  (default) = `e:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cygdrive/f
  (default) = `f:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cygdrive/h
  (default) = `h:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cygdrive/m
  (default) = `m:'
  flags = 0x000a
HKEY_LOCAL_M

[ANNOUNCEMENT] New package: gnome-vfs2-2.8.0-1

2004-11-05 Thread Gerrit P. Haase
gnome-vfs2-2.8.0-1 has been uploaded to the Cygwin net distribution.

GNOME Virtual File System.


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up `gnome-vfs2' from the `Gnome' category.


Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html .  I would appreciate if you would use
this mailing list rather than emailing me directly.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:
http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Gerrit P. Haase
-- 
=^..^=   http://cygwin.com/cygwin/faq/





!DSPAM:417fb1ae69877990823904!






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



[ANNOUNCEMENT] New package: libgnomeui2-2.8.0-1

2004-11-05 Thread Gerrit P. Haase
libgnomeui2-2.8.0-1 has been uploaded to the Cygwin net distribution.

This is the GUI part of the GNOME library.


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up `libgnomeui2' from the `Gnome' category.


Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html .  I would appreciate if you would use
this mailing list rather than emailing me directly.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:
http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Gerrit P. Haase
-- 
=^..^=   http://cygwin.com/cygwin/faq/





!DSPAM:417fb1ae69877990823904!






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



[ANNOUNCEMENT] New package: libgnome2-2.8.0-1

2004-11-05 Thread Gerrit P. Haase
libgnome2-2.8.0-1 has been uploaded to the Cygwin net distribution.

This is the non-gui part of the GNOME library.


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up `libgnome2' from the `Gnome' category.


Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html .  I would appreciate if you would use
this mailing list rather than emailing me directly.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:
http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Gerrit P. Haase
-- 
=^..^=   http://cygwin.com/cygwin/faq/





!DSPAM:417fb1ae69877990823904!





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



[ANNOUNCEMENT] New package: libbonoboui2-2.8.0-1

2004-11-05 Thread Gerrit P. Haase
libbonoboui2-2.8.0-1 has been uploaded to the Cygwin net distribution.

GUI library for the GNOME component and compound document system.


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up `libbonoboui2' from the `Gnome' category.


Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html .  I would appreciate if you would use
this mailing list rather than emailing me directly.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:
http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Gerrit P. Haase
-- 
=^..^=   http://cygwin.com/cygwin/faq/





!DSPAM:417fb1ae69877990823904!




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



[ANNOUNCEMENT] New package: GConf2-2.8.0.1-1

2004-11-05 Thread Gerrit P. Haase
GConf2-2.8.0.1-1 has been uploaded to the Cygwin net distribution.

GConf is the GNOME Configuration database system.


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up `GConf' from the `Gnome' category.


Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html .  I would appreciate if you would use
this mailing list rather than emailing me directly.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:
http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Gerrit P. Haase
-- 
=^..^=   http://cygwin.com/cygwin/faq/





!DSPAM:417fb1ae69877990823904!



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



[ANNOUNCEMENT] New package: libbonobo2-2.8.0-1

2004-11-05 Thread Gerrit P. Haase
libbonobo2-2.8.0-1 has been uploaded to the Cygwin net distribution.

Bonobo CORBA interfaces library

Bonobo is a set of language and system independent CORBA interfaces for
creating reusable components, controls and creating compound documents.

The Bonobo distribution includes a Gtk+ based implementation of the
Bonobo interfaces, enabling developers to create reusable components and
applications that can be used to form more complex documents.


The Cygwin Bonobo distribution is splitted into four separate packages:

libbonobo2support files and apps
libbonobo2-devel  development files
libbonobo2-docAPI documentation
libbonobo20   runtime libraries


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up `libbonobo*' from the `Gnome' category.


Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html .  I would appreciate if you would use
this mailing list rather than emailing me directly.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:
http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Gerrit P. Haase
-- 
=^..^=   http://cygwin.com/cygwin/faq/





!DSPAM:417fb1ae69877990823904!


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



Re: rebaseall failed

2004-11-05 Thread Jason Tishler
On Thu, Nov 04, 2004 at 02:41:55PM -0800, Brian Dessent wrote:
> That DLL is in use.  It cannot be written while it's in use.  You must
> have a cygwin program still running that uses that DLL.  You must stop
> ALL Cygwin programs and services, and you cannot run the command from
> rxvt or anything but a plain command window.

Actually, one can run rebaseall from bash too.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



Re: mysql-4.x.x with gcc-3.4.1, compile error on cygwin, all fixes to get it compiled

2004-11-05 Thread Gerrit P. Haase
Charles Churchill wrote:
Mr. Haase,
You have my most profound thanks. The main things I really needed was to be
able to get a client up under cygwin and to get libmysql working. I'm using
the Windows build of mysql and connecting from cygwin, but because of tricky
things with tty's the Windows mysql client wouldn't run correctly under
cygwin.
You shouldn't need BDB for the client, if you configure --without-server
only the #pragma interface fixes are needed (and the no-undefined &
reconf for shared libs) to get the client, and the threads fix is only
needed when using --enable-thread-safe-client.

Again, thanks so much,
You're welcome,
Gerrit
--
=^..^=
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/