Re: [setup] Why does PackageSpecification have a privatecopy-constructor? (Robert?)
Robert Collins wrote: On Mon, 2004-08-30 at 18:33 +0100, Max Bowsher wrote: I can't see why setup's PackageSpecification class has a private copy-constructor. Am I missing something? erm. to only allow the class itself to create copies. Yes, but why was it decided to make that restriction? Either I am missing something, or it is a pointless restriction. The reason why I am suddenly interested is that the C++ standard says that this: foo(SomeClass()) requires SomeClass's copy-constructor to be accessible (bizarre, no?) and g++ 3.4 has decided to enforce this. Even if that is in a method: SomeClass * SomeClass::funkyCopy() const { SomeClass *result(self); } ? Well, obviously in a method of SomeClass, private things of SomeClass are accessible. I wasn't able to convert what you mentioned above into a compilable example (attached is my errorring attempt) - but even if I was, it's a bit deviously mysterious, and may be entirely unneeded if we can make the copy-constructor public. So, unless I can make the copy-constructor public (which I don't want to do if doing so risks other problems), I need to rewrite all code like: do_something(PackageSpecification(somename)) to: PackageSpecification tmppkgspec(somename); do_something(tmppkgspec); which isn't very nice. So we have code like that at the moment? Certainly. 4 occurrences in IniDBBuilderPackage.cc and 1 in package_db.cc. Max. copycons.cc Description: Binary data
Re: [setup] Why does PackageSpecification have a privatecopy-constructor? (Robert?)
On Tue, 2004-08-31 at 08:54 +0100, Max Bowsher wrote: So we have code like that at the moment? Certainly. 4 occurrences in IniDBBuilderPackage.cc and 1 in package_db.cc. Eh? I can't find any. We have things like setSourcePackage(PackageSpecification(name)); which at the end of the call chain does: _packageversion::setSourcePackageSpecification(PackageSpecification const aSpec) { _sourcePackage=aSpec; } which should not invoke the copy contructor. rather it is the assignment operator. PackageSpecification operator= (PackageSpecification const ); which is public, and should be usable. gcc 3.x have all honoured the privateness of Foo aFoo(Foo());, and whatever warning you are getting is probably correct. As to the privateness of the copy constructor, I didn't comment it, but neither did I implement it: thats an idiom I use, to cause compiler errors when someone tries to do something that they aren't meant to. You could certainly make it public and implement it if you choose. However, showing the error you get might be more useful... Rob signature.asc Description: This is a digitally signed message part
Re: [ITP] ocaml-3.08.1-1
On Aug 29 17:26, Igor Pechtchanski wrote: http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1-src.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/setup.hint (also inline below) Uploaded. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: [setup] Why does PackageSpecification have a private copy-constructor? (Robert?)
I can't see why setup's PackageSpecification class has a private copy-constructor. Am I missing something? The reason why I am suddenly interested is that the C++ standard says that this: foo(SomeClass()) requires SomeClass's copy-constructor to be accessible (bizarre, no?) and g++ 3.4 has decided to enforce this. So, unless I can make the copy-constructor public (which I don't want to do if doing so risks other problems), I need to rewrite all code like: Actually, this makes perfect sense. When you do SomeClass(), without using the new operator, you are telling the compiler to create this instance on the stack, and then when you do foo(SomeClass()) you are telling the compiler to pass this class by value. To do so requires creating a copy. If foo() only needs temporary access to the instance of SomeClass(), then you can change foo() to accept a reference operator. Care must be taken not to store the object passed by reference, because it will obsolete as soon as the constuctor returns. On the otherhand, if you want to have perminent access to SomeClass(), then use the new operator, and change foo to accept a pointer. foo(new SomeClass()); However, I would discourage this solution, because it is likely to end with a memory leak, or an object that is deleted twice... do_something(PackageSpecification(somename)) to: PackageSpecification tmppkgspec(somename); do_something(tmppkgspec); This would not solve your problem. If you are trying to pass the class by value, a copy will still need to be made. BTW. I would discourage all of these examples. Why? Because I firmly believe in using a smart pointer class, and making the actual constructors private. i.e. class Something { private Something() {} public static SmartPointerSomething create() { return new Something(); } ... } If that was followed for all the code, then your original example would have been written: foo.create(Something.create()); Assuming the SmartPointer template is correctly written, this eliminates the possibility of memory leaks from unreferenced objects. Bill
Re: [setup] Why does PackageSpecification have a private copy-constructor? (Robert?)
On Tue, 2004-08-31 at 06:17 -0400, Doctor Bill wrote: Actually, this makes perfect sense. When you do SomeClass(), without using the new operator, you are telling the compiler to create this instance on the stack, and then when you do foo(SomeClass()) you are telling the compiler to pass this class by value. To do so requires creating a copy. No. You need to see the method signature to know if this is the case or not. As it happens the signature is void foo(SomeClass const ); This would not solve your problem. If you are trying to pass the class by value, a copy will still need to be made. And? there are two separate copy methods for classes: assignment operator and copy constructor. In this case the assignment operator is written and public, and the existing, working code has no copy constructor written. BTW. I would discourage all of these examples. Why? Because I firmly believe in using a smart pointer class, and making the actual constructors private. i.e. These two things are orthogonal. Smart pointers are good, but making the constructors private forces the class to be foreign storage only, which can be an unnecessary burden. ... If that was followed for all the code, then your original example would have been written: foo.create(Something.create()); eek. Any decent smart pointer class will let you do foo(SomeClass()); Rob signature.asc Description: This is a digitally signed message part
Re: setup 2.427 runtime error
Igor Pechtchanski wrote: Did you, by chance, use wget -o? That would put the headers into the file. FWIW, I just tried this[*] with Firefox 0.9.3 -- no problems. Igor [*] By this I mean download http://cygwin.com/setup-snapshots/setup-2.431.tar.bz2; No, just Firefox 0.9. Today, for the second time, the Firefox download simply stalled and would not complete. So, Cygwin curl to the rescue -- took about 35 seconds and untarred without a problem. -- David A. Cobb, Software Engineer, Public Access Advocate By God's Grace, I am a Christian man; by my actions a great sinner. -- The Way of a Pilgrim: R.French, Tr. Life is too short to tolerate crappy software! begin:vcard fn:David A. Cobb n:Cobb;David A. adr:;;7 Lenox Av #1;West Warwick;RI;02893-3918;USA email;internet:[EMAIL PROTECTED] title:Independent Software Consultant note:PGP Key ID#0x4C293929 effective 01/28/2004 x-mozilla-html:TRUE version:2.1 end:vcard
Re: [ITP] ocaml-3.08.1-1
On Tue, Aug 31, 2004 at 10:41:18AM +0200, Corinna Vinschen wrote: On Aug 29 17:26, Igor Pechtchanski wrote: http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1-src.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/setup.hint (also inline below) Uploaded. The setup.hint file which was uploaded was not correct. It contained http errors. I had to re-get it from http://cs1.cs.nyu.edu/~pechtcha/cygwin/ocaml/setup.hint. cgf
Re: [ITP] ocaml-3.08.1-1
On Aug 31 08:53, Christopher Faylor wrote: On Tue, Aug 31, 2004 at 10:41:18AM +0200, Corinna Vinschen wrote: On Aug 29 17:26, Igor Pechtchanski wrote: http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1-src.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/setup.hint (also inline below) Uploaded. The setup.hint file which was uploaded was not correct. It contained http errors. I had to re-get it from http://cs1.cs.nyu.edu/~pechtcha/cygwin/ocaml/setup.hint. Oops, sorry. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: [setup] Why does PackageSpecification have aprivatecopy-constructor? (Robert?)
On Tue, 2004-08-31 at 14:27 +0100, Max Bowsher wrote: Robert Collins wrote: which is public, and should be usable. See: http://gcc.gnu.org/bugs.html#cxx_rvalbind I agree with you, but the C++ Standard and GCC 3.4 disagree with both of us. Eek. gcc 3.x have all honoured the privateness of Foo aFoo(Foo());, and whatever warning you are getting is probably correct. As to the privateness of the copy constructor, I didn't comment it, but neither did I implement it: thats an idiom I use, to cause compiler errors when someone tries to do something that they aren't meant to. Why is this something that isn't meant to happen? Because I hadn't written an explicit copy-constructor. You could certainly make it public and implement it if you choose. Do I need to implement it? AFAICS the implicit copy-constructor should be ok - am I wrong? the implicit one will work, but an explicit one would be good practice here IMO. Thats because we have a pointer (_operator) that isn't actually foreign storage, and explicitly copying the pointer, not the contents may make the intent clear. However, showing the error you get might be more useful... Thanks. Rob signature.asc Description: This is a digitally signed message part
Re: [ITP] ocaml-3.08.1-1
On Aug 31 15:35, Corinna Vinschen wrote: On Aug 31 08:53, Christopher Faylor wrote: On Tue, Aug 31, 2004 at 10:41:18AM +0200, Corinna Vinschen wrote: On Aug 29 17:26, Igor Pechtchanski wrote: http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1-src.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/setup.hint (also inline below) Uploaded. The setup.hint file which was uploaded was not correct. It contained http errors. I had to re-get it from http://cs1.cs.nyu.edu/~pechtcha/cygwin/ocaml/setup.hint. Oops, sorry. Urgh, even worse, both archives were broken as well. For some reason I can't download them using curl. Wget worked, though. I fixed them. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc.
Re: [ITP] ocaml-3.08.1-1
On Tue, 31 Aug 2004, Corinna Vinschen wrote: On Aug 31 15:35, Corinna Vinschen wrote: On Aug 31 08:53, Christopher Faylor wrote: On Tue, Aug 31, 2004 at 10:41:18AM +0200, Corinna Vinschen wrote: On Aug 29 17:26, Igor Pechtchanski wrote: http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1-src.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/ocaml-3.08.1-1.tar.bz2 http://cs.nyu.edu/~pechtcha/cygwin/ocaml/setup.hint (also inline below) Uploaded. The setup.hint file which was uploaded was not correct. It contained http errors. I had to re-get it from http://cs1.cs.nyu.edu/~pechtcha/cygwin/ocaml/setup.hint. Oops, sorry. Urgh, even worse, both archives were broken as well. For some reason I can't download them using curl. Wget worked, though. I fixed them. Could be a problem with the logging script used on the site. I haven't tested it with curl, only wget and Netscape/Firefox/IE. If curl is what you normally use, I'll install it and make sure that the site works with it for the future. 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw
Compiling Tcl C extension using Cygwin gcc
Dear all, I tried to compile a simple Tcl C extension using Cygwin gcc. I use the following commands: gcc -shared -ltcl -L/lib random.o I got the following error messege: random.o(.text+0x31):random.c: undefined reference to `_Tcl_WrongNumArgs' random.o(.text+0x5e):random.c: undefined reference to `_Tcl_GetIntFromObj' random.o(.text+0x98):random.c: undefined reference to `_Tcl_GetObjResult' random.o(.text+0xad):random.c: undefined reference to `_Tcl_SetIntObj' random.o(.text+0xe2):random.c: undefined reference to `_Tcl_PkgRequire' random.o(.text+0x11a):random.c: undefined reference to `_Tcl_CreateObjCommand' random.o(.text+0x135):random.c: undefined reference to `_Tcl_PkgProvide' collect2: ld returned 1 exit status I can see that tcl.h is located at /usr/include. Also, libtcl84.a and libtclstub84.a are located at /lib. Can any one kindly help me out? Thanks a lot! Best regards, Jingzhao
Re: Compiling Tcl C extension using Cygwin gcc
Wrong list. Redirected. Igor On Tue, 31 Aug 2004, Jingzhao Ou wrote: Dear all, I tried to compile a simple Tcl C extension using Cygwin gcc. I use the following commands: gcc -shared -ltcl -L/lib random.o I got the following error messege: random.o(.text+0x31):random.c: undefined reference to `_Tcl_WrongNumArgs' random.o(.text+0x5e):random.c: undefined reference to `_Tcl_GetIntFromObj' random.o(.text+0x98):random.c: undefined reference to `_Tcl_GetObjResult' random.o(.text+0xad):random.c: undefined reference to `_Tcl_SetIntObj' random.o(.text+0xe2):random.c: undefined reference to `_Tcl_PkgRequire' random.o(.text+0x11a):random.c: undefined reference to `_Tcl_CreateObjCommand' random.o(.text+0x135):random.c: undefined reference to `_Tcl_PkgProvide' collect2: ld returned 1 exit status I can see that tcl.h is located at /usr/include. Also, libtcl84.a and libtclstub84.a are located at /lib. Can any one kindly help me out? Thanks a lot! Best regards, Jingzhao -- 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw
Re: [setup] Why does PackageSpecification haveaprivatecopy-constructor? (Robert?)
Robert Collins wrote: On Tue, 2004-08-31 at 14:27 +0100, Max Bowsher wrote: Robert Collins wrote: which is public, and should be usable. See: http://gcc.gnu.org/bugs.html#cxx_rvalbind I agree with you, but the C++ Standard and GCC 3.4 disagree with both of us. Eek. Indeed :-) gcc 3.x have all honoured the privateness of Foo aFoo(Foo());, and whatever warning you are getting is probably correct. As to the privateness of the copy constructor, I didn't comment it, but neither did I implement it: thats an idiom I use, to cause compiler errors when someone tries to do something that they aren't meant to. Why is this something that isn't meant to happen? Because I hadn't written an explicit copy-constructor. You could certainly make it public and implement it if you choose. Do I need to implement it? AFAICS the implicit copy-constructor should be ok - am I wrong? the implicit one will work, but an explicit one would be good practice here IMO. Thats because we have a pointer (_operator) that isn't actually foreign storage, and explicitly copying the pointer, not the contents may make the intent clear. Mmm. I'm not keen on having an explicit constructor doing exactly what the implicit one would do. I thing that would prove quite confusing for any new people trying to understand the code - I know it would be quite puzzling for me, met without context. Also, gcc might do better optimizing away a non-existent constructor than an explicit one - though I don't have any supporting evidence, it seems plausible. Unless we add explicit copy-constructors to every single class, I'd rather just leave it out and let the compiler handle things implicitly? It seems cleaner to me. That's what I'll commit for now, on the premise that removing the private copy-constructor is a step in the right direction, whether we end up with it explicit or implicit. Max.
Re: [setup] Why does PackageSpecification haveaprivatecopy-constructor? (Robert?)
On Tue, 2004-08-31 at 23:42 +0100, Max Bowsher wrote: Unless we add explicit copy-constructors to every single class, I'd rather just leave it out and let the compiler handle things implicitly? It seems cleaner to me. I think you'll find every class that has a destructor also has an explicit copy constructor assignment operator. That class certainly has an explicit assignment operator... being explicit on the copy constructor is consistent. Have you heard of the 'rule of 3' ? Rob signature.asc Description: This is a digitally signed message part
Problem with setup 2.427 under Windows 2000
Hi all. I am attempting to run setup.exe, version 2.427 under Windows 2000 Professional on a Toshiba laptop. After making all the setup option selections, the setup fails, with a dialog window saying 'setup.exe has been terminated by Windows. You will need to restart the program'. The first time I tried to run setup, I looked in 'setup\var\log'. It said that Cygwin could not detect McShield because McAfee is not installed. I am aware that setup has problems running simultaneously with anti-virus software, but I have no anti-virus software on the computer (as the error diagnostic indicates). This computer is not connected to the internet. So I had to download and burn the tarballs to CD on another machine. I then copied the files from CD to a folder residing on my desktop on the machine in question...and am attempting to run setup from this folder. This is my first time posting to this list and trying to use Cygwin. Many apologies if this has been addressed elsewhere (I've read several postings with regard to 2.427 setup - but none addressing quite the same concern as mine). Best regards, Pat Jones _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
RE: X/cygwin and Virtual PC 6
I know this doesn't directly answer your question, but have you considered partitioning your harddrive and dual-booting into a separate Windows 2000 install (instead of Virtual PC, at least for this one client)? _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
X-server problems in Cygwin
Hi, I am having problems with a new installation of Cygwin when running startx it hangs after saying: $ startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-12 Contact: [EMAIL PROTECTED] XWin was started with the following command line: X :0 -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 740 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 041D (041d) (--) Using preset keyboard for Swedish (Sweden) (41d), type 4 Rules = xorg Model = pc105 Layout = se Variant = (null) Options = (null) Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 512 370 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winMultiWindowXMsgProc - pthread_mutex_lock () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - pthread_mutex_unlock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 Can you please help? Best regards, Ariel Goobar -- ___ Ariel Goobar (www.physto.se/~ariel) Department of Physics, Stockholm University AlbaNova University Center, SE-106 91 Stockholm, SWEDEN tel: +46 8 55378659 fax: +46 8 55378601
Can't get XDMP to work
Hi all, I'm trying to connect to xdm on my Linux box running Debian Woody to use my Windows box as an X terminal. My problem is, I can't get a login window. I've done the following on the Linux box: In the Xaccess file, I uncommented the following line: * #any host can get a login window In the xdm-config file, I commented out the following: ! DisplayManager.requestPort: 0 I can see that xdm is running on the Linux box. I then edited the startxdmcp.bat script that comes with cygwin and set REMOTE_HOST to the ip of my Linux box. After these steps, when I run startxdmcp.bat I just get an emtpy root window, no login window. After a while it times out and /tmp/XWin.log looks as follows: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-12 Contact: [EMAIL PROTECTED] XWin was started with the following command line: /usr/X11R6/bin/XWin -query 192.168.1.1 -nodecoration -lesspointer ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 1024 winInitializeDefaultScreens - Returning (WW) /tmp mounted int textmode winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winFinishScreenInitFB - Masks: 00ff ff00 00ff MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 041D (041d) (--) Using preset keyboard for Swedish (Sweden) (41d), type 4 Rules = xorg Model = pc105 Layout = se Variant = (null) Options = (null) Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 640 497 Fatal server error: XDMCP fatal error: Session failed Session 225008001 failed for display 192.168.0.1:0: Cannot open display winDeinitMultiWindowWM - Noting shutdown in progress On the Linux box, in xdm.log I get:xdm error (pid 485): Hung in XOpenDisplay(192.168.0.1:0), aborting xdm error (pid 485): server open failed for 192.168.0.1:0, giving up xdm error (pid 239): Display 192.168.0.1:0 cannot be opened xdm error (pid 239): Display 192.168.0.1:0 is being disabled The strange thing is the reference to display 192.168.0.1:0 in both /tmp/XWin.log and xdm.log. The Windows box has IP 192.168.1.2 and the Linux box 192.168.1.1. Any clue as to what the problem is here? Thanks in advance. Johan
Re: X-server problems in Cygwin
On Tue, 31 Aug 2004, Ariel Goobar wrote: Hi, I am having problems with a new installation of Cygwin when running startx it hangs after saying: ZoneAlarm 5 running? Downgrade to ZA 4.5 bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Can't get XDMP to work
On Tue, 31 Aug 2004, Johan Parin wrote: The strange thing is the reference to display 192.168.0.1:0 in both /tmp/XWin.log and xdm.log. The Windows box has IP 192.168.1.2 and the Linux box 192.168.1.1. There must be a second network interface configured in windows. Add the following parameter to the XWin commandline: -from 192.168.1.2 bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
ssh reliability problems
tunneling X traffic over ssh seems to fail at the four to six hour mark. all the connections shutdown with little reported information. Normal ssh sessions stay running fine. yes, I am using the -Y option is recommended in the FAQ. I am using a reasonably current (as of last week) copy of openssh via cygwin. ideas? ---eric
Re: ssh reliability problems
tunneling X traffic over ssh seems to fail at the four to six hour mark. all the connections shutdown with little reported information. Normal ssh sessions stay running fine. autossh might help. It starts ssh sessions and periodically checks them to make sure that they're still passing data-- if they're not, it terminates them and starts a new one. This is often helpful, but maybe not in your case, since you say that other tunnels are still good after the X tunnels fail. I don't know what would cause that. Good luck, Andrew.
src/winsup/cygserver ChangeLog sysv_shm.cc
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2004-08-31 10:47:28 Modified files: winsup/cygserver: ChangeLog sysv_shm.cc Log message: * sysv_shm.cc (kern_shmat): Add debug_printf's. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygserver/ChangeLog.diff?cvsroot=srcr1=1.32r2=1.33 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygserver/sysv_shm.cc.diff?cvsroot=srcr1=1.3r2=1.4
RE: cygwin1.dll problem with Hyperthreaded machines.
[snip problems building under cygwin on HT machines] FWIW, Kate Ebneter iPod Build Engineer Apple Computer, Inc. Um, just out of curiosity... Why is Apple using a Unix emulation running on Microsoft Windows to do their builds? ;-) -- Gary R. Van Sickle -- 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: cygrunsrv xinetd problem
The thing is, I suppose, that it's not the fault of cygrunsrv's logging. It's a problem with xinetd internal logging, according to sources made by some kind of utility 'xlog' (I haven't heard about it). Precisely, I think, that the error is raised by function 'msg_init' in file 'msg.c', somewhere here (i use code cutting): type_of_xlog = XLOG_FILELOG ; xh = xlog_create( type_of_xlog, program_name, XLOG_PRINT_ID + XLOG_PRINT_PID, filelog_option_arg, LOG_OPEN_FLAGS, LOG_FILE_MODE ) ; if ( xh == NULL ) if ( type_of_xlog == XLOG_FILELOG ) return( can't open log file ) ; As, i don't have 'xlog' sources, I don't know what is the exact path of the trouble-making log file. However, I suspect that it might be a problem of doubling the logfile: cygrunsrv opens /var/log/xinetd.log to write his messages, and next xinetd tries to open the same file for his logging. How do you think, is it possible, and if so, what should I do to overcome the problem? Well, if you really think it's a clash between cygrunsrv's log and xinetd's one, you can instruct cygrunsrv to use a different log name using the -1 and -2 cygrunsrv arguments (see cygrunsrv --help for details). Yes, this helps, after these three lines: $ cygrunsrv -R xinetd $ cygrunsrv -I xinetd -p /usr/sbin/xinetd -d 'CYGWIN xinetd' -1 /dev/null -2 /dev/null $ cygrunsrv -S xinetd xinetd service runs just well. Thanks for help Marcin Lewandowski http://www.ii.uj.edu.pl/~lewandow -- 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: RTLD_DEFAULT RTLD_NEXT
On Aug 30 19:51, Sam Steingold wrote: * Corinna Vinschen [EMAIL PROTECTED] [2004-08-30 16:38:32 +0200]: On Aug 30 10:13, Sam Steingold wrote: http://www.opengroup.org/onlinepubs/009695399/functions/dlsym.html Any plans to implement RTLD_DEFAULT RTLD_NEXT? Nope, but you know http://cygwin.com/acronyms/#PTC , don't you? :-) looks like there is no way in win32 to get the list of all open libraries, is there? (and no analogue for RTLD_DEFAULT either). EnumProcessModules. This should also allow to implement RTLD_DEFAULT. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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: ssh - no access to /dev/st0
On Aug 30 17:10, Cary Lewis wrote: I have a SCSI tape drive, and I can use tar to create archives on it: tar cvf /dev/st0 /bin tar tvf /dev/st0 but if I try to ssh into my cygwin box and try the same command, then I get the following error: tar: opening archive /dev/st0: The system cannot find the path specified. Sure that you're running the same tar? I'm running my Cygwin stuff in an ssh session all the time and I have no problem accessing /dev/st0. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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: Workaround TeTeX installation failure? (TeXMacs)
Chuck White wrote: The standard Cygwin installation fails to completely install TeTeX (2.0.2-1 or 2.0.2-13), which causes TeXMacs installation to fail (required fonts not found in nonexistent directories). TeXmacs requires tetex-bin tetex-base tetex-extra tetex-devel (see [1]), this should install a fully featured TeTeX on your machine. @Jan: please tell me, if there has been a rearrangement (new/other package names) of the TeTeX distribution recently. @Chuck: please make sure you've read http://www.cygwin.com/ml/cygwin/2004-08/msg00943.html only been 'using' Linux for less than 24 hours, I'd appreciate some help in Cygwin is not Linux. Andreas -- http://www.fmi.uni-passau.de/~seidl/ [1] TeXmacs current setup.hint: http://alice.fmi.uni-passau.de/~seidl/cygwin/release/TeXmacs/setup.hint -- 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: Professionally produced Cygwin CD?
I do desperately need a full install of Cygwin on my PC. Things will go easier with my sysadmin if I can hand him a professional-looking CD and say install this. A full install won't fit on one CD. Including all .src files and all of [prev] and [test] as well as [curr] you need about 2.0-2.2 GB under release/ just for the Cygwin resource. A while ago (12 months or more) I know from experience that it was both possible and practical to fit all the [curr] non-.src files on to a CD and fully install from that. But I suspect that the Cygwin provision is now so great that even that is now no longer possible: too tight a squeeze. Remarkably, growing the Cygwin resource into a working Cygwin system also requires about 2 GB. So: it is really not possible to offer your sysadmin one CD and say explode that (a release+setup CD) or copy that (a copy of a Cygwin image). Nor do I think the latter could be shrunk as a .tgz, but I suppose anything is possible. By the way you say my PC. Why are you involving anybody else at all? As a different topic entirely: A tailored non-full resource (release+setup) could be made to fit on one CD. Also, there are references on this list ( http://www.cygwin.com/ml/cygwin/2003-07/msg01117.html and others ) to a working portable CD system that works off CD on any Windows machine you care to slot the thing into. There is some effort required to make this CD, but it too requires a decision about What To Leave Out. This does not sound like what you want, either. Fergus -- 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/
ssh err. in win2k3: setgid invalid argument...
just ran ssh-host-config...everything went fine... added -r option for priviledge separation ssh localhost: enters password: Fan Fare! msg appear then error: ssh localhost [EMAIL PROTECTED]'s password: Last login: Tue Aug 31 02:23:55 2004 from 127.0.0.1 Fanfare!!! You are successfully logged in to this server!!! setgid: Invalid argument Connection to localhost closed. So I checked event viewer...4 new event appeared since I ran ssh localhost...Two might hint to the error: * Address 127.0.0.1 maps to mycomputer.mydomain.net, but this does not map back to the address. * syslogin_perform_logout: logout() returned an error. So I ran ssh 192.168.0.2 (ip for my computer) and this time, the second msg appears only... I ran out of clues as of now... __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail -- 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: BUG gcc-mingw 20040810-1 library search path
Igor Pechtchanski schrieb: FWIW, I don't know what (if anything) has changed... I've used gcc -mno-cygwin recently with no problems. What exactly needs to be done to reproduce the problem? Igor for me this fails: install efsprogs and compile a mingw project which uses -luuid this installs /usr/lib/libuuid.a, which has nothing to do with /usr/lib/w32api/libuuid.a and the library search path favours the efsprogs lib of course. no mount problem. after deinstalling efsprogs or just moving away the lib it works fine of course. Example: xvid cvs snapshots for the dshow build in my nightly builds http://xarch.tu-graz.ac.at/home/rurban/software/xvid/ dshow-make.patch shows the linker line for a typical mingw target (here with direct show also): $(CC) $(LDFLAGS) -mno-cygwin -shared \ -Wl,-dll,--out-implib,[EMAIL PROTECTED],--enable-stdcall-fixup,--allow-multiple-definition \ -o $@ \ $(OBJECTS) xvid.ax.def \ -L$(DXTREE)/Lib -lstrmiids \ $(DXBASECLASSES)/strmbase.lib \ -luuid -lwinmm -lole32 -loleaut32 -lcomctl32 -lstdc++ -- Everyone ought to worship God according to his own inclinations, and not to be constrained by force. (Flavius Josephus, Life) -- 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: BUG gcc-mingw 20040810-1 library search path
Reini Urban wrote: Igor Pechtchanski schrieb: FWIW, I don't know what (if anything) has changed... I've used gcc -mno-cygwin recently with no problems. What exactly needs to be done to reproduce the problem? Igor for me this fails: install efsprogs and compile a mingw project which uses -luuid this installs /usr/lib/libuuid.a, which has nothing to do with /usr/lib/w32api/libuuid.a and the library search path favours the efsprogs lib of course. no mount problem. Now we get the the bottom of the problem! It's nothing to do with the gcc-mingw package at all. Instead, it is an e2fsprogs packaging problem. Someone want to re-report in a new thread, with an appropriate subject? e.g. e2fsprogs installs libuuid.a, hides w32api/libuuid.a Max. -- 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: Workaround TeTeX installation failure? (TeXMacs)
Andreas Seidl writes: @Jan: please tell me, if there has been a rearrangement (new/other package names) of the TeTeX distribution recently. Nothing has changed and I haven't seen any other bug reports about this specifically. But if there's a glitch in dependencies, installation can also fail. Every now and then we get reports on the LilyPond list that suggest that after running setup.exe something is not working. Rerunning setup.exe seems to work usually, and no-one has been able to send a sensible bug report of such a failure. Jan. -- Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- 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: Prob with WINDRES....The Resource Compiler...
- Original Message - Sent: Tuesday, August 31, 2004 12:08 AM Subject: Re: Prob with WINDRESThe Resource Compiler... I have made the same thing with MS RC and CVTRES ... It seems like this is not windres problem ...still not mine though ...still exists though However U have to remove the check for 2nd string parameter after [B,H,I]EDIT it shouldn't be there , officially ... defined by MS SDK ... no 2nd string parameter...fix it! ;-) THX -- 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: os.path.join inconsistency?
Jason, I agree the behaviour I'm arguing for is debatable. After taking a look at ntpath.py and posixpath.py, I see that a satisfactory solution would be tricky. I'll play around with a made-up hack like cygwinpath.py to see if it is worth pursuing... Andres, On Mon, Aug 30, 2004 at 01:29:38PM -0400, Andres Corrada-Emmanuel wrote: Does it not seem inconsistent that if Cygwin Python understands how to execute: file( 'c:/foo/bar' ) as well as file( '/cygdrive/c/foo/bar' ) it should also treat Windows style paths correctly with os.path.join? In other words, it seems that Python on Cygwin cannot default to using posixpath.py for os.path. It's got to be posixpath.py with some additional magic to get it to do os.path.join correctly. The above is debatable. You may want to try asking on one of the Python lists. Andres Corrada-Emmanuel Senior Research Fellow Information Extraction and Synthesis Laboratory University of Massachusetts, Amherst -- 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: BUG gcc-mingw 20040810-1 library search path
Already noted, Max. I'm aware of the problem, but don't have time to address it immediately. I should be able to get to it soon, though. If you have any suggestions as to where the libuuid from e2fsprogs should go, I'd be glad of the advice... IIRC, Reini suggested /usr/lib/e2fsprogs or something similar. -Samrobb -Original Message- From: Max Bowsher [mailto:[EMAIL PROTECTED] Sent: Tue 8/31/2004 7:09 AM To: [EMAIL PROTECTED] Cc: Subject: Re: BUG gcc-mingw 20040810-1 library search path Reini Urban wrote: Igor Pechtchanski schrieb: FWIW, I don't know what (if anything) has changed... I've used gcc -mno-cygwin recently with no problems. What exactly needs to be done to reproduce the problem? Igor for me this fails: install efsprogs and compile a mingw project which uses -luuid this installs /usr/lib/libuuid.a, which has nothing to do with /usr/lib/w32api/libuuid.a and the library search path favours the efsprogs lib of course. no mount problem. Now we get the the bottom of the problem! It's nothing to do with the gcc-mingw package at all. Instead, it is an e2fsprogs packaging problem. Someone want to re-report in a new thread, with an appropriate subject? e.g. e2fsprogs installs libuuid.a, hides w32api/libuuid.a Max. -- 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: sshd automatically close connection after successful login
I am having similar problems under windows 2003, but perhaps the problem is really with the latest ssh. I noticed the following which I feel is a clue, but do not know what to make of it: When I log into via ssh and specify a password and get an interactive shell and do a id command I get the following: uid=11103(Cary Lewis) gid=10513(Domain Users) groups=10512(Domain Admins),10513( Domain Users),2(Field Service Config),11356(Fuel - Integration),11702(Global MCCDEVS1),11767(MCCNET NxTGeN),11522(NMD - Full Access),11523(NMD - Read Access ),12133(PCN Writers),12156(Source safe access),12173(SPR),12143(Staff Update),0( root),544(Administrators),545(Users) But if I specify id on the command line: uid=1(MCCNET\Cary+Lewis) gid=2(MCCNET\Domain+Users) groups=3(Everyone),4(Users), 5(Administrators),6(INTERACTIVE),7(Authenticated+Users),8(This+Organizat ion),8(T his+Organization),9(MCCNET\Global+MCCDEVS1),10(MCCNET\NMD+-+Read+Access) ,11(MCCN ET\Domain+Admins),12(MCCNET\MCCNET+NxTGeN),13(MCCNET\NMD+-+Full+Access), 14(MCCNE T\SPR),15(MCCNET\PCN+Writers),16(MCCNET\Staff+Update),17(MCCNET\Field+Se rvice+Co nfig),18(MCCNET\Fuel+-+Integration),19(MCCNET\Source+safe+access),20(MCC NET\Deve lopers) This happens with or without privilege separation enable in sshd_config. This must be why the shell auto logs out if authorized_keys is used to auto login, and I think this is why I can't access /dev/st0 from a command run on the ssh line. Okay, it appears as though the directory structure is messed up! When I try to ls -l / on a ssh cmd line, I get c:\ files, not c:\cygwin If I try to explicitly run /cygwin/bin/mount.exe I get: bash: line 1: /cygwin/bin/mount.exe: No such file or directory but: $ ssh localhost ls /cygwin/bin/mou* /cygwin/bin/mount.exe As well: + ssh localhost 'echo $PATH' [EMAIL PROTECTED]'s password: /cygdrive/c/Perl/bin/:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/ cygdrive /c/WINDOWS/System32/Wbem:/cygdrive/c/Bin:/cygdrive/c/Program Files/MAX/bin:/cygd rive/c/PROGRA~1/Vision:/cygdrive/c/PROGRA~1/Vision/SYSTEM:/cygdrive/c/PR OGRA~1/C OMMON~1/VisionC:/Program Files/Microsoft SQL Server/80/Tools/BINN:/cygdrive/c/Pr ogram Files/Symantec/pcAnywhere/:/cygdrive/c/Program Files/Common Files/Roxio Sh ared/DLLShared:/cygdrive/c/Program Files/Microsoft SDK/Bin/:/cygdrive/c/Program Files/Microsoft SDK/Bin/WinNT/:/cygdrive/c/Program Files/ActiveState Komodo 2.5/ :/cygdrive/c/Program Files/Compuware/TestPartner:/cygdrive/c/Program Files/Compu ware/TestPartner/AppExtDlls:/cygdrive/c/Program Files/ActiveState Komodo 3.0/:/c ygdrive/c/PROGRA~1/MKSTOO~1/bin:/cygdrive/c/PROGRA~1/MKSTOO~1/bin/X11:/c ygdrive/ c/PROGRA~1/MKSTOO~1/mksnt:/cygdrive/c/SFU/common/:.:/bin I have other Unix emulators installed on the computer, namely mks and sfu, but these do not interfere with a interactive login via ssh, but perhaps sshd is not finding the resources it needs. I had the same set up on previous version of windows (w2k server) and did not have these problems. So the ultimate question is, when does sshd set up the environment, specifically the mount points. Thanks for any help! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen Sent: Friday, August 20, 2004 4:13 AM To: [EMAIL PROTECTED] Subject: Re: sshd automatically close connection after successful login On Aug 19 22:07, Christopher Cobb wrote: Igor Pechtchanski pechtcha at cs.nyu.edu writes: Yes, but you have to reinstall the sshd service, not just restart sshd, i.e., cygrunsrv -E sshd; cygrunsrv -R sshd; ssh-host-config; cygrunsrv -S sshd I just added resp. removed the -r from the appropriate registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sshd\Parameters and restarted sshd. Yes, that's what I did before, and I did it again just to make sure, and I still get an immediate Connection to xxx closed. after typing my password. That's the right -r isn't it? Is there something else that needs to be done? Yes, sure. It's not helpful to see it failing and then do nothing else. What does the logs show? Did you try starting sshd in debug mode from the command line (Dont' forget to change ownership of /etc/ssh* and /var/empty)? Talking about reading the mailing list: http://cygwin.com/ml/cygwin/2004-08/msg00625.html Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/ -- 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: RTLD_DEFAULT RTLD_NEXT
* Corinna Vinschen [EMAIL PROTECTED] [2004-08-31 10:32:58 +0200]: On Aug 30 19:51, Sam Steingold wrote: * Corinna Vinschen [EMAIL PROTECTED] [2004-08-30 16:38:32 +0200]: On Aug 30 10:13, Sam Steingold wrote: http://www.opengroup.org/onlinepubs/009695399/functions/dlsym.html Any plans to implement RTLD_DEFAULT RTLD_NEXT? Nope, but you know http://cygwin.com/acronyms/#PTC , don't you? :-) looks like there is no way in win32 to get the list of all open libraries, is there? (and no analogue for RTLD_DEFAULT either). EnumProcessModules. This should also allow to implement RTLD_DEFAULT. 2004-08-31 Sam Steingold [EMAIL PROTECTED] * dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules(). * include/dlfcn.h (RTLD_DEFAULT): Define to NULL. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com Bill Gates is not god and Microsoft is not heaven. Index: src/winsup/cygwin/include/dlfcn.h === RCS file: /cvs/src/src/winsup/cygwin/include/dlfcn.h,v retrieving revision 1.2 diff -u -w -b -r1.2 dlfcn.h --- src/winsup/cygwin/include/dlfcn.h 11 Sep 2001 20:01:01 - 1.2 +++ src/winsup/cygwin/include/dlfcn.h 31 Aug 2004 14:53:48 - @@ -28,6 +28,7 @@ extern void dlfork (int); /* following doesn't exist in Win32 API */ +#define RTLD_DEFAULTNULL /* valid values for mode argument to dlopen */ #define RTLD_LAZY 1 /* lazy function call binding */ Index: src/winsup/cygwin/dlfcn.cc === RCS file: /cvs/src/src/winsup/cygwin/dlfcn.cc,v retrieving revision 1.23 diff -u -w -b -r1.23 dlfcn.cc --- src/winsup/cygwin/dlfcn.cc 9 Feb 2004 04:04:22 - 1.23 +++ src/winsup/cygwin/dlfcn.cc 31 Aug 2004 14:53:48 - @@ -112,7 +112,19 @@ void * dlsym (void *handle, const char *name) { - void *ret = (void *) GetProcAddress ((HMODULE) handle, name); + void *ret = NULL; + if (handle == RTLD_DEFAULT) { /* search all modules */ +HANDLE cur_proc = GetCurrentProcess(); +HMODULE *modules; +DWORD needed, i; +EnumProcessModules(cur_proc,NULL,0,needed); +modules = alloca(sizeof(HMODULE)*needed); +if (!EnumProcessModules(cur_proc,modules,needed,needed)) + set_dl_error (dlsym); +for (i=0; i needed/sizeof(HMODULE); i++) + if ((ret = (void*)GetProcAddress(modules[i],name))) +break; + } else ret = (void*)GetProcAddress((HMODULE)handle,name); if (!ret) set_dl_error (dlsym); debug_printf (ret %p, ret); -- 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: FW: openldap: problem solved with slapd
Frank Schmelz writes: Hallo all, when i tried to run /usr/sbin/slapd.exe -d 1 under the latest Version of Cygwin, i got the message: error loading ucdata (error -127) I figured out that the files under /usr/share/openldap/ucdata/*.dat were missing as mentioned in /usr/share/doc/Cygwin/openldap-2.2.15.README I copied the files from Linux (yes, i know they have to be build with the right version) and it worked. slapd is running fine now. Maybe you can add the missing files. Uuups, this is just another packaging bug, they are there but in the wrong package. Try to install the openldap-devel package. I never noticed since I have everything installed. Ciao Volker -- 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 2.427 problem: Can't get list of download sites
I previously had cygwin installed, but had not used it for a few weeks. I tried to run an rsync shell script and it continued to fail with a connection refused message. In continuing to diagnose the problem, I ran an ethereal trace and noticed that absolutely no traffic (other than a DNS lookup) was being generated by the rsync command. I decided to delete my entire cygwin installation and re-install just to confirm that nothing was corrupted. I downloaded the latest setup.exe from cygwin.com. When I run the setup program, and choose Direct connection (which I am), I get the error message Can't get list of download sites. Make sure your network settings are correct and try again. Once again, I ran an Ethereal trace, and I am getting NO outbound network traffic at all generated by setup. I am running Windows XP Service Pack 1. I do NOT have the Windows XP firewall active. I am NOT running any other firewall such as Zone Alarm, etc. Any idea what to check in network setup? Other things I have tried include: * netsh int ip reset resetlog.txt * Starting in safe mode, going into device manager and deleting my network adapters. This causes them to get reinstalled, just to verify that the network configuration is fresh. I am about out of ideas here. I am having no other issues with the PC in terms of network connectivity. All Windows-based (non-cygwin) programs behave as designed. If I download *any* cygwin program, for instance, there is the bundled version of rsync and cygwin (cwrsync) available, it does not behave properly and access the network appropriately. -- 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 2.427 problem: Can't get list of download sites
At 11:41 AM 8/31/2004, you wrote: I previously had cygwin installed, but had not used it for a few weeks. I tried to run an rsync shell script and it continued to fail with a connection refused message. In continuing to diagnose the problem, I ran an ethereal trace and noticed that absolutely no traffic (other than a DNS lookup) was being generated by the rsync command. I decided to delete my entire cygwin installation and re-install just to confirm that nothing was corrupted. I downloaded the latest setup.exe from cygwin.com. When I run the setup program, and choose Direct connection (which I am), I get the error message Can't get list of download sites. Make sure your network settings are correct and try again. Once again, I ran an Ethereal trace, and I am getting NO outbound network traffic at all generated by setup. I am running Windows XP Service Pack 1. I do NOT have the Windows XP firewall active. I am NOT running any other firewall such as Zone Alarm, etc. Any idea what to check in network setup? Other things I have tried include: * netsh int ip reset resetlog.txt * Starting in safe mode, going into device manager and deleting my network adapters. This causes them to get reinstalled, just to verify that the network configuration is fresh. I am about out of ideas here. I am having no other issues with the PC in terms of network connectivity. All Windows-based (non-cygwin) programs behave as designed. If I download *any* cygwin program, for instance, there is the bundled version of rsync and cygwin (cwrsync) available, it does not behave properly and access the network appropriately. And do the programs that work connect directly or do they use IE settings? FWIW, 'setup.exe' does not use 'cygwin1.dll' so it's not simply a problem with Cygwin 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/
Perl searching in wrong path for modules?
Hi, i wanted to use cygwin perl for executing perl scripts from (win32, the one from apache.org, not the cygwin one) Apache, so i included the line #!D:/cygwin/bin/perl.exe -w in my CGIs. But now i have the problem that perl looks in the wrong folder for the Perl Modules, for example if i want to load Archive::Zip, it trys to load it from D:\usr\lib\perl5\site_perl\5.8.5\XML\Simple.pm instead of D:\cygwin(\usr)\lib\perl5\site_perl\5.8.5\XML\Simple.pm. So i wonder if this is a bug in cygwin perl or rather a bug in Apache (or a error from my side even?). I attached the cygcheck output, if it matters. My OS is Windows 2000, Apache was 2.0.50, Cygwin is 1.5.10-cr-0x5e6. Thanks Frank Cygwin Configuration Diagnostics Current System Time: Tue Aug 31 16:26:25 2004 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: C:\WINNT2\system32 C:\WINNT2 C:\WINNT2\System32\Wbem D:\Programme\Microsoft Visual Studio\VC98\Bin D:\Programme\Microsoft Visual Studio\Common\MSDev98\Bin D:\Programme\Microsoft Visual Studio\VC98\Lib D:\Programme\Microsoft Visual Studio\VC98\Include C:\Programme\ATI Technologies\ATI Control Panel D:\Programme\Rational\common D:\Programme\Subversion\bin C:\Programme\Gemeinsame Dateien\GTK\2.0\bin D:\cygwin\bin C:\moztools\bin D:\Programme\Borland\Delphi7\Bin D:\Programme\Borland\Delphi7\Projects\Bpl\ C:\Programme\UltraEdit Output from D:\cygwin\bin\id.exe (nontsec) UID: 1000(mcsmurf) GID: 513(Kein) 513(Kein) Output from D:\cygwin\bin\id.exe (ntsec) UID: 1000(mcsmurf) GID: 513(Kein) 0(root) 513(Kein) 544(Administratoren) 545(Benutzer) SysDir: C:\WINNT2\system32 WinDir: C:\WINNT2 Path = `C:\WINNT2\system32;C:\WINNT2;C:\WINNT2\System32\Wbem;D:\Programme\Microsoft Visual Studio\VC98\Bin;D:\Programme\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Programme\Microsoft Visual Studio\VC98\Lib;D:\Programme\Microsoft Visual Studio\VC98\Include;;C:\Programme\ATI Technologies\ATI Control Panel;D:\Programme\Rational\common;D:\Programme\Subversion\bin;C:\Programme\Gemeinsame Dateien\GTK\2.0\bin;D:\cygwin\bin;C:\moztools\bin;D:\Programme\Borland\Delphi7\Bin;D:\Programme\Borland\Delphi7\Projects\Bpl\;C:\Programme\UltraEdit' ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users.WINNT2' APPDATA = `C:\Dokumente und Einstellungen\mcsmurf.MCSMURF\Anwendungsdaten' APR_ICONV_PATH = `D:\Programme\TortoiseSVN\iconv' CommonProgramFiles = `C:\Programme\Gemeinsame Dateien' COMPUTERNAME = `MCSMURF' ComSpec = `C:\WINNT2\system32\cmd.exe' CVSROOT = `:pserver:[EMAIL PROTECTED]:/cvsroot' HOMEDRIVE = `C:' HOMEPATH = `\Dokumente und Einstellungen\mcsmurf.MCSMURF' LOGONSERVER = `\\MCSMURF' MOZ_TOOLS = `C:\moztools' NUMBER_OF_PROCESSORS = `1' OS = `Windows_NT' Os2LibPath = `C:\WINNT2\system32\os2\dll;' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0204' ProgramFiles = `C:\Programme' PROMPT = `$P$G' SystemDrive = `C:' SystemRoot = `C:\WINNT2' TEMP = `C:\DOKUME~1\MCSMUR~1.MCS\LOKALE~1\Temp' TMP = `C:\DOKUME~1\MCSMUR~1.MCS\LOKALE~1\Temp' USERDOMAIN = `MCSMURF' USERNAME = `mcsmurf' USERPROFILE = `C:\Dokumente und Einstellungen\mcsmurf.MCSMURF' windir = `C:\WINNT2' 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 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `D:\cygwin' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `D:\cygwin/bin' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `D:\cygwin/lib' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x fsilent = 0x 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\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
Strange behaviours: attributable to XP SP2?
There have been two strange changes in behaviour/ response/ output that I have noticed recently, and that I can only attribute to the installation of XP SP2, since that is all that has altered on my system. Has anybody else who has installed SP2 noticed this, or similar, or anything else (or nothing)? I had been using the latest cygwin1.dll snapshot but reverted to the current cygwin1.dll when I noticed this. The behaviours remain evident. They are awfully annoying. 1. setup: the column width allowed for Current is now greatly increased and without tediously dragging the column border leftwards or panning the viewed section rightwards, the only viable approach is to operate setup using full screen. Otherwise, the columns to the right of Current (New, etc) are occasionally non-empty but invisible, so quite what new users think they are being told/ asked to do, I cannot imagine. If this really is a consequence of installing SP2 (rather than just me failing to cope properly with some unconnected alteration in presentation) then it's a bit of a blow. 2. cygcheck -c used to present its output package version OK or maybe occasionally package version Incomplete very conveniently, package by package, line after line. Now after installing SP2 either blank lines alternate, or the word OK is presented below the information package..version.. (though as far as I can tell there is no ^J causing the line break). Again, it seems to me that something has changed -- and not for the better -- in XP's grasp of useable screen width. Of course, it could be my horrible machine or my bad driving of it. Fergus -- 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: Strange behaviours: attributable to XP SP2?
On 8/31/2004 8:55 AM, [EMAIL PROTECTED] wrote: There have been two strange changes in behaviour/ response/ output that I have noticed recently, and that I can only attribute to the installation of XP SP2 I'm using SP2. I had been using the latest cygwin1.dll snapshot but reverted to the current cygwin1.dll when I noticed this. I'm using the yesterday's snapshot (the one before the latest one). 1. setup: the column width allowed for Current is now greatly increased WFM. 2. cygcheck -c used to present its output package version OK or maybe occasionally package version Incomplete very conveniently, package by package, line after line. Now after installing SP2 either blank lines alternate, or the word OK is presented below the information package..version.. WFM. Of course, it could be my horrible machine or my bad driving of it. SP2 did not cause any of these problems on my machine. Of course, that doesn't mean it didn't cause these problems on your machine :-) -- David Rothenbergerspammer? - [EMAIL PROTECTED] GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734 -- 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/
mod-php4
Hi! I've gleaned from the archives that mod-php4 was pulled because it was broken, and that a new maintainer has taken over apache + modules. Is there any use in hoping that mod-php4 will be added soon? I need it for a SquirrelMail setup I've been asked to provide on Windows... :-/ I've had a shot at building php4 myself, but failed miserably: bash-2.05b$ make install Installing PHP SAPI module: apache apxs:Error: file libs/libphp4.so is not a DSO make: *** [install-sapi] Error 1 The only files on libs are libphp4.a (8MB) and libphp4.la (700 bytes). I've searched for help on this, but the similar reports are either very old, very clueless, very cryptic or very complex. I definitely would feel much more comfortable with a packaged setup of PHP. That being said, any pointers to alternatives to SquirrelMail (preferrably lighter-weight, and for an IMAP backend) would be welcome... Cheers, Rob -- 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: Strange behaviours: attributable to XP SP2?
At 11:55 AM 8/31/2004, you wrote: There have been two strange changes in behaviour/ response/ output that I have noticed recently, and that I can only attribute to the installation of XP SP2, since that is all that has altered on my system. Has anybody else who has installed SP2 noticed this, or similar, or anything else (or nothing)? I had been using the latest cygwin1.dll snapshot but reverted to the current cygwin1.dll when I noticed this. The behaviours remain evident. They are awfully annoying. 1. setup: the column width allowed for Current is now greatly increased and without tediously dragging the column border leftwards or panning the viewed section rightwards, the only viable approach is to operate setup using full screen. Otherwise, the columns to the right of Current (New, etc) are occasionally non-empty but invisible, so quite what new users think they are being told/ asked to do, I cannot imagine. If this really is a consequence of installing SP2 (rather than just me failing to cope properly with some unconnected alteration in presentation) then it's a bit of a blow. 'setup.exe' is not a Cygwin program so it would not be affected by a 'cygwin1.dll' snapshot or other version. What version are you running? Perhaps you want to try the debug version available as a setup snapshot (http://cygwin.com/setup-snapshots/). 2. cygcheck -c used to present its output package version OK or maybe occasionally package version Incomplete very conveniently, package by package, line after line. Now after installing SP2 either blank lines alternate, or the word OK is presented below the information package..version.. (though as far as I can tell there is no ^J causing the line break). Again, it seems to me that something has changed -- and not for the better -- in XP's grasp of useable screen width. I'm not sure what's going on here but I can say things are fine on this end *without* SP2. This statement is not meant to imply anything about the value or correctness of SP2. Just simply that I can't reproduce the problem you mention with the information provided on systems I have (which aren't running SP2). But something else could be missing that would pin- point the problem, SP2 or otherwise. Maybe it makes sense to start at the beginning: http://cygwin.com/problems.html? -- 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: Perl searching in wrong path for modules?
I'm probably going to get you in trouble here (seeing as I know nothing about perl or apache). Why couldn't you set the environment variable PERL5LIB in your apache config file using the SetEnv directive? The PERL5LIB environment variable would then (theoretically) be prepended to @INC. Regards, Ken Frank Wein wrote: Hi, i wanted to use cygwin perl for executing perl scripts from (win32, the one from apache.org, not the cygwin one) Apache, so i included the line #!D:/cygwin/bin/perl.exe -w in my CGIs. But now i have the problem that perl looks in the wrong folder for the Perl Modules, for example if i want to load Archive::Zip, it trys to load it from D:\usr\lib\perl5\site_perl\5.8.5\XML\Simple.pm instead of D:\cygwin(\usr)\lib\perl5\site_perl\5.8.5\XML\Simple.pm. So i wonder if this is a bug in cygwin perl or rather a bug in Apache (or a error from my side even?). I attached the cygcheck output, if it matters. My OS is Windows 2000, Apache was 2.0.50, Cygwin is 1.5.10-cr-0x5e6. Thanks Frank Cygwin Configuration Diagnostics Current System Time: Tue Aug 31 16:26:25 2004 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: C:\WINNT2\system32 C:\WINNT2 C:\WINNT2\System32\Wbem D:\Programme\Microsoft Visual Studio\VC98\Bin D:\Programme\Microsoft Visual Studio\Common\MSDev98\Bin D:\Programme\Microsoft Visual Studio\VC98\Lib D:\Programme\Microsoft Visual Studio\VC98\Include C:\Programme\ATI Technologies\ATI Control Panel D:\Programme\Rational\common D:\Programme\Subversion\bin C:\Programme\Gemeinsame Dateien\GTK\2.0\bin D:\cygwin\bin C:\moztools\bin D:\Programme\Borland\Delphi7\Bin D:\Programme\Borland\Delphi7\Projects\Bpl\ C:\Programme\UltraEdit Output from D:\cygwin\bin\id.exe (nontsec) UID: 1000(mcsmurf) GID: 513(Kein) 513(Kein) Output from D:\cygwin\bin\id.exe (ntsec) UID: 1000(mcsmurf) GID: 513(Kein) 0(root) 513(Kein) 544(Administratoren) 545(Benutzer) SysDir: C:\WINNT2\system32 WinDir: C:\WINNT2 Path = `C:\WINNT2\system32;C:\WINNT2;C:\WINNT2\System32\Wbem;D:\Programme\Microsoft Visual Studio\VC98\Bin;D:\Programme\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Programme\Microsoft Visual Studio\VC98\Lib;D:\Programme\Microsoft Visual Studio\VC98\Include;;C:\Programme\ATI Technologies\ATI Control Panel;D:\Programme\Rational\common;D:\Programme\Subversion\bin;C:\Programme\Gemeinsame Dateien\GTK\2.0\bin;D:\cygwin\bin;C:\moztools\bin;D:\Programme\Borland\Delphi7\Bin;D:\Programme\Borland\Delphi7\Projects\Bpl\;C:\Programme\UltraEdit' ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users.WINNT2' APPDATA = `C:\Dokumente und Einstellungen\mcsmurf.MCSMURF\Anwendungsdaten' APR_ICONV_PATH = `D:\Programme\TortoiseSVN\iconv' CommonProgramFiles = `C:\Programme\Gemeinsame Dateien' COMPUTERNAME = `MCSMURF' ComSpec = `C:\WINNT2\system32\cmd.exe' CVSROOT = `:pserver:[EMAIL PROTECTED]:/cvsroot' HOMEDRIVE = `C:' HOMEPATH = `\Dokumente und Einstellungen\mcsmurf.MCSMURF' LOGONSERVER = `\\MCSMURF' MOZ_TOOLS = `C:\moztools' NUMBER_OF_PROCESSORS = `1' OS = `Windows_NT' Os2LibPath = `C:\WINNT2\system32\os2\dll;' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0204' ProgramFiles = `C:\Programme' PROMPT = `$P$G' SystemDrive = `C:' SystemRoot = `C:\WINNT2' TEMP = `C:\DOKUME~1\MCSMUR~1.MCS\LOKALE~1\Temp' TMP = `C:\DOKUME~1\MCSMUR~1.MCS\LOKALE~1\Temp' USERDOMAIN = `MCSMURF' USERNAME = `mcsmurf' USERPROFILE = `C:\Dokumente und Einstellungen\mcsmurf.MCSMURF' windir = `C:\WINNT2' 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 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `D:\cygwin' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `D:\cygwin/bin' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `D:\cygwin/lib' flags = 0x0002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x fsilent = 0x HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) =
Re: BUG gcc-mingw 20040810-1 library search path
On Tue, 31 Aug 2004, Max Bowsher wrote: Reini Urban wrote: Igor Pechtchanski schrieb: FWIW, I don't know what (if anything) has changed... I've used gcc -mno-cygwin recently with no problems. What exactly needs to be done to reproduce the problem? Igor for me this fails: install efsprogs and compile a mingw project which uses -luuid this installs /usr/lib/libuuid.a, which has nothing to do with /usr/lib/w32api/libuuid.a and the library search path favours the efsprogs lib of course. no mount problem. Now we get the the bottom of the problem! It's nothing to do with the gcc-mingw package at all. Instead, it is an e2fsprogs packaging problem. Someone want to re-report in a new thread, with an appropriate subject? e.g. e2fsprogs installs libuuid.a, hides w32api/libuuid.a Reini's already done this: http://cygwin.com/ml/cygwin/2004-08/msg01251.html. Now we're just re-hashing the issue, in the grand traditions of this list. ;-) 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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: ssh - no access to /dev/st0
The issue is that during command line execution of a tar command, sshd has not set the environment properly, namely the mount points are not there, so /dev/st0 does not exist, and the PATH variable does not point to the correct cygwin files either. What might be causing this. It works fine with an interactive ssh session (providing auto logon is not set up). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen Sent: Tuesday, August 31, 2004 4:53 AM To: [EMAIL PROTECTED] Subject: Re: ssh - no access to /dev/st0 On Aug 30 17:10, Cary Lewis wrote: I have a SCSI tape drive, and I can use tar to create archives on it: tar cvf /dev/st0 /bin tar tvf /dev/st0 but if I try to ssh into my cygwin box and try the same command, then I get the following error: tar: opening archive /dev/st0: The system cannot find the path specified. Sure that you're running the same tar? I'm running my Cygwin stuff in an ssh session all the time and I have no problem accessing /dev/st0. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/ -- 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: Professionally produced Cygwin CD?
I might be able to do something along those lines. I have been keeping a mirror and while I pretty much dropped the whole idea of doing a mass run on it (due to the rate it goes out of date) I can do it. The distro will be the contents of a mirror including mailing list archives complete to this day. It will also contain all the packages currently available on a standard cygwin mirror. The only difference is that you will be installing from a dvd. Yes. To get it all you need to use one. To mirror cygwin it takes almost 2GB to do so. Email me directly at [EMAIL PROTECTED] and I will see what I can arrange. On Tue, 31 Aug 2004 10:15:14 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I do desperately need a full install of Cygwin on my PC. Things will go easier with my sysadmin if I can hand him a professional-looking CD and say install this. A full install won't fit on one CD. Including all .src files and all of [prev] and [test] as well as [curr] you need about 2.0-2.2 GB under release/ just for the Cygwin resource. A while ago (12 months or more) I know from experience that it was both possible and practical to fit all the [curr] non-.src files on to a CD and fully install from that. But I suspect that the Cygwin provision is now so great that even that is now no longer possible: too tight a squeeze. Remarkably, growing the Cygwin resource into a working Cygwin system also requires about 2 GB. So: it is really not possible to offer your sysadmin one CD and say explode that (a release+setup CD) or copy that (a copy of a Cygwin image). Nor do I think the latter could be shrunk as a .tgz, but I suppose anything is possible. By the way you say my PC. Why are you involving anybody else at all? As a different topic entirely: A tailored non-full resource (release+setup) could be made to fit on one CD. Also, there are references on this list ( http://www.cygwin.com/ml/cygwin/2003-07/msg01117.html and others ) to a working portable CD system that works off CD on any Windows machine you care to slot the thing into. There is some effort required to make this CD, but it too requires a decision about What To Leave Out. This does not sound like what you want, either. Fergus -- 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/ -- Robert Pendell [EMAIL PROTECTED] Freeipods.com FreeFlatScreens.com Conga Lines http://shinji.chaosnet.org/phpBB2 -- 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: ssh - no access to /dev/st0
At 12:24 PM 8/31/2004, you wrote: The issue is that during command line execution of a tar command, sshd has not set the environment properly, namely the mount points are not there, so /dev/st0 does not exist, and the PATH variable does not point to the correct cygwin files either. What might be causing this. It works fine with an interactive ssh session (providing auto logon is not set up). I think it's time to start over on this one too: Problem reports: http://cygwin.com/problems.html You might want to run your server in debug mode and see if you can spot the problem here. My WAG is permissions problems on ~/.ssh and/or log files/directories and/or 'sshd' isn't running with all the permissions it needs. But that's just guessing. The debug output should help ferret out the real answer. -- 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: Perl searching in wrong path for modules?
On Tue, 31 Aug 2004, Frank Wein wrote: Hi, i wanted to use cygwin perl for executing perl scripts from (win32, the one from apache.org, not the cygwin one) Apache, so i included the line #!D:/cygwin/bin/perl.exe -w in my CGIs. Umm, there might be another problem with this approach (not the one you're having), and that is that perl gets the Win32 path to the script, rather than the Cygwin (POSIX) one. This *may* cause errors once you fix the current problem, but those will have to be debugged separately. OTOH, it may just work. But now i have the problem that perl looks in the wrong folder for the Perl Modules, for example if i want to load Archive::Zip, it tries to load it from D:\usr\lib\perl5\site_perl\5.8.5\XML\Simple.pm instead of D:\cygwin(\usr)\lib\perl5\site_perl\5.8.5\XML\Simple.pm. So i wonder if this is a bug in cygwin perl or rather a bug in Apache (or a error from my side even?). It's your error, but one that's easy to fix. Read on. I attached the cygcheck output, if it matters. YES! YES! YES!!! Finally someone actually *read* the problem reporting guidelines and *attached* the cygcheck output! Thank you! BTW, it does matter a lot. One thing that your cygcheck output shows is that your mounts are user mounts (you installed Cygwin for Just Me), and therefore anything invoked from Apache running as a service (as I assume it does) won't see them properly. Try re-mounting your /, /usr/bin, and /usr/lib as system mounts (Google for cygwin remount system, for example), and see if it helps. My OS is Windows 2000, Apache was 2.0.50, Cygwin is 1.5.10-cr-0x5e6. ^ Hmm, I wonder what gave you this output... 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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: ocaml-3.08.1-1
The ocaml package has been added to the Cygwin distribution. Objective Caml is a fast modern type-inferring functional programming language descended from the ML (Meta Language) family, containing objects, modules, and a high-performance native-code compiler. The O'Caml compiler was developed at INRIA Rocquencourt, projet Cristal. See http://caml.inria.fr/ocaml/ for more information. Notes: - This package includes two compilers: the bytecode compiler and the native compiler. Each compiler also exists in two versions -- bytecode and native (i.e., each compiler was built with the bytecode compiler and the native compiler, in turn). - This package also includes all the libraries and packages in /usr/lib/ocaml, including labltk. You will need to install the tcltk package and possibly the X11 packages to use labltk. The labltk package wasn't tested on Cygwin, so use at your own risk. - There may have been a temporary glitch in uploading the packages. This has been fixed on the master site, but some mirrors may have pulled the corrupted version of the package in the meantime. If you're unlucky enough to have selected such a mirror, try another mirror. FWIW, mirrors updated at any point after August 31, 14:08 GMT should be fine (look at the timestamp on setup.bz2). 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. Once you've downloaded setup.exe, run it and select Interpreters or Devel and then click on the appropriate field until the above announced version number appears if it is not displayed already. If you have questions or comments, please send them to the Cygwin mailing list at: cygwin at cygwin dot com. I would appreciate it if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. 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: cygwin-announce-unsubscribe-you=yourdomain dot com at cygwin dot com 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. I implore you to READ this information before sending email about how you tried everything to unsubscribe. In 100% of the cases where people were unable to unsubscribe, the problem was that they hadn't actually read and comprehended the unsubscribe instructions. If you need to unsubscribe from cygwin-announce or any other mailing list, reading the instructions at the above URL is guaranteed to provide you with the info that you need. Igor Pechtchanski Cygwin O'Caml Maintainer -- 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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: Strange behaviours: attributable to XP SP2?
On Tue, Aug 31, 2004 at 12:15:48PM -0400, Larry Hall wrote: 'setup.exe' is not a Cygwin program so it would not be affected by a 'cygwin1.dll' snapshot or other version. cygcheck isn't a cygwin program either although it does run cygwin programs. 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: BUG gcc-mingw 20040810-1 library search path
On Tue, Aug 31, 2004 at 12:27:30PM -0400, Igor Pechtchanski wrote: On Tue, 31 Aug 2004, Max Bowsher wrote: Reini Urban wrote: Igor Pechtchanski schrieb: FWIW, I don't know what (if anything) has changed... I've used gcc -mno-cygwin recently with no problems. What exactly needs to be done to reproduce the problem? Igor for me this fails: install efsprogs and compile a mingw project which uses -luuid this installs /usr/lib/libuuid.a, which has nothing to do with /usr/lib/w32api/libuuid.a and the library search path favours the efsprogs lib of course. no mount problem. Now we get the the bottom of the problem! It's nothing to do with the gcc-mingw package at all. Instead, it is an e2fsprogs packaging problem. Someone want to re-report in a new thread, with an appropriate subject? e.g. e2fsprogs installs libuuid.a, hides w32api/libuuid.a Reini's already done this: http://cygwin.com/ml/cygwin/2004-08/msg01251.html. Now we're just re-hashing the issue, in the grand traditions of this list. ;-) I'm sorry. I wasn't paying attention. Wasn't I supposed to say something mean by now? I hate to break with tradition. 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/
c:/ seems to be accessed in binary even if cygwin is configured as textmode by default
Hi. just make a fresh update (from a long time). I mount my system in textmode by default. yet, c:/file seems to be accessed in binary mode /cygdrive/c/file is accessed in text mode Is it the new default behaviour ? Is there a configuration that I missed ? thanks Arnaud here a simple proof $ cygcheck -c | grep cygwin cygwin 1.5.10-3 OK cygwin-doc 1.3-7 OK $ mount C:\cygwin\bin on /usr/bin type system (textmode) C:\cygwin\lib on /usr/lib type system (textmode) C:\cygwin on / type system (textmode) c: on /cygdrive/c type user (textmode,noumount) d: on /cygdrive/d type user (textmode,noumount) w: on /cygdrive/w type user (textmode,noumount) $ echo a /cygdrive/c/a $ echo a /cygdrive/c/b and $ diff /cygdrive/c/a c:/b 1c1 a --- a another one: $ echo a c:/a $ echo a /cygdrive/c/b $ ls -l c:/a c:/b -rw-rw-rw-1 arnaud Aucun 2 Aug 31 19:29 c:/a -rw-rw-rw-1 arnaud Aucun 3 Aug 31 19:29 c:/b (size differs) -- 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 2.427 problem: Can't get list of download sites
- Original Message - From: Larry Hall [EMAIL PROTECTED] To: David Shay [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 11:55 AM Subject: Re: setup 2.427 problem: Can't get list of download sites = And do the programs that work connect directly or do they use IE settings? FWIW, 'setup.exe' does not use 'cygwin1.dll' so it's not simply a problem with Cygwin programs. They all connect directly. I can choose use IE settings and I get the same result. This is very strange. No other windows-based networking programs have any problems at all. An ethereal trace on setup does show a DNS lookup and reply for sources.redhat.com, but that is the only traffic at all related to cygwin setup. Good point about setup.exe not involving cygwin1.dll -- not sure what to make of it though. -- 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: Strange behaviours: attributable to XP SP2?
At 01:28 PM 8/31/2004, cgf wrote: On Tue, Aug 31, 2004 at 12:15:48PM -0400, Larry Hall wrote: 'setup.exe' is not a Cygwin program so it would not be affected by a 'cygwin1.dll' snapshot or other version. cygcheck isn't a cygwin program either although it does run cygwin programs. Heh. Good point. So I guess it's a Windows problem. ;-) -- 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: Perl searching in wrong path for modules?
Igor Pechtchanski wrote: BTW, it does matter a lot. One thing that your cygcheck output shows is that your mounts are user mounts (you installed Cygwin for Just Me), and therefore anything invoked from Apache running as a service (as I assume it does) won't see them properly. Try re-mounting your /, /usr/bin, and /usr/lib as system mounts (Google for cygwin remount system, for example), and see if it helps. Thank you very much :-), that helped. My OS is Windows 2000, Apache was 2.0.50, Cygwin is 1.5.10-cr-0x5e6. ^ I didn't exactly know how to get the Cygwin Version, so i right clicked on cygwin1.dll and selected Product Version. Frank -- 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: c:/ seems to be accessed in binary even if cygwin is configured as textmode by default
At 01:38 PM 8/31/2004, you wrote: Hi. just make a fresh update (from a long time). I mount my system in textmode by default. yet, c:/file seems to be accessed in binary mode /cygdrive/c/file is accessed in text mode Is it the new default behaviour ? Is there a configuration that I missed ? thanks Arnaud here a simple proof $ cygcheck -c | grep cygwin cygwin 1.5.10-3 OK cygwin-doc 1.3-7 OK $ mount C:\cygwin\bin on /usr/bin type system (textmode) C:\cygwin\lib on /usr/lib type system (textmode) C:\cygwin on / type system (textmode) c: on /cygdrive/c type user (textmode,noumount) d: on /cygdrive/d type user (textmode,noumount) w: on /cygdrive/w type user (textmode,noumount) If you're using a Windows path, you bypass mounts. Mounts map POSIX paths to Windows, not the reverse. -- 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: Perl searching in wrong path for modules?
At 01:56 PM 8/31/2004, you wrote: Igor Pechtchanski wrote: BTW, it does matter a lot. One thing that your cygcheck output shows is that your mounts are user mounts (you installed Cygwin for Just Me), and therefore anything invoked from Apache running as a service (as I assume it does) won't see them properly. Try re-mounting your /, /usr/bin, and /usr/lib as system mounts (Google for cygwin remount system, for example), and see if it helps. Thank you very much :-), that helped. My OS is Windows 2000, Apache was 2.0.50, Cygwin is 1.5.10-cr-0x5e6. ^ I didn't exactly know how to get the Cygwin Version, so i right clicked on cygwin1.dll and selected Product Version. 'uname -r' is one of the common ways. -- 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: BUG gcc-mingw 20040810-1 library search path
On Tue, 31 Aug 2004, Christopher Faylor wrote: On Tue, Aug 31, 2004 at 12:27:30PM -0400, Igor Pechtchanski wrote: On Tue, 31 Aug 2004, Max Bowsher wrote: Reini Urban wrote: Igor Pechtchanski schrieb: FWIW, I don't know what (if anything) has changed... I've used gcc -mno-cygwin recently with no problems. What exactly needs to be done to reproduce the problem? Igor for me this fails: install efsprogs and compile a mingw project which uses -luuid this installs /usr/lib/libuuid.a, which has nothing to do with /usr/lib/w32api/libuuid.a and the library search path favours the efsprogs lib of course. no mount problem. Now we get the the bottom of the problem! It's nothing to do with the gcc-mingw package at all. Instead, it is an e2fsprogs packaging problem. Someone want to re-report in a new thread, with an appropriate subject? e.g. e2fsprogs installs libuuid.a, hides w32api/libuuid.a Reini's already done this: http://cygwin.com/ml/cygwin/2004-08/msg01251.html. Now we're just re-hashing the issue, in the grand traditions of this list. ;-) I'm sorry. I wasn't paying attention. Wasn't I supposed to say something mean by now? I hate to break with tradition. cgf Well, traditionally, you waited until the *third* iteration to step in, and this is technically still in its second iteration... :-) 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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: Perl searching in wrong path for modules?
On Tue, Aug 31, 2004 at 07:56:27PM +0200, Frank Wein wrote: Igor Pechtchanski wrote: BTW, it does matter a lot. One thing that your cygcheck output shows is that your mounts are user mounts (you installed Cygwin for Just Me), and therefore anything invoked from Apache running as a service (as I assume it does) won't see them properly. Try re-mounting your /, /usr/bin, and /usr/lib as system mounts (Google for cygwin remount system, for example), and see if it helps. Thank you very much :-), that helped. My OS is Windows 2000, Apache was 2.0.50, Cygwin is 1.5.10-cr-0x5e6. ^ I didn't exactly know how to get the Cygwin Version, so i right clicked on cygwin1.dll and selected Product Version. The procedure mentioned for bug reporting at http://cygwin.com/problems.html provides the cygwin version. You also get the cygwin version by running 'uname -a' just like you do on linux. 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: BUG gcc-mingw 20040810-1 library search path
On Tue, Aug 31, 2004 at 02:08:22PM -0400, Igor Pechtchanski wrote: Well, traditionally, you waited until the *third* iteration to step in, and this is technically still in its second iteration... :-) Ok. Please poke me if I seem to be drifting off. 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: We have a hacker
-Original Message- From: cygwin-owner On Behalf Of Robert McNulty Junior Sent: 31 August 2004 02:10 To: cygwin Subject: We have a hacker There is someone masking email from me. Under no circamstance answer any mail to unclebobby1 SPLATT bellsouth DOTTT net Chris, block this address now. I have another ready do go. Undercover, no more Robert McNulty Junior. There is a hacker sending viruses from a mock unclebobby1SPL bellsouth YEHYEHYENOSPAM net I traced him back somewhere in Montgomery, Alabama,. Something I suspected all along. Now, this is the last message from Robert McNulty Junior. As of now, Robert McNulty Junior of the Cygwin mailing does not exist any more. Bobby Stop panicking, you daft bugger! Every virus in existence these days sends itself out with a made-up From: line that it found on whoever's hard drive it's infected, which is also where it finds all the people's addresses to send itself _to_ as well. The person who they're coming from isn't a hacker nor are they trying to stitch you up, it's some e-mail friend or contact of yours; they've gotten infected by the virus, it's sending itself out from their machine automatically, it's spoofing your name because that's one of the email addresses it snarfed off the local hard drive, there's no hacker, no viruses are bein sent on purpose, there's no malicious intent or even any kind of intent at all behind it, nobody's after you, there will be no film at 11 or any other time, and you just flushed a perfectly good email account for nothing! 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/
LAPACK - testing problems
I've just recently migrated to CYGWIN. I am having problems with installing the LAPACK (BLAS) libraries. Specifically, I am (apparently) succeeding in compiling the libraries. However, when it comes to testing the routines only the ones that use eigsrc_(PLAT).a library seem to be able to give me any output while the rest are giving an error,for example: Timing square REAL LAPACK linear equations routines ./xlintims stime.in stime.out 21 make: *** [stime.out] Error 128 I've done almost everything suggested previously on the archives but to avail. Could someone help Thanks -- 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: Strange behaviours: attributable to XP SP2?
Thank you for your rapid responses. Maybe I have induced an irrelevance by mentioning my recent upgrade to SP2. I took a look at cygcheck -s in the barest possible bash shell (usually I use rxvt) to try to make sense of what's happening. The output consists of package w1 version w2 ^M^J where w1 and w2 are white space and there's some nice background effort gone into spacing to ensure column alignment. In my case (why not yours?!) w2 is approx 160 spaces wide (seen using od). I find this remarkable and explains the extraordinary newline's that appear in the output. Also cygcheck -c providing package w1 version w2 OK (not) also has w2 equal to approx 160 spaces. (Approx because of the simultaneous successful efforts at neat column alignment in the output.) Fergus -- 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: We have a hacker
On 08/31/2004 at 01:31:31 PM, [EMAIL PROTECTED] wrote: it's spoofing your name because that's one of the email addresses it snarfed off the local hard drive, there's no hacker, no viruses are bein sent on purpose, there's no malicious intent or even any kind of intent at all behind it, nobody's after you, there will be no film at 11 or any other time, and you just flushed a perfectly good email account for nothing! --- end of excerpt --- Don't believe him Bobby. That's what they always say to distract and lull you into a false sense of security. You only have minutes now till the storm-troopers come crashing through your door because of the embezzling, and other havoc you've caused from that email account. Quick, encrypt your hard drive! Better yet, overwrite it 7 times. Its the only way to be safe! Wait a minute What's that noise? Fred -- 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: ssh - no access to /dev/st0
If I add sshd_server to the Administrators group, I can auto logon via ssh (using authorized_keys). Even though this is supposed to happen via ssh-host-config. But I still do not have access to /dev/st0, but if I disable auto-logon and type in my password, all works. The interesting thing is that the id command returns a different set of groups for me when I log on automatically or I specify the password. The uid and gid are the same, but the list of groups is different: For the automatic logon I only get Domain Admins and Users Any suggestions would be appreciated. Thanks. -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 12:36 PM To: Cary Lewis; [EMAIL PROTECTED] Subject: RE: ssh - no access to /dev/st0 At 12:24 PM 8/31/2004, you wrote: The issue is that during command line execution of a tar command, sshd has not set the environment properly, namely the mount points are not there, so /dev/st0 does not exist, and the PATH variable does not point to the correct cygwin files either. What might be causing this. It works fine with an interactive ssh session (providing auto logon is not set up). I think it's time to start over on this one too: Problem reports: http://cygwin.com/problems.html You might want to run your server in debug mode and see if you can spot the problem here. My WAG is permissions problems on ~/.ssh and/or log files/directories and/or 'sshd' isn't running with all the permissions it needs. But that's just guessing. The debug output should help ferret out the real answer. -- 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: RTLD_DEFAULT RTLD_NEXT
Hi Sam, On Aug 31 11:24, Sam Steingold wrote: * Corinna Vinschen [EMAIL PROTECTED] [2004-08-31 10:32:58 +0200]: EnumProcessModules. This should also allow to implement RTLD_DEFAULT. 2004-08-31 Sam Steingold [EMAIL PROTECTED] * dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules(). * include/dlfcn.h (RTLD_DEFAULT): Define to NULL. thanks but... well, there are a couple of problems: - Please send patches to [EMAIL PROTECTED] - Your code doesn't follow the GNU coding style. - EnumProcessModules is NT = 4 only but not loaded dynamically (see autoload.cc) nor tested for non-existance. Generally, EnumProcessModules is called w/o checking the return value. - This is adding new functionality. It's not much over the usual 10 lines rule of thumb for trivial patches, but it's not exactly trivial functionality and it will only grow bigger when adding the autoload and return value testing code. I'd like to ask you to read http://cygwin.com/contrib.html and send us a copyright assignment if possible. Thanks, Corinna -- 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/
FW: failure notice
[EMAIL PROTECTED] wrote: Hi. This is the qmail-send program at _ource_are._rg. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, your message has been denied due to keywords found in your subject. This is probably due to an off-topic post or long-running flame war. See http://sourceware.org/lists.html#html-mail for mailing list info for this site. Contact [EMAIL PROTECTED] if you have questions about this. (#5.7.2) --- Enclosed are the original headers of the message. IRONIC Phui!? Hey that's ADVANCED!! ;-D /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-BeginMessage--- (Body suppressed) ---End Message--- From: Hannu E K Nevalainen [EMAIL PROTECTED] Sent: den 31 augusti 2004 20:22 To: ML Cygwin Subject: List manager: space char stealth in subject line THE PROBLEM: As MS Outlook bases it's thread grouping of messages on the subject line only (AFAICS there isn't anything that uses the References: header) the above leads to a split in FOUR threads - hard to read in correct order. QUESTION: Am I the only person seeing this? Why ask it here, you wonder? I see NOTHING like it from any other source. Example: Current subject lines from cygwin-apps; Re: [setup] Why does PackageSpecification haveaprivatecopy-constructor? (Robert?) Re: [setup] Why does PackageSpecification have aprivatecopy-constructor? (Robert?) Re: [setup] Why does PackageSpecification have aprivatecopy-constructor? (Robert?) Re: [setup] Why does PackageSpecification have a privatecopy-constructor? (Robert?) Re: [setup] Why does PackageSpecification have a privatecopy-constructor? (Robert?) Re: [setup] Why does PackageSpecification have a privatecopy-constructor? (Robert?) Re: [setup] Why does PackageSpecification have a private copy-constructor? (Robert?) Seems to be related to _LONG_ subject lines too. (Using MS Outlook 2000 SP-3, 9.0.0.6627) /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: RTLD_DEFAULT RTLD_NEXT
* Corinna Vinschen [EMAIL PROTECTED] [2004-08-31 21:08:26 +0200]: On Aug 31 11:24, Sam Steingold wrote: * Corinna Vinschen [EMAIL PROTECTED] [2004-08-31 10:32:58 +0200]: EnumProcessModules. This should also allow to implement RTLD_DEFAULT. 2004-08-31 Sam Steingold [EMAIL PROTECTED] * dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules(). * include/dlfcn.h (RTLD_DEFAULT): Define to NULL. thanks but... well, there are a couple of problems: - Please send patches to [EMAIL PROTECTED] did. - Your code doesn't follow the GNU coding style. yuk!!! - EnumProcessModules is NT = 4 only but not loaded dynamically (see autoload.cc) nor tested for non-existance. Generally, EnumProcessModules is called w/o checking the return value. 1. what is n in LoadDLLfunc? 2. how do I test for non-existance? 3. the first call to EnumProcessModules is known to fail. it is there for that specific reason - to fail and return needed. - This is adding new functionality. It's not much over the usual 10 lines rule of thumb for trivial patches, but it's not exactly trivial functionality and it will only grow bigger when adding the autoload and return value testing code. I'd like to ask you to read http://cygwin.com/contrib.html and send us a copyright assignment if possible. ok. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com A computer scientist is someone who fixes things that aren't broken. -- 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: We have a hacker
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Kulack Sent: Tuesday, August 31, 2004 1:58 PM To: [EMAIL PROTECTED] Subject: RE: We have a hacker On 08/31/2004 at 01:31:31 PM, [EMAIL PROTECTED] wrote: it's spoofing your name because that's one of the email addresses it snarfed off the local hard drive, there's no hacker, no viruses are bein sent on purpose, there's no malicious intent or even any kind of intent at all behind it, nobody's after you, there will be no film at 11 or any other time, and you just flushed a perfectly good email account for nothing! --- end of excerpt --- Don't believe him Bobby. That's what they always say to distract and lull you into a false sense of security. You only have minutes now till the storm-troopers come crashing through your door because of the embezzling, and other havoc you've caused from that email account. Quick, encrypt your hard drive! Better yet, overwrite it 7 times. Its the only way to be safe! Wait a minute What's that noise? Fred -- 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/ He's using Charter. I know. A friend of mine was getting viruses and reports from Bellsouth. But our systems are clean. Looking at the email heading from what he had, the hacker is from Montgomery, Alabama and uses Charter as his ISP. There already is someone I've seen in person from this list. I was gone for a week and recognized him at the place where I at. He and I both were there at the same time. Coincidence? I think not. Especially when this person had a snobbish behavior. He knows me from this list. I like Cygwin. I believe in Cygwin. I eat, sleep and drink Cygwin. I also enjoy Star Trek and Star Wars. Someone else thinks I have stolen codes. To what? What stolen codes do I have? I know programming, I have written many programs in C and BASIC and Assembler on everything from a VIC 20 to what I have now. I even have experience on main frames, from the days when you used punch cards. My card did something to the base computer. No one will tell me. I don't know what it did. All I did was punch a few holes in a blank card and handed it back to my scoutmaster. This was 1981. I earned the Computer Science merit badge. So Yes. I have a reason to be here. I might not have gone to a university to further the education, but I learned the rest on my own. I bought every one of those computers. The VIC, the 128, the Amiga, The Tandy, the 286, the 386, the Compaq Presario and now an HP. I'm a programmer, not a hacker as the newspeople reports hacking. I do my programming by trial and error. I don't break into other computers, such as users computers or business computers. I am also a LAN administrator. I try to keep the hackers out. All three have firewalls. And the hackers can't find them any more. Bobby -- 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 start error
So I did the following: 1. run cron_diagnose.sh (ver 1.6), which did not find any problems. Although it is unlikely to locate the source of your problem, please try running ver. 1.7: http://sources.redhat.com/ml/cygwin/2004-07/msg00207.html b. output of 'cygcheck -srv' (Note: I got a 'GetVolumeInformation() failed') From your cygcheck.txt: ] Output from D:\cygwin\bin\id.exe (ntsec) ] UID: 14919(SPI) GID: 12385(mkgroup_l_d) ] 544(Administrators) 545(Users) ] 12385(mkgroup_l_d) It looks as though you have not set up your /etc/group file and 'group' entry for your user account (ID 14919) in your /etc/passwd file. Please see the documentation for the 'mkgroup' command ('man mkgroup' and 'mkgroup --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/
A big file for the Cygwin API Reference
Hi, I've noticed that it's possible to download the Cygwin FAQ (and also the User Guide) from www.cygwin.com as one large file instead of examining individual pages of each online. However, this is not possible with the API reference, and so I would like to contribute a big file of the individual HTML pages (stored in a zip file, or a gz file created in WinZip 8.1 - I haven't installed Cygwin yet so can't use gzip). Could someone from RedHat please tell me: 1.) Which compressed format would be preferred? 2.) What encoding should I use for the HTML pages? (Unicode(UTF-8) and Western European(Windows) seem to be the only suitable encodings I can offer.) 3.) How to send this to RedHat/Cygwin - the website's information about contributions doesn't help me with submitting this sort of contribution. Thanks for any help, James McLaughlin. ___ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush -- 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: Compiling Tcl C extension using Cygwin gcc
Wrong list. Redirected. Igor On Tue, 31 Aug 2004, Jingzhao Ou wrote: Dear all, I tried to compile a simple Tcl C extension using Cygwin gcc. I use the following commands: gcc -shared -ltcl -L/lib random.o I got the following error messege: random.o(.text+0x31):random.c: undefined reference to `_Tcl_WrongNumArgs' random.o(.text+0x5e):random.c: undefined reference to `_Tcl_GetIntFromObj' random.o(.text+0x98):random.c: undefined reference to `_Tcl_GetObjResult' random.o(.text+0xad):random.c: undefined reference to `_Tcl_SetIntObj' random.o(.text+0xe2):random.c: undefined reference to `_Tcl_PkgRequire' random.o(.text+0x11a):random.c: undefined reference to `_Tcl_CreateObjCommand' random.o(.text+0x135):random.c: undefined reference to `_Tcl_PkgProvide' collect2: ld returned 1 exit status I can see that tcl.h is located at /usr/include. Also, libtcl84.a and libtclstub84.a are located at /lib. Can any one kindly help me out? Thanks a lot! Best regards, Jingzhao -- 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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: LAPACK - testing problems
[EMAIL PROTECTED] wrote: I've just recently migrated to CYGWIN. I am having problems with installing the LAPACK (BLAS) libraries. Specifically, I am (apparently) succeeding in compiling the libraries. However, when it comes to testing the routines only the ones that use eigsrc_(PLAT).a library seem to be able to give me any output while the rest are giving an error,for example: Timing square REAL LAPACK linear equations routines ./xlintims stime.in stime.out 21 make: *** [stime.out] Error 128 I've done almost everything suggested previously on the archives but to avail. Could someone help Thanks What happens if you run xlintims from the command line? ./xlintims stime.in __ NOTICE This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments. This notice should not be removed. __ -- 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: We have a hacker
Fred Kulack wrote: Wait a minute What's that noise? That would be the black helicopters. They're not completely silent. -- 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/
Bringing any of the other MLs to Cygwin
Hello from Gregg C Levine I'm probably decidedly off topic here, but... Igor mentioned in his announcement that one derivation of ML is now available. Suppose I successfully port SML/NJ to Cygwin? What's involved in making this an available language? Who supplies the forms that I'll need to sign? Gregg C Levine landocalrissian atsign att dot net -- 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: Bringing any of the other MLs to Cygwin
On Tue, 31 Aug 2004, landocalrissian wrote: Hello from Gregg C Levine I'm probably decidedly off topic here, but... Igor mentioned in his announcement that one derivation of ML is now available. Suppose I successfully port SML/NJ to Cygwin? What's involved in making this an available language? First, since SML/NJ isn't GPLed, figure out whether the SML license is OSI-approved. If it is, then it falls under the GPL exception of the Cygwin license, and you can link it with Cygwin and distribute it, in which case read http://cygwin.com/setup.html for instructions on preparing and ITP'ing a Cygwin package. Who supplies the forms that I'll need to sign? AFAIK, there aren't any forms to sign for contributing packages. Good luck. FYI, I'd vote for an smlnj package... 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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 snapshot with fork race potentially solved (attn hyperthreaded dog owners)
I made a change to cygwin based on some research by Pierre Humblet (what else is new?) which should solve a fork race which would cause strange behavior on multi-CPU or hyperthreaded systems. It's probably too much to hope that this would solve all of the reported problems but I would appreciate if people would give the latest snapshot a try: http://cygwin.com/snapshots/ Sorry to report that this does not fix the problem. David -- 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: Bringing any of the other MLs to Cygwin
Hello from Gregg C Levine Igor, according to their Source Forge site, the license for SML/NJ is that of the MIT License. I did some checking on that, via the classic search engine approach. It happens that according to the OSI website www.opensource.org it looks similar to that of the BSD License. And is considered part of the OSI concepts. So unless there are any complaints, once I get everything sorted out, it will be there, soon. Gregg C Levine landocalrissian atsign att dot net -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 8:14 PM To: landocalrissian Cc: [EMAIL PROTECTED] Subject: Re: Bringing any of the other MLs to Cygwin On Tue, 31 Aug 2004, landocalrissian wrote: Hello from Gregg C Levine I'm probably decidedly off topic here, but... Igor mentioned in his announcement that one derivation of ML is now available. Suppose I successfully port SML/NJ to Cygwin? What's involved in making this an available language? First, since SML/NJ isn't GPLed, figure out whether the SML license is OSI-approved. If it is, then it falls under the GPL exception of the Cygwin license, and you can link it with Cygwin and distribute it, in which case read http://cygwin.com/setup.html for instructions on preparing and ITP'ing a Cygwin package. Who supplies the forms that I'll need to sign? AFAIK, there aren't any forms to sign for contributing packages. Good luck. FYI, I'd vote for an smlnj package... 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! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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: Compiling TCL C extensions using Cygwin gcc
Jingzhao Ou schrieb: I tried to compile a simple Tcl C extension using Cygwin gcc. I use the following commands: gcc -shared -ltcl -L/lib random.o I got the following error messege: random.o(.text+0x31):random.c: undefined reference to `_Tcl_WrongNumArgs' random.o(.text+0x5e):random.c: undefined reference to `_Tcl_GetIntFromObj' random.o(.text+0x98):random.c: undefined reference to `_Tcl_GetObjResult' random.o(.text+0xad):random.c: undefined reference to `_Tcl_SetIntObj' random.o(.text+0xe2):random.c: undefined reference to `_Tcl_PkgRequire' random.o(.text+0x11a):random.c: undefined reference to `_Tcl_CreateObjCommand' random.o(.text+0x135):random.c: undefined reference to `_Tcl_PkgProvide' collect2: ld returned 1 exit status I can see that tcl.h is located at /usr/include. Also, libtcl84.a and libtclstub84.a are located at /lib. Can any one kindly help me out? lots of beginners mistakes: there's a good gcc primer in the net. please check that out. http://www.network-theory.co.uk/gcc/intro/ 1. libs after the source, 2. library search path before the lib, otherwise it will not find it. 3. -shared ??? See that there's an tcl .a lib but no .dll (for completeness sake: no .la pointing to a .dll at /usr/bin), so you cannot build a shared exe. = gcc random.c -L/usr/lib -ltcl -o random but -L/usr/lib is redundant because thats in the standard search path = gcc random.c -ltcl -o random Note: the .exe extension is added automatically to random. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- 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: ssh - no access to /dev/st0
At 03:02 PM 8/31/2004, you wrote: If I add sshd_server to the Administrators group, I can auto logon via ssh (using authorized_keys). Even though this is supposed to happen via ssh-host-config. From '/usr/share/doc/Cygwin/openssh.README': 2003 Server has a funny new feature. When starting services under SYSTEM account, these services have nearly all user rights which SYSTEM holds... except for the Create a token object right, which is needed to allow public key authentication :-( There's no way around this, except for creating a substitute account which has the appropriate privileges. Basically, this account should be member of the administrators group, plus it should have the following user rights: Create a token object Logon as a service Replace a process level token Increase Quota The ssh-host-config script asks you, if it should create such an account, called sshd_server. If you say no here, you're on your own. Please follow the instruction in ssh-host-config exactly if possible. Note that ssh-user-config sets the permissions on 2003 Server machines dependent of whether a sshd_server account exists or not. So your 'sshd_server' user should be a member of the administrators group if it's going to work. Did you use 'ssh-host-config' to create it in the first place? Does rerunning it make it any better? But I still do not have access to /dev/st0, but if I disable auto-logon and type in my password, all works. The interesting thing is that the id command returns a different set of groups for me when I log on automatically or I specify the password. The uid and gid are the same, but the list of groups is different: For the automatic logon I only get Domain Admins and Users Any suggestions would be appreciated. Beyond what I already suggested (below), which I still think is valid/worthwhile advice, you might also review your '/etc/passwd' and '/etc/group' too. Thanks. -Original Message- From: Larry Hall [mailto:blah blah blah] http://cygwin.com/acronyms/#PCYMTNQREAIYR Sent: Tuesday, August 31, 2004 12:36 PM To: Cary Lewis; [EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR Subject: RE: ssh - no access to /dev/st0 At 12:24 PM 8/31/2004, you wrote: The issue is that during command line execution of a tar command, sshd has not set the environment properly, namely the mount points are not there, so /dev/st0 does not exist, and the PATH variable does not point to the correct cygwin files either. What might be causing this. It works fine with an interactive ssh session (providing auto logon is not set up). I think it's time to start over on this one too: Problem reports: http://cygwin.com/problems.html You might want to run your server in debug mode and see if you can spot the problem here. My WAG is permissions problems on ~/.ssh and/or log files/directories and/or 'sshd' isn't running with all the permissions it needs. But that's just guessing. The debug output should help ferret out the real answer. -- 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: mod-php4
Robert Schmidt schrieb: That being said, any pointers to alternatives to SquirrelMail (preferrably lighter-weight, and for an IMAP backend) would be welcome... The normal WAMP setup works fine with squirrelmail. (And most other php packages.) There are lots of easy WAMP installers. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- 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/
Problem with setup 2.427 under Windows 2000
Hi all. I am attempting to run setup.exe, version 2.427 under Windows 2000 Professional on a Toshiba laptop. After making all the setup option selections, the setup fails, with a dialog window saying 'setup.exe has been terminated by Windows. You will need to restart the program'. The first time I tried to run setup, I looked in 'setup\var\log'. It said that Cygwin could not detect McShield because McAfee is not installed. I am aware that setup has problems running simultaneously with anti-virus software, but I have no anti-virus software on the computer (as the error diagnostic indicates). This computer is not connected to the internet. So I had to download and burn the tarballs to CD on another machine. I then copied the files from CD to a folder residing on my desktop on the machine in question...and am attempting to run setup from this folder. This is my first time posting to this list and trying to use Cygwin. Many apologies if this has been addressed elsewhere (I've read several postings with regard to 2.427 setup - but none addressing quite the same concern as mine). Best regards, Pat Jones _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement -- 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/
efsprogs (was: BUG gcc-mingw 20040810-1 library search path)
Robb, Sam schrieb: Already noted, Max. I'm aware of the problem, but don't have time to address it immediately. I should be able to get to it soon, though. If you have any suggestions as to where the libuuid from e2fsprogs should go, I'd be glad of the advice... IIRC, Reini suggested /usr/lib/e2fsprogs or something similar. Hmm, linux really has it at /usr/lib/ Maybe you could ask the e2fsprogs-devel maintainer to rename his uuid lib, or put it into some subdir. ss for subsystem seems also to be a common name. His headers for example go into subdirs: uuid/uuid.h It's not the best attitude to trample on these namespaces, with _libdir=/usr/lib: %{_libdir}/libcom_err.a %{_libdir}/libcom_err.so %{_libdir}/libe2p.a %{_libdir}/libe2p.so %{_libdir}/libext2fs.a %{_libdir}/libext2fs.so %{_libdir}/libss.a %{_libdir}/libss.so %{_libdir}/libblkid.a %{_libdir}/libblkid.so %{_libdir}/libuuid.a %{_libdir}/libuuid.so -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- 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: ssh under windows 2003 server
Cary Lewis wrote: I am ssh installed on a win 2003 server. If I login in with authorized_keys set to allow auto-logins, I get the fanfare, and welcome message, but then I am immediately logged out. If I remove authorized_keys and I am prompted for password, I can log in and use the shell normally. Can someone shed some light on this? Thanks. Cary, I believe you needed to fix this problem above before you tried using ssh to your box. I don't know if the others saw your first message on the list before they saw your tape drive and ssh problem. Would you please reply to the list with both your cygwin.dll version and the openssh version that you are using? Depending on your the versions of these programs, and that you just installed ssh, you may be experiencing the privilege separation problem. Additional information is located here, if your versions match. http://cygwin.com/ml/cygwin/2004-08/msg01245.html Greg ssh - no access to /dev/st0 I have a SCSI tape drive, and I can use tar to create archives on it: tar cvf /dev/st0 /bin tar tvf /dev/st0 but if I try to ssh into my cygwin box and try the same command, then I get the following error: tar: opening archive /dev/st0: The system cannot find the path specified. Any help would be appreciated. I am running ssh under cygwin on a windows 2003 server box. Thanks for any 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: We have a hacker
[um... snip] on my own. I bought every one of those computers. The VIC, the 128, the Amiga, The Tandy, the 286, the 386, the Compaq Presario and now an HP. 1. So *YOU* are the other guy who bought a C-128! I knew I wasn't the only one! 2. What in blazes are you talking about? -- Gary R. Van Sickle -- 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: Python os.path.join inconsistency?
Ken Dibble schrieb: I guess my limited experience (including not being a windows programmer) colored my perception. I had never been able to get any Windows variant I was exposed to, to accept a forward slash. So much for my recall device of Unix Forward, Windows Backward. Win95 derivates accept only backward, WinNT since always forward slashes also. All the WinAPI functions and all winnt commands. cmd.exe knows about it, command.com not, most older shells try to take the first / as argument delimiter. (stupid command.com habits) [n:\]bin/ls 4DOS/NT: Unknown command BIN [n:\]ls /bin/ls /bin/ls Some homegrown scripts or python or perl or php libs probably not. Who knows on which they decide to split their args and paths. If they just pass the paths verbatim to the underlying API, it should work okay. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- 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: Strange behaviours: attributable to XP SP2?
Sorry, the SP2? query turns out to be a completely false trail. What was happening was that in the file /etc/setup/installed.db I had an entry for libopenldap2-2-15-2-15-2-15-2-15-[repeat many times]-2-15 being a hangover from a recent naming problem that caused successive updates to be installed. I have removed this line from installed.db leaving only entries for libopenldap2 and libopenldap2_2_7. The output from cygcheck is now aligned properly. Thank you for help. Fergus -- 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: We have a hacker
Gary R. Van Sickle wrote: [um... snip] on my own. I bought every one of those computers. The VIC, the 128, the Amiga, The Tandy, the 286, the 386, the Compaq Presario and now an HP. 1. So *YOU* are the other guy who bought a C-128! I knew I wasn't the only one! 2. What in blazes are you talking about? Someone's been watching me. I caught on to one in Millbrook, Alabama. My youngest brother. The other is in Montgomery, Alabama. Look at headers sometime, and you can tell where the message are coming from. My friend pointed me out to one. It was sending email using my actual encoded account address from the server. But the address of the machine sending it was in Montgomery, not Millbrook, and it was not on Bell south, but Charter. It sent a message to a guy named Hiratch Ford in North Carolina. What made my friend suspicious of these fraudulent email was that one was supposedly coming from the system administrator at his place. He is his own system administrator, and would have not needed to write that email. He uses Linux for email. Which I suppose I should too. Gotta go. I'm going to get Linux, at least on ISO. Bobby -- 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/