problem starting cron as a service

2003-07-21 Thread Bill McCormick
I get this in the win app error log: Event Type: Error Event Source: cron Event Category: None Event ID: 0 Date: 7/21/2003 Time: 2:14:08 AM User: BILLHOME\Administrator Computer: BILLHOME Description: The description for Event ID ( 0 ) in Source ( cr

Re: Remounting /cygdrive/c as /c

2003-07-21 Thread Gavin Sinclair
> Hi. I searched the archives, but did not find anything on this. My preferred method of accessing C:/ as /c is the following mkdir /c mount C:/ /c I didn't really know about changing the prefix, but I prefer not to rely on things like that, anyway. Note that without explicitly creating th

Re: Crash in lynx

2003-07-21 Thread Ronald Landheer-Cieslak
On Fri, 18 Jul 2003, Corinna Vinschen wrote: > On Fri, Jul 18, 2003 at 04:07:08PM +0200, Ronald Landheer-Cieslak wrote: > > When wanting to have a look whether a new pcre was available at > > www.pcre.org, I had a slight case of fat fingers and made lynx crash :| > > (cygcheck output below) > > >

RE: problem starting cron as a service

2003-07-21 Thread Vince Hoffman
anything in /var/log/cron.log ? and are you mounts system or user ? ie. $ mount |grep "/ type system" should give something like h:\cygwin on / type system (binmode) > -Original Message- > From: Bill McCormick [mailto:[EMAIL PROTECTED] > Sent: 21 July 2003 08:25 > To: Cygwin > Subject:

Re: Problem running emacs under XP

2003-07-21 Thread David Sharp
I strongly expect you are typing emacs into the bash shell you are starting X from. Type it into an xterm... - Original Message - From: "martin cohen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 19, 2003 9:05 PM Subject: Problem running emacs under XP > I installed cy

Call dynamic pointer

2003-07-21 Thread Lucien Mathieu
Hello, in a dll, I'm calling a extern "C" { void * init(); } where it is define as follow void * init() { return (new TObject()); } it's doing a segment fault, does the new pointer is automatically

Re: Crash in lynx

2003-07-21 Thread Ronald Landheer-Cieslak
A bit more info: I've just rebuilt cygwin1.dll and ran lynx under gdb. It crashed with a SIGTRAP. (gdb) bt #0 0x78477705 in ?? () #1 0x784aed7c in ?? () #2 0x78496695 in ?? () #3 0x784958fe in ?? () #4 0x78487111 in ?? () #5 0x784abeda in ?? () #6 0x770c1a2f in RPCRT4!NdrXmitOrRepAsMarsha

Re: Call dynamic pointer

2003-07-21 Thread Ronald Landheer-Cieslak
On Mon, 21 Jul 2003, Lucien Mathieu wrote: > Hello, > > in a dll, I'm calling a > > extern "C" { > void * init(); > } > > where it is define as follow > > void * init() { > return (new TObject()); > } > > it's doing a segmen

Re: Problem with xinetd as a service

2003-07-21 Thread Larry Hall
Christopher Faylor wrote: On Sun, Jul 20, 2003 at 07:41:42PM -0700, Martin Gainty wrote: verify [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/] "native"="C:\\local\\cygwin" What's the opposite of a gold star? A raspberry? A piece of coal? From my primary school penma

Re: Remounting /cygdrive/c as /c

2003-07-21 Thread Larry Hall
Richard Anderson wrote: Hi. I searched the archives, but did not find anything on this. According to the man page for mount and Christopher Faylor original announcement (http://sources.redhat.com/ml/cygwin/2001-09/msg00014.html ), the command: mount -s --change-cygdrive-prefix / should remount

Re: Remounting /cygdrive/c as /c

2003-07-21 Thread Rob
Try restarting your computer - Original Message - From: "Larry Hall" <[EMAIL PROTECTED]> To: "Richard Anderson" <[EMAIL PROTECTED]> Cc: "Cygwin" <[EMAIL PROTECTED]> Sent: Monday, July 21, 2003 10:26 AM Subject: Re: Remounting /cygdrive/c as /c > Richard Anderson wrote: > > > Hi. I sear

RE: problem starting cron as a service

2003-07-21 Thread Vince Hoffman
Hi Bill, Off hand there are a few things to try, but Mark Harig on the cygwin list seems pretty up on cron, and has a script which will diagnose common problems, heres a link to a message which has it attached, You'll do b

Re: Call dynamic pointer

2003-07-21 Thread Larry Hall
Lucien Mathieu wrote: Hello, in a dll, I'm calling a extern "C" { void * init(); } where it is define as follow void * init() { return (new TObject()); } it's doing a segment fault, does the new pointer is automa

RE: problem starting cron as a service

2003-07-21 Thread Bill McCormick
Thanks, One more clue: I can start cron from the command line just fine (no errors) and am running other services including Apache, sshd and inetd. I like your ideas though and I'll give them a try. Thanks, Bill P.S. I did "reply all" on the last message, so it went to you and the list. > ---

Re: Remounting /cygdrive/c as /c

2003-07-21 Thread Larry Hall
Just curious, why do you think this will be helpful? I'd be interested in understanding your reasoning on this. I can't see an obvious reason why this would be necessary but I'm always interested in hearing other people's experiences and solutions. Thanks, Larry Rob wrote: Try restarting your comp

Re: Remounting /cygdrive/c as /c

2003-07-21 Thread Richard Anderson
This worked, thanks. Richard Anderson [EMAIL PROTECTED] [EMAIL PROTECTED] www.richard-anderson.org www.raycosoft.com - Original Message - From: "Rob" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Richard Anderson" <[EMAIL PROTECTED]> Sent: Monday, July 21, 2003 7:32 AM Subject: Re: Remoun

RE: problem starting cron as a service

2003-07-21 Thread Bill McCormick
How do I run a prog as localsystem? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Vince Hoffman > Sent: Monday, July 21, 2003 9:38 AM > To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' > Subject: RE: problem starting cron as a service > > > Hi Bill, >

Re: Crash in lynx

2003-07-21 Thread Corinna Vinschen
On Mon, Jul 21, 2003 at 03:45:51PM +0200, Ronald Landheer-Cieslak wrote: > A bit more info: I've just rebuilt cygwin1.dll and ran lynx under gdb. It > crashed with a SIGTRAP. > > (gdb) bt > #0 0x78477705 in ?? () > #1 0x784aed7c in ?? () > #2 0x78496695 in ?? () > #3 0x784958fe in ?? () > #4

Re: Remounting /cygdrive/c as /c

2003-07-21 Thread Rob
Yeah, sorry for not putting in any detail. The reason why I suggested this is because I've had the same problem, and restarting solved it. I can't say for sure, but I'm guessing that the change doesn't take effect until the cygwin dll gets loaded into memory. On my system, I'm running cygwin ser

RE: problem starting cron as a service

2003-07-21 Thread Vince Hoffman
Opps thought from your previous message you already knew or i would have said. the easiest way is the "at" trick, from a command line,type "at \\yourcomputername 15:49 /interactive cmd.exe" this will give you a cmd shell running as SYSTEM. from there cd to your cygwin\bin directory and type "bash

Re: Crash in lynx

2003-07-21 Thread Ronald Landheer-Cieslak
Hi Corinna, > That's deep inside Windows. Looks like a problem with requesting info > from DNS, apparently. Yeah, but the weird thing is that this is not the error I get when I run it outside of the debugger. i.e., a STC shows that there is no problem with the call in question (gethostname) *

Re: Problem with tty

2003-07-21 Thread Philippe Fremy
> Setting 'tty' for Cygwin will not have any affect on Windows programs. > Only Cygwin ones. Running a Windows program from a Cygwin shell prompt > can cause output from the Windows program to get "lost" since they don't > understand ptys. Use Cygwin's python and you won't have the particular >

Re: Problem with tty

2003-07-21 Thread Larry Hall
Philippe Fremy wrote: Setting 'tty' for Cygwin will not have any affect on Windows programs. Only Cygwin ones. Running a Windows program from a Cygwin shell prompt can cause output from the Windows program to get "lost" since they don't understand ptys. Use Cygwin's python and you won't have the

Re: Remounting /cygdrive/c as /c

2003-07-21 Thread Christopher Faylor
On Mon, Jul 21, 2003 at 12:09:48PM -0400, Rob wrote: >Yeah, sorry for not putting in any detail. The reason why I suggested this >is because I've had the same problem, and restarting solved it. I can't say >for sure, but I'm guessing that the change doesn't take effect until the >cygwin dll gets

cut and paste problem with xemacs Was Re: [ANNOUNCEMENT] Available for test: cygwin-1.5.0-1

2003-07-21 Thread Antoine Levy-Lambert
Hi Christopher, Corinna, My xemacs is XEmacs 21.4.1.0 "Military Intelligence (Windows)" configured for `i686-pc.cywin` With cygwin 1.3, cut and paste between other applications and Xemacs works. With cygwin 1.5.0-1, cut and paste between other applications and Xemacs does not work After having c

RE : Call dynamic pointer

2003-07-21 Thread Lucien Mathieu
Hello again, following this example: TObject.hpp: class Tobject { ... }; extern "C" { void * init(); } TObject.cpp void * init() {

Cygwin version 1.3.20

2003-07-21 Thread Henry Da Costa
Hello Mr. Faylor, I hope you can help me. I'm looking for a complete Cygwin version 1.3.20 set of packages but have so far been unable to find it. I need that particular version of Cygwin because other versions including the latest one give us an error when used from a development tool for which w

Re: RE : Call dynamic pointer

2003-07-21 Thread Larry Hall
Sorry, this still isn't enough to see exactly what you're doing and where the problem is. If you can't make a simple case that can be sent to the list so others can easily build and try your code to reproduce the problem, then you're unlikely to see much help coming from anyone on this list. Also

Re: Cygwin version 1.3.20

2003-07-21 Thread Max Bowsher
Henry Da Costa wrote: > Hello Mr. Faylor, You have sent this message to a public mailing list. > I hope you can help me. I'm looking for a complete Cygwin version 1.3.20 > set of packages but have so far been unable to find it. The phrase "complete Cygwin version 1.3.20 set of packages" is meani

RE : RE : Call dynamic pointer

2003-07-21 Thread Lucien Mathieu
Thanks, sorry to have disturbed, I finally find out that dlclose should be used later ;-P By the way, do you know a very good C++ dist list? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Larry Hall Envoyé : lundi 21 juillet 2003 21:39

RE: problem starting cron as a service

2003-07-21 Thread Bill McCormick
Oops ... my bad. It's running; it's just not displayed as running as a service to windows. ps -x -f shows the grand truth. That being the case, doesn't cron startup really belong in rc.local? Umm ... does rc.local even get called on system boot? Thanks, Bill > -Original Message- > From:

RE: problem starting cron as a service

2003-07-21 Thread Bowden, Todd
You have to install it as a service in order to see in from a Windows perspective. cygrunsrv -I cron -p /usr/sbin/cron -a -D Cygrunsrv -S cron net start | grep -i cron I see it in my Services. Why wouldn't you see it in yours The doc /usr/doc/Cygwin/cron.README tells you how to install it. To

Re: 1.5.0: rxvt copy/paste problems

2003-07-21 Thread David Rothenberger
Christopher Faylor writes: > On Sat, Jul 19, 2003 at 10:57:54AM -0400, Rolf Campbell wrote: > >When I have CYGWIN=tty, I was able to reproduce the same exact problem. > > Sounds like an extremely simple fix then. There is no need to use > CYGWIN=tty if you are using rxvt. Thanks for the wor

RE: generate a .lib file for VC++

2003-07-21 Thread Todorovic Vladica-VTODORO1
As far as I know, there is no way to do the conversion you want/need. However, you can still use a dll generated by cygwin toolset by manully loading the dll (i.e., use LoadLibrary and GetProcAddress) in your VC++ code. You can find more info on this topic in the archives. Vladica -Ori

RE: Cygwin version 1.3.20

2003-07-21 Thread Henry Da Costa
Max Bowsher wrote: > You have sent this message to a public mailing list. Thanks for replying. I didn't realize that the "Christopher Faylor" link at http://www.cygwin.com/ led to the cygwin mailing list. I should have been more vigilant. > The phrase "complete Cygwin version 1.3.20 set of packag

Re: cut and paste problem with xemacs Was Re: [ANNOUNCEMENT] Available for test: cygwin-1.5.0-1

2003-07-21 Thread David Rothenberger
Antoine Levy-Lambert writes: > Hi Christopher, Corinna, > > My xemacs is XEmacs 21.4.1.0 "Military Intelligence (Windows)" configured > for `i686-pc.cywin` > > With cygwin 1.3, cut and paste between other applications and Xemacs works. > With cygwin 1.5.0-1, cut and paste between other app

Re: ImageMagick

2003-07-21 Thread Gerrit P. Haase
Hallo Bill, Am Montag, 21. Juli 2003 um 07:39 schriebst du: > Hi all, > Anybody have ImageMagick installed? > I'm having installation problems with some of the required libs (the ones I > want), specifically, the IJG jpeg lib and libexif. When running > ./configure --enable-shared for the IJG j

RE: problem starting cron as a service

2003-07-21 Thread Bill McCormick
Ok, I missed the -D param. Just going from the man pages, cron takes no params. I also didn't find any info regarding running cron as a service in the /usr/doc's. So, as always, it's the littlest things that bite. Any idea regarding my previous post about ImageMagick? thanks mucho, Bill > -

RE: Cygwin version 1.3.20

2003-07-21 Thread Elfyn McBratney
On Mon, 21 Jul 2003, Henry Da Costa wrote: > Max Bowsher wrote: > > You have sent this message to a public mailing list. > > Thanks for replying. I didn't realize that the "Christopher Faylor" link > at http://www.cygwin.com/ led to the cygwin mailing list. I should have > been more vigilant. Per

RE: Cygwin version 1.3.20

2003-07-21 Thread Henry Da Costa
Elfyn McBratney wrote: > I will add this though: If you have a program that worked on 1.3.20* which does > not work on 1.3.22* it's more productive to try and find out the cause of the > problem rather than going back in time. If it turns out to be a problem in the > Cygwin DLL, matbe the royal we

Subject: Corrupt characters in cygwin console (:310)

2003-07-21 Thread phil
Subject: Corrupt characters in cygwin console (:310) I have recently installed cygwin on a Windows98 machine. In the cygwin console (and also the bash.exe console), I get corrupt characters after I type every 5 or so letters. Usually something like \:310, or \316\310. These seem to occur at a ra

Re: Cygwin version 1.3.20

2003-07-21 Thread Larry Hall
Henry Da Costa wrote: Elfyn McBratney wrote: I will add this though: If you have a program that worked on 1.3.20* which does not work on 1.3.22* it's more productive to try and find out the cause of the problem rather than going back in time. If it turns out to be a problem in the Cygwin DLL, m

RE: Cygwin version 1.3.20

2003-07-21 Thread Henry Da Costa
Larry Hall wrote: > Why do you only have the executable? Also, why can't the provider of > this executable give you with the support you need? Strictly > speaking, if the provider hasn't purchased a commercial license from > Red Hat, they are legally bound by the GPL. If they aren't providing >

Re: cut and paste problem with xemacs Was Re: [ANNOUNCEMENT] Available for test: cygwin-1.5.0-1

2003-07-21 Thread David Rothenberger
Antoine, Please keep your replies on the list. I set the Reply-To: header; please make sure your mailer honors it. > I have tried your workaround ... and it works for me, much to my surprise > because my XEmacs is a Windows/Cygwin build, not an XWindows/Cygwin build, > and so I do not understand

Re: perl with cygwin 1.5 doesn't fly.

2003-07-21 Thread Gerrit P. Haase
Hallo George, Am Sonntag, 20. Juli 2003 um 20:17 schriebst du: > Check u're perl code again Hey, I try to build perl from sources with the new 64bit Cygwin 1.5 prerelease. All the code that is failing is the perl code from the perl sources which is used to build Perl. > Use strict; # that w

RE: perl with cygwin 1.5 doesn't fly.

2003-07-21 Thread Matthew O. Persico
On Sun, 20 Jul 2003 14:17:23 -0400, George Njoku wrote: >Check u're perl code again > >Use strict; # that way you must use 'my' to define all scalars > >My %module = ( 'cygwin'=>'Cygwin' ); # note 'cygwin' My $var = >$module{$^0} || 'Unix' # can't remember what special variable = # >$^0 but note

RE: Anyone trying 1.5.0 for anything other than managed mode?

2003-07-21 Thread Billinghurst, David (CRTS)
I can build and test gcc HEAD with 1.5.0 and latest (well yesterday's latest) test packages. The testsuite results are similar to 1.3, but I haven't checked the output line by line. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problem

when is it useful to attach strace outputs to the M/L

2003-07-21 Thread Carlo Florendo
Hello, Sometimes, when I post problems here, I attach the output of cygcheck and strace. Could anyone point out when it's relevant to attach strace outputs here? In the post http://cygwin.com/ml/cygwin/2003-07/msg01072.html the output of strace was not deemed to be useful. Thanks! Best Rega

Re: when is it useful to attach strace outputs to the M/L

2003-07-21 Thread Christopher Faylor
On Tue, Jul 22, 2003 at 09:37:16AM +0800, Carlo Florendo wrote: >Sometimes, when I post problems here, I attach the output of cygcheck >and strace. Could anyone point out when it's relevant to attach strace >outputs here? In the post >http://cygwin.com/ml/cygwin/2003-07/msg01072.html the output o

Re: when is it useful to attach strace outputs to the M/L

2003-07-21 Thread Carlo Florendo
> From: "Christopher Faylor" > On Tue, Jul 22, 2003 at 09:37:16AM +0800, Carlo Florendo wrote: > >Sometimes, when I post problems here, I attach the output of cygcheck > >and strace. Could anyone point out when it's relevant to attach strace > >outputs here? In the post > >http://cygwin.com/m

RE: ImageMagick

2003-07-21 Thread Bill McCormick
Thanks Gerrit, I thought I had the jpeg lib from cygwin installed and that I needed something more. Your note prompted me to check again and sure enough, I didn't have it installed - DUH!! So after installing that - Imagemagick is now ready to fly with jpeg. I DL'd your lib's from your link (note

GCC Errors - two versions released

2003-07-21 Thread William J. Moulton
Has anyone noticed that two versions of GCC were released with the latest versions of cygwin? I experienced many compile and makefile errors only to discover it was the GCC compiler version. And have watched problem after problem be reported to the newsgroup about the compiler and makefile. Vers

Cygwin prevents normal Windows shutdown

2003-07-21 Thread Richard Anderson
When I start Cygwin 1.3.22-1 with the installed shortcut (which points to C:\cygwin\cygwin.bat) and then try to shut down Windows XP using the normal Start / Turn Off Computer procedure, Windows pops up the "End Program - Cygwin ... Windows cannot end this program" dialog box. The cygwin ps comman

GCC: Split it ?

2003-07-21 Thread Frédéric L. W. Meunier
The GCC 3.2-3 package is almost 3 times the size of the 2.95.4-10 mainly due to the Java part. Wouldn't it help split it in various packages, like one for C and C++, and others for the remaining (and less used) languages ? Just a suggestion. -- Unsubscribe info: http://cygwin.com/ml/#unsubsc

RE: ImageMagick

2003-07-21 Thread Billinghurst, David (CRTS)
ImageMagick-5.5.3 builds out of the box for me with shared libraries, and I have been using it for months without problem. I did re-autotool it before I built, but I am not sure if that is required libtoolize --copy --force && \ aclocal && \ automake && \ autoconf I then configured wit

Thread.start()

2003-07-21 Thread P.B. Dushkin
Greetings. I hope this is the appropriate way to correspond with the list. I have been building an rmi client/server program using cygwin. my development environment is the jdk1.3.1 08. The GNU bash is version 2.05b.0(9)-release (i686-pc-cygwin). My problem is when I try to start the rmiregistry.