Re: ssh problems

2005-07-20 Thread Eli Barzilay
On Jul 19, Larry Hall wrote: > At 02:32 AM 7/19/2005, you wrote: > >I did the additional chown, and my username is a mamber of the > >administrators group, but I'm still getting the same error (1053). > >Is there any log file or something that will hint at the problem? > > Only /var/log/sshd.log b

RE: chmod suddenly ceased to work on old files - NEW FINDINGS

2005-07-20 Thread FischRon.external
> Are you saying that your ssh may use a different cygwin1.dll than the > rest of the system? No, I took care about this, so this can't be the reason Ronald -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation

Re: compiling flpsed under Cygwin

2005-07-20 Thread Stephen P. Harris
- Original Message - From: "Larry Hall" <[EMAIL PROTECTED]> To: "Ken Dibble" <[EMAIL PROTECTED]>; "cygwin" Sent: Tuesday, July 19, 2005 7:58 PM Subject: Re: compiling flpsed under Cygwin At 10:27 PM 7/19/2005, you wrote: Stephen P. Harris wrote: Hello, I am looking for an alte

man - broken pipe

2005-07-20 Thread Krzysztof Duleba
After some updates I get broken pipe messages when pressing 'q' to exit from less. The man pages are printed correctly. Some examples: $ man g++ sh: line 1: 1660 Broken pipe /usr/bin/gunzip -c '/usr/share/man/man 1/g++.1.gz' $ echo a|man bash sh: line 1: 3456 Broken pipe

Re: compiling flpsed under Cygwin

2005-07-20 Thread Brian Dessent
"Stephen P. Harris" wrote: > Well I installed LyX 1.3.1 before the current port to native Windows, > LyX 1.3.6. So I used the recommendation found at the porter's website. What he means is that Cygwin/X long ago transitioned from XFree86 to X.org for the X server. If you are still using the anci

Re: man - broken pipe

2005-07-20 Thread Brian Dessent
Krzysztof Duleba wrote: > After some updates I get broken pipe messages when pressing 'q' to exit > from less. The man pages are printed correctly. I think that is by design and not a bug. When you are viewing the manpage, a pipeline of commands has been setup to decompress and format the manpag

Re: man - broken pipe

2005-07-20 Thread Krzysztof Duleba
Brian Dessent wrote: Krzysztof Duleba wrote: After some updates I get broken pipe messages when pressing 'q' to exit from less. The man pages are printed correctly. I think that is by design and not a bug. When you are viewing the manpage, a pipeline of commands has been setup to decompress

Re: man - broken pipe

2005-07-20 Thread Brian Dessent
Krzysztof Duleba wrote: > I get this error on my laptop and only since I've updated most packages few > days ago. I don't get this on Linux boxes and on Windows box with Cygwin > updated the last month. > > Hitting 'end' or '>' helps indeed. I wonder what makes the difference that > now SIGPIPE i

RE: .exe magic doesn't work with gprof

2005-07-20 Thread Dave Korn
Original Message >From: Krzysztof Duleba >Sent: 20 July 2005 07:07 > .exe magic doesn't work with gprof. Any ideas why? And indeed, it doesn't work the other way round... [carrying on from your testcase:] [EMAIL PROTECTED] /artimi/firmware/test> mv foo.exe foo [EMAIL PROTECTED] /artimi

Re: CGI problems whith latest apache2

2005-07-20 Thread Dr. Volker Zell
> Gerrit P Haase writes: > Sorry if this doesn't help much, Problem solved. After a rebaseall, CGI with apache2 works like a charm. > Gerrit Ciao Volker -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Docu

AltGr doesn't produce @|{[]}\~

2005-07-20 Thread Dr. Volker Zell
Hi list My AltGr-Key doesn't produce the following chars @|{[]}\~ anymore under X. This is on a german keyboard (Toshiba Laptop - Tecra) after an upgrade to the latest bash, XWin, coreutils and a rebaseall afterwards. Everything is fine in a non-X bash window. Any ideas how to debug this. Here

Re: tcl and java on cygwin

2005-07-20 Thread community help
Thank you for your answer. I tried to install jacl from the source. But it didn't install. I've just received an answer from the tcljava mailing list saying that i can run jacl from cygwin if i install it in windows. Thank you --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > On Tue, 19 Jul

RE: cygwin ver 1.5.12-1 on win2k3

2005-07-20 Thread Etienne Mbuyi
The output of cron_diagnose.sh does not help because it shows the same info compared to a server where cron is working. We don't have sendmail install. In any case here is the output of cygcheck -s -v -r. I also include the crontab -l output and the error that we get when trying to start cron. $

Re: man - broken pipe [Attn: man maintainer]

2005-07-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brian Dessent on 7/20/2005 2:52 AM: > I think it would depend on what packages you upgraded. It could be that > the default buffer size somewhere has changed. If it was quite large to > begin with, and then was reduced, you would see the

RE: cygwin ver 1.5.12-1 on win2k3

2005-07-20 Thread Pierre A. Humblet
Etienne Mbuyi wrote: > The output of cron_diagnose.sh does not help because it shows the same info > compared to a server where cron is working. We don't have sendmail install. > In any case here is the output of cygcheck -s -v -r. I also include the > crontab -l output and the error that we get w

RE: cygwin ver 1.5.12-1 on win2k3

2005-07-20 Thread Etienne Mbuyi
The steps outlined below were used to install cron on a different win2k3 server and it works. For some reason the same procedures don't work on a different server. $ net user cron_x password /add /yes $ net localgroup administrators cron_x /add $ editrights -a SeAssignPrimaryTokenPrivelege -u cron

Re: cygwin ver 1.5.12-1 on win2k3

2005-07-20 Thread Pierre A. Humblet
That looks fine, except that all the XXXPrivelege rights should XXXPrivilege, AFAIK. Was that a cut and paste or a retype? Use editrights to list the privileges of cron_x. Cron-diagnose was not designed for 2k3, so it's useless there. My advice is to run cron-config. When prompted say that want t

RE: cygwin ver 1.5.12-1 on win2k3

2005-07-20 Thread Etienne Mbuyi
That was a retype = typo. I will go head and give your recommendation a try. -Original Message- From: Pierre A. Humblet [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 9:45 AM To: Etienne Mbuyi Cc: cygwin@cygwin.com Subject: Re: cygwin ver 1.5.12-1 on win2k3 That looks fine, exc

Re: man - broken pipe

2005-07-20 Thread Krzysztof Duleba
Brian Dessent wrote: Krzysztof Duleba wrote: I get this error on my laptop and only since I've updated most packages few days ago. I don't get this on Linux boxes and on Windows box with Cygwin updated the last month. Hitting 'end' or '>' helps indeed. I wonder what makes the difference that

Re: .exe magic doesn't work with gprof

2005-07-20 Thread Krzysztof Duleba
Dave Korn wrote: .exe magic doesn't work with gprof. Any ideas why? And indeed, it doesn't work the other way round... [carrying on from your testcase:] [EMAIL PROTECTED] /artimi/firmware/test> mv foo.exe foo [EMAIL PROTECTED] /artimi/firmware/test> rm gmon.out [EMAIL PROTECTED] /artimi/fir

Re: .exe magic doesn't work with gprof

2005-07-20 Thread Eric Blake
> > But how does gprof know that foo doesn't exist? It has to open or stat it. > I thought that both open and stat calls support exe magic. stat() and exec*() support exe magic, open() does not. I don't know exactly how gprof works, but it is probably doing an open() and failing, and as such ne

Re: .exe magic doesn't work with gprof

2005-07-20 Thread Christopher Faylor
On Wed, Jul 20, 2005 at 04:04:54PM +0200, Krzysztof Duleba wrote: >But how does gprof know that foo doesn't exist? It has to open or stat it. >I thought that both open and stat calls support exe magic. Sorry. That's not how it works. The only "exe magic" in the cygwin DLL is in the stat call.

Error running gcc ("No such file or directory" error for as.exe)

2005-07-20 Thread James . Beard
Hi, Forgive me if this in the archives - I searched on various terms but could not find anything similar. I have a problem where I am running gcc (from make) and I get the following error: gcc: installation problem, cannot exec '/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin

Re: .exe magic doesn't work with gprof

2005-07-20 Thread Krzysztof Duleba
Christopher Faylor wrote: On Wed, Jul 20, 2005 at 04:04:54PM +0200, Krzysztof Duleba wrote: But how does gprof know that foo doesn't exist? It has to open or stat it. I thought that both open and stat calls support exe magic. Sorry. That's not how it works. The only "exe magic" in the cygwi

Re: Error running gcc ("No such file or directory" error for as.exe)

2005-07-20 Thread Brian Dessent
[EMAIL PROTECTED] wrote: > What is odd is that there is no doubt that this file (as.exe) exists. > If I do: > ls -l > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe > the file is listed as expected with full execute permissions set. > > If I try, from the command

Re: shortcut settings (was Re: emacs issues)

2005-07-20 Thread Ehud Karni
On Tue, 19 Jul 2005 23:34:43 -0400, Joe Brown wrote: > > I use cygwin via rxvt all the time. With a few exceptions. Emacs for > winNT seems more productively for me than getting it to work in cygwin. :/ Using Emacs in rxvt window is using Emacs in terminal mode. The equivalent to NTEmacs is Emac

g++ problem when attempting to cast a function pointer in an OpenGL GLU callback

2005-07-20 Thread Day, Michael A AMRDEC/UAH
I've got a program I'm attempting to port from Red Hat Enterprise Linux 3 to Cygwin (on Windows). g++ -v in Cygwin reveals: gcc version 3.4.4 g++ -v in Red Hat reveals: gcc version 3.2.3-52 There's the background. Here's the problem: I'm attempting to cast a function pointer in the followin

Re: g++ problem when attempting to cast a function pointer in an OpenGL GLU callback

2005-07-20 Thread Brian Dessent
"Day, Michael A AMRDEC/UAH" wrote: > test.cpp:72: error: invalid conversion from `void (*)()' to `void (*)()' Win32 API functions generally use the stdcall calling convention, not the standard C one. Your tcbBegin is not defined this way and this could be what the compiler is trying to tell you,

Re: [perl-5.8.7] Perl regression tests fail when lib directory is present

2005-07-20 Thread Michael G Schwern
On Tue, Jul 19, 2005 at 09:16:03PM -0500, Scott Bolte wrote: > It is not a perl bug. It is something in the TH module. > > I tested with perl 5.8.7 and the previous 5.8.6. I also, > through -I, tried both the old and new modules. It clearly > is the new Test::Harness modu

Re: AltGr doesn't produce @|{[]}\~

2005-07-20 Thread Dr. Volker Zell
> Volker Zell writes: > Hi list > My AltGr-Key doesn't produce the following chars @|{[]}\~ anymore under X. This > is on a german keyboard (Toshiba Laptop - Tecra) after an upgrade to the > latest bash, XWin, coreutils and a rebaseall afterwards. > Everything is fine in

setting Win32 environment variables in Cygwin

2005-07-20 Thread Alex Goldman
When I execute a *.bat file containing lines like Set FOO=12345 FOO does not show up in the environment of the Cygwin shell. Further, if I execute Win32 programs that access the environment, they can not see FOO either. Specifically, I need to do Set PATH=C:\Program Files\Microsoft Visual C++ T

How to add user under Cygwin

2005-07-20 Thread Ayam Jantan
Hello, I would like to know how do I add a user under cygwin? I try the following command adduser or useradd nothing works. I'm currently trying to install Gnats ( GNU Bug Tracking System ) works under windows server and required to adduser gnats. Thank you __

Re: How to add user under Cygwin

2005-07-20 Thread Andrew DeFaria
Ayam Jantan wrote: Hello, I would like to know how do I add a user under cygwin? I try the following command adduser or useradd nothing works. I'm currently trying to install Gnats ( GNU Bug Tracking System ) works under windows server and required to adduser gnats. Cygwin runs under Windo

undefined reference to `_libintl_gettext' with g++/c++

2005-07-20 Thread Mark Paulus
Hello, I have several binaries in a project, and most of the binaries compile. However, one binary fails with a whole series of the above error: g++ -L../lib -o dselect basecmds.o baselist.o basetop.o bindings.o curkeys .o main.o methkeys.o methlist.o method.o methparse.o pkgcmds.o

RE: How to add user under Cygwin

2005-07-20 Thread Etienne Mbuyi
$ net user AyamJ password /add /yes $ net localgroup AyamJ /add $ mkpassd -l -u AyamJ >> /etc/passwd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ayam Jantan Sent: Wednesday, July 20, 2005 3:22 PM To: cygwin@cygwin.com Subject: How to add user under Cy

Re: How to add user under Cygwin

2005-07-20 Thread Christopher Faylor
On Wed, Jul 20, 2005 at 04:23:31PM -0400, Etienne Mbuyi wrote: >$ net user AyamJ password /add /yes >$ net localgroup AyamJ /add >$ mkpassd -l -u AyamJ >> /etc/passwd Does this work on Windows 9x, too? It seems like some kind of script or program which packaged these commands into a "useradd" or

Re: setting Win32 environment variables in Cygwin

2005-07-20 Thread Mark Hadfield
Alex Goldman wrote: When I execute a *.bat file containing lines like Set FOO=12345 FOO does not show up in the environment of the Cygwin shell. Further, if I execute Win32 programs that access the environment, they can not see FOO either. It's not clear what you're doing from your descriptio

RE: 0x6756a0 win32 error renders cygwin almost useless

2005-07-20 Thread Ramón Fallon
Thank you very much art for your answer. lack of grace is the penalty for putting theory into practice! It's not a huge surprise, but your answer tells me where the land might lie with this one. cheers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: htt

RE: 0x6756a0 win32 error renders cygwin almost useless

2005-07-20 Thread Ramón Fallon
Thank you very much Larry for your answer. Yes, I've been through those things, no second cygwin1.dll. I have cygwin running on xp home quite well, but I may just try to sneek in a copy of cygwin1.dll somewhere and see if I can repeat this error on it. -- Unsubscribe info: http://cygwin.com

Re: setting Win32 environment variables in Cygwin

2005-07-20 Thread Igor Pechtchanski
On Thu, 21 Jul 2005, Mark Hadfield wrote: > Alex Goldman wrote: > > When I execute a *.bat file containing lines like > > > > Set FOO=12345 > > > > FOO does not show up in the environment of the Cygwin shell. Further, > > if I execute Win32 programs that access the environment, they can not > > se

Re: undefined reference to `_libintl_gettext' with g++/c++

2005-07-20 Thread Brian Dessent
Mark Paulus wrote: > I have several binaries in a project, and most of the binaries > compile. However, one binary fails with a whole series of the > above error: > > g++ -L../lib -o dselect basecmds.o baselist.o basetop.o bindings.o > curkeys > .o main.o methkeys.o methlist.o method.

MD5 checksum question

2005-07-20 Thread Luke Kendall
Does it matter that the top-level setup.ini (that duplicates the MD5 checksums of each package's md5.sum file), does *not* do the same thing for the setup.hint file in each package directory? I assume the duplication is to allow the detection of the race condition (mentioned below). I only notice

Re: How to add user under Cygwin

2005-07-20 Thread Raz
On 7/20/05, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Wed, Jul 20, 2005 at 04:23:31PM -0400, Etienne Mbuyi wrote: > >$ net user AyamJ password /add /yes > >$ net localgroup AyamJ /add > >$ mkpassd -l -u AyamJ >> /etc/passwd > > Does this work on Windows 9x, too? It seems like some kind

Re: [perl-5.8.7] Perl regression tests fail when lib directory is present

2005-07-20 Thread Andrew Ho
Hello, MS>I would suggest working backwards though the CPAN versions of Test::Harness MS>until it works. Then we can better spot the change which caused this bug. MS>http://search.cpan.org/dist/Test-Harness/ I tested stepping down through versions of Test::Harness from CPAN. Version 2.42 is th

Re: MD5 checksum question

2005-07-20 Thread Christopher Faylor
On Thu, Jul 21, 2005 at 11:13:26AM +1000, Luke Kendall wrote: >Does it matter that the top-level setup.ini (that duplicates the MD5 >checksums of each package's md5.sum file), does *not* do the same thing >for the setup.hint file in each package directory? I assume the >duplication is to allow the

RE: How to add user under Cygwin

2005-07-20 Thread Herb Martin
> AFAIK, Windows 9x did not ship with the "net" command. I > think you could download the "net" command in some form for > Windows 98, but I don't know how close it is to the > WinNT/Win2000/WinXP version. The Net (add/view/etc) command is on the 9x platforms but there are some minor difference

Why I can't create a database using Berkeley DB

2005-07-20 Thread Manuel Tejada
Recently I installed Berkeley DB version 4.3. I copied The following example source from a tutorial somewhere which I saved as prueba_berkeley.c: - #include #include #include #define DATABASE "access.db" int main() { DB *dbp; DBT key, data;

Re: Why I can't create a database using Berkeley DB

2005-07-20 Thread Larry Hall
At 10:27 PM 7/20/2005, you wrote: >When I tried to compile prueba_berkeley.c I get the >following: > >$ gcc -o prueba_berkeley prueba_berkeley.c >/cygdrive/c/WINDOWS/TEMP/ccRirmsy.o:prueba_berkeley.c:(.text+0x45): >undefined reference to `_db_create' >/cygdrive/c/WINDOWS/TEMP/ccRirmsy.o:prueba_berk

Re: ssh problems

2005-07-20 Thread Larry Hall
At 03:10 AM 7/20/2005, you wrote: >On Jul 19, Larry Hall wrote: >> At 02:32 AM 7/19/2005, you wrote: >> >I did the additional chown, and my username is a mamber of the >> >administrators group, but I'm still getting the same error (1053). >> >Is there any log file or something that will hint at the

Re: ssh problems

2005-07-20 Thread Eli Barzilay
On Jul 20, Larry Hall wrote: > At 03:10 AM 7/20/2005, you wrote: > > > >It did run into permission problems -- the /etc/ssh* keys were not > >readable. Looks like chowning them didn't help at all. Finally, I > >resorted to removeing them and re-runnning ssh-host-config to > >regenerate. Now runn

Re: ssh problems

2005-07-20 Thread Larry Hall
At 10:58 PM 7/20/2005, you wrote: >> I'm not sure what's holding you back now... > >Mainly the fact that I'm fine with starting my own sshd, even if its >manual. (I'll try a quick strace.) Actually, I meant this differently than you took it I think. I was lamenting that I couldn't think of a re

make 3.80 bug - running a program inside make

2005-07-20 Thread turbo
I have some makefiles that fail to work correctly. They worked about 6 months ago with cygwin. They work fine on mandrake 10.2. Here is the first makefile problem: In this makefile I run a program, i.e. test_calls: ${BIN}calls rm -f calls.out pwd ${BIN}calls calls.in > ca

Re: make 3.80 bug - running a program inside make

2005-07-20 Thread Christopher Faylor
On Wed, Jul 20, 2005 at 08:39:22PM -0700, turbo wrote: >I have some makefiles that fail to work correctly. >They worked about 6 months ago with cygwin. >They work fine on mandrake 10.2. > >Here is the first makefile problem: >In this makefile I run a program, i.e. > >test_calls: ${BIN}calls >

Re: Brief, simple guide to cygwin

2005-07-20 Thread Joe Smith
If someone does have time to correct the misleading things I would be most grateful, as obviously I do not wish to spread misinformation! rxvt - this is a 'terminal client' or an alternative to that dos box popup. You need it to display various programs (vim, mutt etc.) correctly. I think

Re: MD5 checksum question

2005-07-20 Thread Luke Kendall
On 20 Jul, Christopher Faylor wrote: > On Thu, Jul 21, 2005 at 11:13:26AM +1000, Luke Kendall wrote: > >Does it matter that the top-level setup.ini (that duplicates the MD5 > >checksums of each package's md5.sum file), does *not* do the same thing > >for the setup.hint file in each package dire

cygwin setup error

2005-07-20 Thread \"Dr. M. C. Nelson\"
After a new install of cygwin, the following errors are reported the first time a bash shell console or xterm is opened.  The same error message is displayed after trying to run any application. After this the console window or xterm can be closed and then reopened, and the error is gone. After log

cygwin setup error

2005-07-20 Thread \"Dr. M. C. Nelson\"
After a new install of cygwin, the following errors are reported the first time a bash shell console or xterm is opened.  The same error message is displayed after trying to run any application. After this the console window or xterm can be closed and then reopened, and the error is gone. After log

Re: cygwin setup error

2005-07-20 Thread Larry Hall
At 12:29 AM 7/21/2005, you wrote: >After a new install of cygwin, the following errors are reported the >first time a bash shell console or xterm is opened. The same error >message is displayed after trying to run any application. >After this the console window or xterm can be closed and then reop

Re: Why I can't create a database using Berkeley DB

2005-07-20 Thread Manuel Tejada
I have installed: - db4.3 base package with docs - libdb4.3 runtime and, - libdb4.3-devel You mean I need another library? --- Larry Hall <[EMAIL PROTECTED]> escribió: > At 10:27 PM 7/20/2005, you wrote: > >When I tried to compile prueba_berkeley.c I get the > >following: > > > >$ gcc -o prueba

Re: ssh problems

2005-07-20 Thread Igor Pechtchanski
On Wed, 20 Jul 2005, Eli Barzilay wrote: > On Jul 20, Larry Hall wrote: > > At 03:10 AM 7/20/2005, you wrote: > > > > > >It did run into permission problems -- the /etc/ssh* keys were not > > >readable. Looks like chowning them didn't help at all. Finally, I > > >resorted to removeing them and r

Re: ssh problems

2005-07-20 Thread Larry Hall
At 01:29 AM 7/21/2005, you wrote: >On Wed, 20 Jul 2005, Eli Barzilay wrote: > >> On Jul 20, Larry Hall wrote: >> > At 03:10 AM 7/20/2005, you wrote: >> > > >> > >It did run into permission problems -- the /etc/ssh* keys were not >> > >readable. Looks like chowning them didn't help at all. Finally

Re: Why I can't create a database using Berkeley DB

2005-07-20 Thread Brian Dessent
Manuel Tejada wrote: > I have installed: > - db4.3 base package with docs > - libdb4.3 runtime and, > - libdb4.3-devel > > You mean I need another library? No, you need to tell the linker to use it. Add "-ldb-4.3" to the link command. Your book should explain this. Brian -- Unsubscribe info:

Re: Why I can't create a database using Berkeley DB

2005-07-20 Thread Larry Hall
Reformatting... At 01:18 AM 7/21/2005, you wrote: > --- Larry Hall ><[EMAIL PROTECTED]> escribió: ^ >> At 10:27 PM 7/20/2005, you wrote: >> >When I tried to compile prueba_berkeley.c I get the >> >following: >>

Recompiling OpenLDAP fails with cygwin-1.5.18-1

2005-07-20 Thread Dr. Volker Zell
Hi list With the latest and greatest packages installed I'm trying to recompile openldap but getting: checking for sched.h... yes checking for pthread_create in default libraries... rm: cannot remove `conftest.exe': Permission denied rm: cannot remove `conftest.exe': Permission denied no checki

Re: compiling flpsed under Cygwin

2005-07-20 Thread Stephen P. Harris
- Original Message - From: "Brian Dessent" <[EMAIL PROTECTED]> To: "Cygwin List" Cc: Sent: Wednesday, July 20, 2005 1:15 AM Subject: Re: compiling flpsed under Cygwin I owe you an apology. I thought at first that you just were spread too think to give much attention to any one email.