Re: [ITP] apr, apr-util (seeking review)
[Repost] Is there anyone who might be able to review these? Note that apr and apr-util could be reviewed seperately, even by different people. Max Bowsher wrote: APR is the Apache Portable Runtime. APR-util is an addon package to APR containing non-core useful features. Both are required by Subversion. Thankyou to everyone who voted: * Volker Quetschke * Gerrit P. Haase * Corinna Vinschen Here are apr and apr-util packages for review: Setup URL: http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/ http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/apr/apr-0.9.5pre20040505-0.5-src.tar.bz2 http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/apr/apr-0.9.5pre20040505-0.5.tar.bz2 http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/apr/libapr0/libapr0-0.9.5pre20040505-0.5.tar.bz2 http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/apr-util/apr-util-0.9.5pre20040505-0.5-src.tar.bz2 http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/apr-util/apr-util-0.9.5pre20040505-0.5.tar.bz2 http://www-stud.robinson.cam.ac.uk/~mob22/cygwin/release/apr-util/libaprutil0/libaprutil0-0.9.5pre20040505-0.5.tar.bz2 Setup.hints below. Max. == libapr0 sdesc: The Apache Portable Runtime (runtime package) ldesc: The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. This is the core library of this system. category: Libs requires: cygwin external-source: apr = apr = sdesc: The Apache Portable Runtime (development/documentation package) ldesc: The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. This is the core library of this system. category: Libs Devel requires: cygwin libapr0 == libaprutil0 = sdesc: Additional utility library for use with the Apache Portable Runtime (runtime package) ldesc: The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. This is APR-Util, an addon library which provides miscellaneous additional utility functionality. category: Libs requires: cygwin libapr0 external-source: apr-util === apr-util sdesc: Additional utility library for use with the Apache Portable Runtime (development/documentation package) ldesc: The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. This is APR-Util, an addon library which provides miscellaneous additional utility functionality. category: Libs Devel requires: cygwin libaprutil0 apr
Re: Looking for new apache maintainer
Igor Pechtchanski wrote: Perhaps this should be moved to cygwin-apps (which Brian, as all other Been subscribed for some time now, and redirecting... maintainers, will have to subscribe to anyway), but one more point while we're on the subject of Apache: maybe it's time to revisit the apache postinstall procedure (both the rebase issue and the /var/www one). FWIW, one idea on the latter is splitting out the documents into a separate package (apache-docs?), installing over the manual, and using postinstall to set up the index.html.* files if they aren't present. This way, cygcheck -c won't be confused by the apache packages anymore. I can elaborate if there's interest. Yes, I'd planned to redo all that. The manual will go into /usr/share/doc/apache so that it can be sanely upgraded, instead of in the docroot next to the user's stuff. Also use a postinstall to copy over sample config if not exists, instead of this /etc/apache.new business. The other thing that needs attention is this libphp4.dll and rebasing. It's really ugly currently: the dll is included in the package as /usr/lib/apache/new/libphp4.dll and copied over manually by apxs in the postinstall, which also tries to rebase. Both will fail if there's an existing (in-use) dll, and it also means the package manifest is wrong, causing cygcheck to always report a broken package. What I'd really like to do is let setup.exe deal with replacing the dll if it's in use, and relocate libphp4.dll before packaging to work with the default set of libs so no rebase is necessary. Then it's just a matter of adding the LoadModule lines to httpd.conf in postinstall if they're not there already. Brian
Re: Troubles starting X Win X Server - missing files
Well, starting reading some of the documentation would probably help you - it as least would others if you followed the normal problem reporting... http://cygwin.com/problems.html Med venlig hilsen / Regards Franz Wolfhagen
Re: Right mouse button functionality and cygwin-xfree
On Wed, 26 May 2004, Ariel Burbaickij wrote: code is NOT 0x10 and I do not see ButtonRaised and ButtonPressed events in the application window at all. This actually means not even for left button even though all the functionality is given (submenues pop up or pull down, areas of the window are selected etc.). So let us look for another cause. To get you right: If you click into the Event Test window of xev you do not get ButtonPress and ButtonRelease events like these? ButtonPress event, serial 22, synthetic NO, window 0x161, root 0x3b, subw 0x162, time 783041724, (41,51), root:(911,523), state 0x0, button 3, same_screen YES ButtonRelease event, serial 22, synthetic NO, window 0x161, root 0x3b, subw 0x162, time 783041864, (41,51), root:(911,523), state 0x400, button 3, same_screen YES bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: X visual
On Thu, 27 May 2004, Cedric GAUTIER wrote: Hello, Is that normal ? yes. Good to hear that, It there a way to obtain more ? Do you need more? Yes ... In fact, I am making a simple program using multisample. So, It could only work if there is some visual that support that mode ... Multisample is a glx feature, right? Have you already tried XWin_GL? This is a binary which uses the windows OpenGL libraries and has many visuals. But is not in a stable version and still has some rough edges. But for testing it is good enough. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Troubles starting X Win X Server - missing files
On Thu, 27 May 2004, Walter Rusin wrote: Hi, I installed the whole Cygwin package using the setup software. When I'm trying to run the X server under Windows XP I get an error message. Below the extract of the starting script echo. I've searched the web for some hints but I still can't fix it. Please help... (null) Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! Fatal server error: could not open default font 'fixed' winDeinitMultiWindowWM - Noting shutdown in progress Check the FAQ. There is any entry which should help you resolve the missing font. http://x.cygwin.com/docs/faq/cygwin-x-faq.html bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Right mouse button functionality and cygwin-xfree
On Wed, 26 May 2004, Ariel Burbaickij wrote: code is NOT 0x10 and I do not see ButtonRaised and ButtonPressed events in the application window at all. This actually means not even for left button even though all the functionality is given (submenues pop up or pull down, areas of the window are selected etc.). So let us look for another cause. To get you right: If you click into the Event Test window of xev you do not get ButtonPress and ButtonRelease events like these? ButtonPress event, serial 22, synthetic NO, window 0x161, root 0x3b, subw 0x162, time 783041724, (41,51), root:(911,523), state 0x0, button 3, same_screen YES ButtonRelease event, serial 22, synthetic NO, window 0x161, root 0x3b, subw 0x162, time 783041864, (41,51), root:(911,523), state 0x400, button 3, same_screen YES bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 No, not in the test window. In the test window I do get these events. Problem is, though, I do not get them in applicationms' window. I surely understand that most natural reaction on your part would be to say something like :Ok. No events, no reaction. Pay as you go. Point is, though it does work out from other X-servers for Win32 out of the box. So I will be more then happy to help you in debugging to trace the problem down. With Best Regards -- Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen! Jetzt aktivieren unter http://www.gmx.net/info
Re: Right mouse button functionality and cygwin-xfree
On Thu, 27 May 2004, Ariel Burbaickij wrote: To get you right: If you click into the Event Test window of xev you do not get ButtonPress and ButtonRelease events like these? No, not in the test window. In the test window I do get these events. Problem is, though, I do not get them in applicationms' window. I surely understand that most natural reaction on your part would be to say something like :Ok. No events, no reaction. Pay as you go. Point is, though it does work out from other X-servers for Win32 out of the box. So I will be more then happy to help you in debugging to trace the problem down. Does it happen in all programs or only a few? Which programs are these? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Combination of Windows based GUI and Cygwin.
Hi all, I need suggestion about following topic. I have Fortran90 codes which is working fine in cygwin-X. What i need to do is i want to connect those codes with windows based GUI. What GUI does is just creating INPUT file. I want INPUT file to use in cygwin in background(users dont know about cygwin) and give output files. My problem is how to make cygwin run in background from GUI, is it possible?. If it is then what is the best way to do it. Cygwin-X is necessary because results are in form of some plots which needs to be plotted in gnuplot or can be view in gs/gv combination. Plese help me Thanks. Kirat __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
Re: Right mouse button functionality and cygwin-xfree
Does it happen in all programs or only a few? Which programs are these? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 As you might guess it only happens with one programm but with most important one :-(. On the other hand let me try not to be so upset by it and pose one question. Can you make some educated guess about in what way and where is the programm brocken so that is misbehaves in such a way? With Best Regards and Thank You for Your Help -- NEU : GMX Internet.FreeDSL Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl
Re: Right mouse button functionality and cygwin-xfree
On Thu, 27 May 2004, Ariel Burbaickij wrote: Does it happen in all programs or only a few? Which programs are these? As you might guess it only happens with one programm but with most important one :-(. On the other hand let me try not to be so upset by it and pose one question. Can you make some educated guess about in what way and where is the programm brocken so that is misbehaves in such a way? A common problem is not to check for special modifiers like num or scroll lock. Or they only expect a two button mouse. You could also try xev with Cygwin/X and the other xserver and check where the output differs. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Problem with startx
Hi, I followed the installation procedure to instal cygwin/X, then when I type: $ startx, the message went up as following with no Xwin opened: $ startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-9 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: 1400 height: 1016 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 shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (EE) Keyboardlayout US (0409) is unknown Rules = xorg Model = pc101 Layout = us Variant = (null) Options = (null) Please help, what I did not completed? Thanks! Lirong Chen
Re: Problem with startx
On Thu, 27 May 2004, Lirong Chen wrote: Hi, I followed the installation procedure to instal cygwin/X, then when I type: $ startx, the message went up as following with no Xwin opened: $ startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-9 Contact: [EMAIL PROTECTED] XWin was started with the following command line: X :0 -multiwindow -clipboard [snip] Please help, what I did not completed? Thanks! Lirong Chen Do you see an X icon in your systray? X did get started, but the default mode is now multiwindow (as evidenced by the above log snippet), and you won't see a root window. Just open your X apps as usual. If you want a root window, use startx -- :0 (or something of the sort, someone will surely correct me if I'm wrong). 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! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton
Three monitors and repainting...
Hello, I have three monitors (WinXP Pro): 1 - 2 - 3 where 2 is the primary monitor (desktop) and 3 is driven by a old PCI based VGA card. 1 2 are driven by the same AGP card. When I start an xterm, it always loads on monitor 1 and everything seems to work. When I move that xterm to monitors 2 or 3 it stops repainting (goes white). Wait! You are about to tell me about -multiplemonitors. That works only if I disable monitor 3. If I have extended/activated the monitor 3 desktop repainting on both monitors 2 and 3 is disabled, regardless of the presence of the -multiplemonitor switch. Is this a known problem? Alternatively, does anyone have this configuration working, so I know the fault is my setup, not cygwin? Is there a work around? Another data point: If I disable monitor 3 and start XWin on multiple monitors, it works and both monitors 1 2. If I then enable monitor 3, it continues to work on 1 2, but not 3. If I start Xwin with all three monitors enabled, only monitor 1 repainting works. Hope that makes sense. - Henrik
Re: Three monitors and repainting...
Henrik Schmiediche wrote: where 2 is the primary monitor (desktop) and 3 is driven by a old PCI based VGA card. 1 2 are driven by the same AGP card. When I start an xterm, it always loads on monitor 1 and everything seems to work. When I move that xterm to monitors 2 or 3 it stops repainting (goes white). Is this a known problem? Alternatively, does anyone have this configuration working, so I know the fault is my setup, not cygwin? Is there a work around? Another data point: If I disable monitor 3 and start XWin on multiple monitors, it works and both monitors 1 2. If I then enable monitor 3, it continues to work on 1 2, but not 3. If I start Xwin with all three monitors enabled, only monitor 1 repainting works. Hm, This is an unusual configuration. I doubt someone has tried that before. Anyway, I'll take a look and see if I can find some hints what's wrong. bye ago NP: Resurrection Eve - Velocity 001 -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
XWin on Larger Secondary Monitor?
Hello, I'm running a weird configuration and would like to see if anyone has this working. I have a laptop with a secondary monitor. The primary (laptop screen) is 1400 x 1050. The secondary monitor is a larger 1600 x 1200. I'd like to launch xwin on the secondary monitor such that the root window fills the screen. Can anyone tell me how to do this? The closest that I could get was to run in -multimonitor mode - but that filled both of my screens with a giant root window. Currently I'm settling with running XWin on the primary monitor and moving it to the secondary. So it fills *most* of the screen... Thanks! -Sean Here are the contents of my XWin.log: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.7.0.0-9 Contact: [EMAIL PROTECTED] XWin was started with the following command line: XWin -clipboard ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1400 h 1050 winInitializeDefaultScreens - Returning 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: 0409 (0409) (EE) Keyboardlayout US (0409) is unknown Rules = xorg Model = pc101 Layout = us 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: 697 496 winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winProcSetSelectionOwner - Clipboard not yet started, aborting. winClipboardProc - XOpenDisplay () returned and successfully opened the display. -Sean
C-Shell : commands are not working.
__ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
C-shell:commands are not working
Hi Sorry for the blank email. Some serious problem is going on here, in my C-shell application all things are fine previously i can use all commands like ls , gv .. all. But suddenly i am not able to do that. What should i have to do to solve this, plese help me. Thanks Kirat __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
Re: C-shell:commands are not working
On Thu, 27 May 2004, kirat shah wrote: Some serious problem is going on here, in my C-shell application all things are fine Great, no problem! Then why are you posting again? previously i can use all commands like ls , gv .. all. But suddenly i am not able to do that. Ah yes. What does that mean? What should i have to do to solve this, plese help me. Start here: http://cygwin.com/lists.html to find out which list is the correct one to address your problem. This is the Cygwin/X list. Since your problem is not Cygwin/X related, it is off topic for this list. As such, I have redirected further replies to the correct list cygwin at cygwin dot com (the main Cygwin list). But, before you post there, please read: http://cygwin.com/problems.html It will tell you how to properly format a problem report so that we don't have to use our psychic abilities and guess what's wrong. It will also inform you about the required attachment that tells us about your particular installation. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot...
Re: XWin on Larger Secondary Monitor?
On Thu, 27 May 2004, Sean O'Boyle wrote: Hello, I'm running a weird configuration and would like to see if anyone has this working. I have a laptop with a secondary monitor. The primary (laptop screen) is 1400 x 1050. The secondary monitor is a larger 1600 x 1200. I'd like to launch xwin on the secondary monitor such that the root window fills the screen. Can anyone tell me how to do this? The closest that I could get was to run in -multimonitor mode - but that filled both of my screens with a giant root window. Currently I'm settling with running XWin on the primary monitor and moving it to the secondary. So it fills *most* of the screen... You could temporarilly make the secondary monitor the primary one via the control pannel. Why not just use -multiwindow -multiplemonitors, though? You might also try using -screen screen_number width height -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot...
Re: Combination of Windows based GUI and Cygwin.
On Thu, 27 May 2004, kirat shah wrote: Hi all, I need suggestion about following topic. I have Fortran90 codes which is working fine in cygwin-X. What i need to do is i want to connect those codes with windows based GUI. What GUI does is just creating INPUT file. I want INPUT file to use in cygwin in background(users dont know about cygwin) and give output files. My problem is how to make cygwin run in background from GUI, is it possible?. Cygwin doesn't run in background. Cygwin is a DLL that you link to applications. If your Windows GUI just creates an input file, why can't your Cygwin program read that file? If it is then what is the best way to do it. I think you need to explain what you want in much greater detail. It is unclear to me that Cygwin/X is even involved in the question. Cygwin-X is necessary because results are in form of some plots which needs to be plotted in gnuplot or can be view in gs/gv combination. Ok, but how does that relate to making your Windows GUI interact with your Cygwin Fortran code via an input file? I'm lost. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot...
Re: Three monitors and repainting...
Alexander Gottwald wrote: Henrik Schmiediche wrote: where 2 is the primary monitor (desktop) and 3 is driven by a old PCI based VGA card. 1 2 are driven by the same AGP card. When I start an xterm, it always loads on monitor 1 and everything seems to work. When I move that xterm to monitors 2 or 3 it stops repainting (goes white). Is this a known problem? Alternatively, does anyone have this configuration working, so I know the fault is my setup, not cygwin? Is there a work around? Another data point: If I disable monitor 3 and start XWin on multiple monitors, it works and both monitors 1 2. If I then enable monitor 3, it continues to work on 1 2, but not 3. If I start Xwin with all three monitors enabled, only monitor 1 repainting works. Hm, This is an unusual configuration. I doubt someone has tried that before. Anyway, I'll take a look and see if I can find some hints what's wrong. I think I posted this before. I use two monitors and it does not work. Monitor 1 on the right is the primary monitor (a notebook). The resoultion is 1600x1200. Monitor 2 on the left is the secondary monitor, which is 1280x1024. To be short, all of the x-windows can only repaint correctly if they were totally within 1600 pixels starting from the left-most end of Monitor 2. In this new lab of mine (which is very rich) even the students have two monitors. I am going to teach them C++ since June, and I shall ask them to install cygwin I hope that by that time they will not be puzzled by this behavior of cygwin on dual monitors. Best wishes, K.K.Liang
Re: XWin listens on too many TCP ports and killing existing connections.
Ago - Looks like the -multiwindow option is the one causing the listening ports. Something interesting, when running without the multiwindow option. I tried to run sawfish (window manager), after which, sawfish is the one that spawns the listening sockets every second just like XWin did. Thanks, Khoa Nguyen - Original Message - From: Alexander Gottwald [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 20, 2004 7:17 AM Subject: Re: XWin listens on too many TCP ports and killing existing connections. Caphe Noir wrote: XWin was started with the following command line: X :0 -multiwindow -clipboard Please try running X :0 X :0 -clipboard X :0 -multiwindow bye ago NP: Oomph! - Goldenes Herz -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
winsup/utils ChangeLog kill.cc
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2004-05-27 15:15:52 Modified files: utils : ChangeLog kill.cc Log message: * kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling strtosigno with NSIG - 1. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaumr1=1.260r2=1.261 http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/kill.cc.diff?cvsroot=uberbaumr1=1.23r2=1.24
winsup/utils ChangeLog
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2004-05-27 15:58:30 Modified files: utils : ChangeLog Log message: clarify last entry slightly. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaumr1=1.261r2=1.262
problem with ssh-user-config on Win XP
script ssh-user-config fails because user SYSTEM does not exit in my '/etc/passwd' file, it was created using 'mkpasswd -d domain', which does not create any SYSTEM user. I enter 'mkpasswd -l' to see if it creates a SYSTEM user, and it does. So why 'mkpasswd -d domain does not ?? -- Vincent -- 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: Allow service to interact with desktop
| Does the option in the subject line allow me to use GUIs via ssh? If so, how | do I make use of it? Environmental issues? Well port forward the VNC-port through the ssh-session. /Andy -- The eye of the compiler rests on the code! -- 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: Looking for new apache maintainer
Brian Dessent wrote: Christopher Faylor wrote: Is anyone interested in being the maintainer for the Apache package? The current maintainer is MIA. I would like to volunteer for this. Hi Brian, Do you intend to maintain Apache 1 or Apache 2? 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: cron dying in Windows but not in Cygwin
-Original Message- From: cygwin-owner On Behalf Of Thorsten Kampe Sent: 26 May 2004 23:06 * Robert Pollard (2004-05-26 18:33 +0100) I have a bit of a problem where when we launch cron from the command line after a few days it dies in Windows but is still visible in Cygwin. Beg your pardon? Your sentence doesn't make sense to me. Currently, I run a script that launches /usr/sbin/cron. This script only launches cron if it isn't running. Does it have something to do with not launching from an rc file? Excuse me? rc files are /configuration/ files... Have you ever actually *read* one? They're shell scripts. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: echo vs. ls race condition?
Fred Kulack [EMAIL PROTECTED] writes: Interesting tests. I still can't get it to fail... Note _I_ can't get it to fail with only 10 subdirs -- 100 or 200 are much more reliable at producing the problem. . . What terminal are you using? Perhaps there's something weird going on with flow control as descriptors are dup'd for the utilities there? I'm using plain old winblows console. I can reproduce using windows console plus bash Did you try the regular echo instead of the builtin? It may have different characteristics with regard to this. OK, so _that's_ interesting -- using /bin/echo _and_ running under windows console I _cannot_ reproduce. Either running under rxvt _or_ using builtin echo produces the problem. Also, using /bin/sh to run the loop does _not_ reproduce the problem, even with builtin echo. Here's a hack way to test for the bug automatically, by the way: command ls -d * | while read d; do /bin/echo -e \n-$d-; ls $d ; done xxx egrep -A2 'aaa' xxx| tr -d '\012' | sed 's/--/\ /g' | egrep 'aaa.*aaa' uname -a CYGWIN_NT-5.1 francis 1.5.9(0.112/4/2) 2004-03-18 23:05 i686 unknown unknown Cygwin cygcheck -cd bash Cygwin Package Information Package Version bash 2.05b-16 ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED] URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] -- 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: Looking for new apache maintainer
Max Bowsher wrote: Brian Dessent wrote: Christopher Faylor wrote: Is anyone interested in being the maintainer for the Apache package? The current maintainer is MIA. I would like to volunteer for this. Hi Brian, Do you intend to maintain Apache 1 or Apache 2? I hadn't planned to package 2.x because its native win32 version would be significantly faster with a thread MPM than a Cygwin port. But I suppose a Cygwin version would be useful if you wanted to test or develop things that are destined for a 2.x/Unix machine. I also don't know what's involved with compiling 2.x for Cygwin. Maybe after 1.x and the modules are out... Brian -- 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 cygwin crypt function
Hello i need to use the cygwin crypt function to compare the result with the result of the linux string function. Under linux i crypt the string with a salt and then i have to remove the first characters to remove the salt from the result string. But under cygwin it seems that i only have a 13 char string with no salt at the beginning and this result string is completely different from the linux result string with the same input. Does anyone know a way to solve that -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
g++ linking
Hi, I am not able to link one of my program using g++, so looking forward for some help. I am having a library(util.lib) and dll(util.dll) file. I am trying to link my program to the dll and getting undefined reference error where as the same thing works if I try in linux environment. when I try to list the symbols from the dll it returns nothing. When I try to list the symbos from the library file it returns the symbol for the function I am looking for. I want to know is there any way I can use g++ to link using the library file rather than the dll I rememeber in Microsoft Visual c++ we specifiy library file rather than dll). I went through the mailing list and could not found any relevant requirement. I appreciate ur help in solving my problem. Thank you Regards Marri Devender Rao Software Engineer 24, Ang Mo Kio Street 65, Singapore 569061 Phone: 64131381(O), 65833061(H) -- 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: Looking for new apache maintainer
Brian Dessent wrote: Max Bowsher wrote: Brian Dessent wrote: Christopher Faylor wrote: Is anyone interested in being the maintainer for the Apache package? The current maintainer is MIA. I would like to volunteer for this. Hi Brian, Do you intend to maintain Apache 1 or Apache 2? I hadn't planned to package 2.x because its native win32 version would be significantly faster with a thread MPM than a Cygwin port. But I suppose a Cygwin version would be useful if you wanted to test or develop things that are destined for a 2.x/Unix machine. I also don't know what's involved with compiling 2.x for Cygwin. Maybe after 1.x and the modules are out... OK, my reason for asking was because I currently have apr and apr-util packages pending, so if anyone was to package Apache 2, I'd need to co-ordinate with them. I have actually got a working cygwin apache 2 to compile, but it was quite messy, and I have no time to tidy it up at the moment. 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: Looking for new apache maintainer
Max Bowsher wrote: I hadn't planned to package 2.x because its native win32 version would be significantly faster with a thread MPM than a Cygwin port. But I suppose a Cygwin version would be useful if you wanted to test or develop things that are destined for a 2.x/Unix machine. I also don't know what's involved with compiling 2.x for Cygwin. Maybe after 1.x and the modules are out... OK, my reason for asking was because I currently have apr and apr-util packages pending, so if anyone was to package Apache 2, I'd need to co-ordinate with them. I have actually got a working cygwin apache 2 to compile, but it was quite messy, and I have no time to tidy it up at the moment. Ah, of course. I'll contact you before I start packaging 2.x, if ever. Brian -- 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: problem with ssh-user-config on Win XP
vdu schrieb: script ssh-user-config fails because user SYSTEM does not exit in my '/etc/passwd' file, it was created using 'mkpasswd -d domain', which does not create any SYSTEM user. I enter 'mkpasswd -l' to see if it creates a SYSTEM user, and it does. So why 'mkpasswd -d domain does not ?? As with every better software package a bit of cleverness from the user-side is recommended. -- Reini Urban -- 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 problem with authentication
-Original Message- From: cygwin-owner On Behalf Of Mike Kenny - BCX - Mngd Services Sent: 27 May 2004 10:07 I have a situation where, on the windows side, cron is running as user 'mqdisp'. The PS shows that cron is running as SYSTEM, I hope the above better explains my problem. Not exactly! On the cywin side, mqdisp is the user that is trying to run the cron job that attaches to MQ Series. AYS? I take it you say this because you were logged in as that user when you ran crontab? BTW, is there some way that I can login as 'system'? This might provide a way around this problem. Also not exactly! Heh. Let me be clearer. It seems to me that you want cron to run as user mqdisp rather than user SYSTEM. SYSTEM is a local account; it has utmost (rooter-than-root) priviliges on your local machine but it's not a member of the domain and has no access rights there. [754] MQSeries Type: WARNING Computer: TEST1 Time: 2004/05/27 10:50:14 ID: 8074 Authorization failed as the SID 'S-1-5-21-776561741-1935655697-1343024091-1007' does not match the entity 'system'. The Object Authority Manager received inconsistent data - the supplied SID doe s not match that of the supplied entity information. Ensure that the application is supplying valid entity and SID information. Yep, that's mqdisp's sid, not SYSTEM's. SYSTEM:*:18:544:,S-1-5-18:: mqdisp:unused_by_nt/2000/xp:1007:513:mqdisp,U-TEST1\mqdisp,S-1 -5-21-776561741-19 35655697-1343024091-1007:/home/mqdisp:/bin/bash I think the real question is, did you use the --user and --passwd options to cygrunsrv when you installed crond? This tells cygrunsrv to use the windoze 'RunAs' service to start crond as the user you choose. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problems with sshd on Windows 2003 Server
Brian Ford wrote: On Wed, 26 May 2004, Tomas Stephanson wrote: just though to let you know that after spending several hours trying to get *ssh* key authorization to work and always getting the sshd : PID 348 : fatal: setreuid 500: Permission denied. message I found a solution, I added the sshd_server user the administrators group and restarted the service. Regards Tomas Did you use ssh-host-config to set up the sshd service? Did you read /usr/share/doc/Cygwin/openssh.README? I ran the ssh-host-config to set up the service, it also set upp the sshd_server account and most of the user-rights objects. But did not att den user to the administrators group. I did not read the openssh.Readme file, (I looked for it but only found the regular ssh documentation next time I know to look inte the Cygwin directory) Regards Tomas -- 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 dying in Windows but not in Cygwin
* Dave Korn (2004-05-27 11:26 +0100) * Robert Pollard (2004-05-26 18:33 +0100) I have a bit of a problem where when we launch cron from the command line after a few days it dies in Windows but is still visible in Cygwin. Beg your pardon? Your sentence doesn't make sense to me. Currently, I run a script that launches /usr/sbin/cron. This script only launches cron if it isn't running. Does it have something to do with not launching from an rc file? Excuse me? rc files are /configuration/ files... Have you ever actually *read* one? They're shell scripts. You mean the runlevel scripts in rc.d? They're neither part of the default Cygwin nor of cron installation so I didn't think of these. /I/ meant rc files like bashrc, zshrc, etc. This misunderstanding proves only two things: 1. People who are retentive with facts and descriptions (like RP) provoke misunderstandings inevitably. 2. If RP had even a slight understanding of Cygwin, he would have known that no runlevel script is required to start a Cygwin service/daemon (because there are no Cygwin services or daemons; just Windows services.) But I'm not even sure that RP read the cron readme so 2. may be pointless. Thorsten -- 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 dying in Windows but not in Cygwin
On Thu, 27 May 2004, Thorsten Kampe wrote: * Dave Korn (2004-05-27 11:26 +0100) * Robert Pollard (2004-05-26 18:33 +0100) I have a bit of a problem where when we launch cron from the command line after a few days it dies in Windows but is still visible in Cygwin. Beg your pardon? Your sentence doesn't make sense to me. Currently, I run a script that launches /usr/sbin/cron. This script only launches cron if it isn't running. Does it have something to do with not launching from an rc file? Excuse me? rc files are /configuration/ files... Have you ever actually *read* one? They're shell scripts. You mean the runlevel scripts in rc.d? They're neither part of the default Cygwin nor of cron installation so I didn't think of these. /I/ meant rc files like bashrc, zshrc, etc. This misunderstanding proves only two things: 1. People who are retentive with facts and descriptions (like RP) provoke misunderstandings inevitably. 2. If RP had even a slight understanding of Cygwin, he would have known that no runlevel script is required to start a Cygwin service/daemon (because there are no Cygwin services or daemons; just Windows services.) Umm hate to throw this in but you can start sshd (and presumably cron although i've never tried,) as daemons rather than services if you install and use the sysv init package and install it as a service and setup your /etc/init.d scripts correctly. this is how i run sshd and xinet on my laptop. however it takes a bit more work for no great gain. just muddying the waters, sorry. Vince But I'm not even sure that RP read the cron readme so 2. may be pointless. Thorsten -- 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/
rm hangs on illegal filename nul
Hi, I somehow managed to create a file named nul (further investigation pending), and now rm -rf hangs when trying to remove the directory with this file. I just upgraded to cygwin 1.5.10-3, I will try with 1.5.9 later. [EMAIL PROTECTED]/cygdrive/e/w1/OOo/expat/wntgcci.pro/misc/build/expat:{505}: $ ll xmlparse/ total 0 -rw-rw-r--1 qnone0 May 26 23:58 nul [EMAIL PROTECTED]/cygdrive/e/w1/OOo/expat/wntgcci.pro/misc/build/expat:{506}: $ rm -rf xmlparse (hangs) But: $ rm -rf xmlparse/nul Removes the file. Explorer on W2K was *not* able to create that file. $ uname -a CYGWIN_NT-5.0 lisi 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown Cygwin (W2kSP4) I have a second nul file in a different dir, does anyone need an strace? Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D pgpostkmuj1DC.pgp Description: PGP signature
RE: problem with ssh-user-config on Win XP
-Original Message- From: cygwin-owner On Behalf Of vdu Sent: 27 May 2004 14:15 Dave Korn http://cygwin.com/acronyms/#PCYMTNQREAIYR wrote in message To explain the same thing twice in the same morning: Sorry guys, I did not know this was a CYGWIN newsgroup for experts... Could you tell me where is the CYGWIN newsgroup for dummies ?!?! That wasn't meant to be any kind of a flame and I don't know why you thought it was; I was just mentioning that the exact same thing had just come up in another context in a oh-look-isn't-that-funny way. I gave you a perfectly straight answer to a straight question. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: rm hangs on illegal filename nul
-Original Message- From: cygwin-owner On Behalf Of Volker Quetschke Sent: 27 May 2004 14:25 To: [EMAIL PROTECTED] Subject: rm hangs on illegal filename nul Hi, I somehow managed to create a file named nul (further investigation pending), and now rm -rf hangs when trying to remove the directory with this file. Known ('doze) problem. Also occurs with filenames like aux, com1, lpt etc. The workaround is WDDTT. 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/
GNU Smalltalk 2.1.7 (was: Re: FYI: GNU Smalltalk 2.1.5 on Cygwin)
Hi, I have uploaded GNU smalltalk 2.1.7 for testing purposes. http://anfaenger.de/cygwin/cygwin-1.5/smalltalk/ * This Smalltalk binary needs this GMP 4.1.3: http://anfaenger.de/cygwin/cygwin-1.5/gmp/ Gerrit -- =^..^= http://nyckelpiga.de/donate.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: rm hangs on illegal filename nul
On Thu, 27 May 2004, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Volker Quetschke Sent: 27 May 2004 14:25 To: [EMAIL PROTECTED] Subject: rm hangs on illegal filename nul Hi, I somehow managed to create a file named nul (further investigation pending), and now rm -rf hangs when trying to remove the directory with this file. Known ('doze) problem. Also occurs with filenames like aux, com1, lpt etc. The workaround is WDDTT. umm is that another way of saying, try cmd /c dir /x find 8.3 format name of file and them rm that. i have a bash script to recurse and remove directories with names of lpt, nul,aux etc somewhere, as a client had left anonymous ftp on and some warez group had created a directory structure about 20 deep with this kind of name. Vince 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/ -- 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: Looking for new apache maintainer
Brian Dessent wrote: I hadn't planned to package 2.x because its native win32 version would be significantly faster with a thread MPM than a Cygwin port. But I suppose a Cygwin version would be useful if you wanted to test or develop things that are destined for a 2.x/Unix machine. I also don't know what's involved with compiling 2.x for Cygwin. Maybe after 1.x and the modules are out... My understanding is that the Cygwin port of Apache 1.x is also significantly slower than the native Apache 1.x but this didn't stop people from wanting a Cygwin version of 1.x. Or is there something in 2.x (this thread MPM thing) that would make a Cygwin port of Apache 2.x much, much slower than the native one? BTW: Thanks for volunteering for this. Does this mean that a Cygwin version of mod_php would be working again? -- Jack Kevorkian for White House physician. -- 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 problem with authentication
On Thu, 27 May 2004, Mike Kenny - BCX - Mngd Services wrote: From: Larry Hall [mailto:[EMAIL PROTECTED] http://cygwin.com/acronyms/#PCYMTNQREAIYR. At 03:52 AM 5/26/2004, you wrote: I previously posted a problem where a job failed attaching to an MQ Q Manager when run from cron. The explanation that was provided was that because MQ authenticates the user using the NT services and cron had had to su to that user, bypassing these services, that the user running the job did not then have the correct credentials. This sounds plausible and certainly explains the behaviour I see, but what would be involved in cron checking to see under which user the cygwin session is running and if this is the same user as the cygwin cron service is running under. If they are the same then do not do the change of user? Would this enable the cron job to run with the correct credentials? Or am I totally misunderstanding the problem? I admit that I know little or nothing about either Windows security or how cygwin interacts with it. Thanks for any comments on this In the default installation, the user doing the su (as you refer to it) is the SYSTEM user. The SYSTEM user has no access to remote SMB shares. So your idea doesn't work because it assumes something that isn't true. One possible alternative is to run cron as the user you want to run jobs as. I don't recall, off-the-top-of-my-head, whether cron assumes that it will run as SYSTEM and, if so, this approach probably wouldn't work without changing the code. Another alternative might be to use a service which allows accessing remote directories without requiring Windows authentication (i.e. not SMB). Larry, first, thanks for taking the time to respond. Possibly I do not understand your comments, but I am confused by the reference to shares. I have a situation where, on the windows side, cron is running as user 'mqdisp'. This user is a member of the mqm group (required for MQ Series) and is an Administrator with permissions to log in as a service and to act as part of the Operating System. On the cywin side, mqdisp is the user that is trying to run the cron job that attaches to MQ Series. My event log is showing me the following: [754] MQSeries Type: WARNING Computer: TEST1 Time: 2004/05/27 10:50:14 ID: 8074 Authorization failed as the SID 'S-1-5-21-776561741-1935655697-1343024091-1007' does not match the entity 'system'. The Object Authority Manager received inconsistent data - the supplied SID does not match that of the supplied entity information. Ensure that the application is supplying valid entity and SID information. While /etc/passwd has the following: SYSTEM:*:18:544:,S-1-5-18:: mqdisp:unused_by_nt/2000/xp:1007:513:mqdisp,U-TEST1\mqdisp,S-1-5-21-776561741-1935655697-1343024091-1007:/home/mqdisp:/bin/bash The PS shows that cron is running as SYSTEM, and it seems that it is trying to use mqdisp's credentials to authenticate system. I hope the above better explains my problem. Did you look at http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID? BTW, is there some way that I can login as 'system'? This might provide a way around this problem. There is, but I doubt it'd be helpful. That said, Google for system-owned shell cygwin. Thanks for any input to this Just try what's already been suggested -- run the cron daemon as mqdisp (if that's the only thing you're using cron for) by using the --user and --passwd options to cygrunsrv. 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! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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/
gcc inst hosed after upgrading to cygwin 1.5.10x
Folks, after I had an upgrade orgy to cygwin 1.5.10.x, my gcc installation got hosed. in particular: gcc: installation problem, cannot exec `cc1plus': No such file or directory completely uninstalling and then re-installing all gcc related stuff doesn't help! Any clues / advice? H. -- 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/
1.5.10-3: make -j6: read jobs pipe: No such file or directory. Stop.
First, this is not a regression to any recent cygwin (it has been a problem for a while (I've tried it on every snapshot as they came out for the past 2 months), I know it did work is 1.3.17, but I also know that is not terribly useful info). I finally produced a test case that exhibited the problem. This should look familiar to some of you, it's the old make -j test, but it's been modified (cause the original test did not show this problem). I'm running a WinXP, P4-2.6GHz(HT) machine. It takes a while to fail (about 6 hours for me): make: *** read jobs pipe: No such file or directory. Stop. make: *** Waiting for unfinished jobs make: *** Waiting for unfinished jobs make: *** Waiting for unfinished jobs make: *** Waiting for unfinished jobs make: *** Waiting for unfinished jobs Failed after 606 runs -Rolf Cygwin Configuration Diagnostics Current System Time: Thu May 27 10:26:05 2004 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\Program Output from C:\cygwin\bin\id.exe (nontsec) UID: 11643(rcampbell) GID: 10513(Domain Users) 10513(Domain Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 11643(rcampbell) GID: 10513(Domain Users) 544(Administrators) 545(Users) 10513(Domain Users) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS CYGWIN = `error_start=c:/cygwin/bin/gdb.exe' HOME = `C:\cygwin\home\rcampbell' MAKE_MODE = `unix' PWD = `/tmp/cygwin' USER = `rcampbell' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\rcampbell\Application Data' COLORFGBG = `0;default;15' COLORTERM = `rxvt-xpm' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `DESK-RCAMPBELL' COMSPEC = `C:\WINDOWS\system32\cmd.exe' COSMIC = `t' CVS_RSH = `/bin/ssh' DISPLAY = `:0' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\rcampbell' HOSTNAME = `desk-rcampbell' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:' LOGONSERVER = `\\OTTDC2' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man' NUMBER_OF_PROCESSORS = `2' OLDPWD = `/home/rcampbell' OS = `Windows_NT' P4CONFIG = `.p4config' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0209' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `C:\DOCUME~1\RCAMPB~1\LOCALS~1\Temp' TERM = `vt100' TMP = `C:\DOCUME~1\RCAMPB~1\LOCALS~1\Temp' TROPIC_UNIQUE_ID = `156' USERDNSDOMAIN = `TROPICNETWORKS.COM' USERDOMAIN = `TROPICNETWORKS' USERNAME = `rcampbell' USERPROFILE = `C:\Documents and Settings\rcampbell' WINDIR = `C:\WINDOWS' WINDOWID = `168191120' _ = `/usr/bin/cygcheck' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin (default) = 0x0400 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c (default) = `C:' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd NTFS 39260Mb 69% CP CS UN PA FC d: cd N/AN/A z: net NTFS 39260Mb 60% CP CS UN PA FC C:\cygwin / system binmode C: /csystem binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe
Re: rm hangs on illegal filename nul
Vince Hoffman wrote: I somehow managed to create a file named nul (further investigation pending), and now rm -rf hangs when trying to remove the directory with this file. Known ('doze) problem. Also occurs with filenames like aux, com1, lpt etc. The workaround is WDDTT. umm is that another way of saying, try cmd /c dir /x find 8.3 format name of file and them rm that. Hmm, $ cmd /c dir /x Volume in drive C has no label. Volume Serial Number is 2C4B-5A99 Directory of C:\cygwin\home\quetschke 05/27/2004 09:52 AMDIR . 05/27/2004 09:52 AMDIR .. 05/27/2004 09:52 AM 4 nul doesn't help :-( i have a bash script to recurse and remove directories with names of lpt, nul,aux etc somewhere, as a client had left anonymous ftp on and some warez group had created a directory structure about 20 deep with this kind of name. Maybe that works for directory names, but this is a file named nul. Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: Looking for new apache maintainer
On Thu, May 27, 2004 at 07:18:42AM -0700, Andrew DeFaria wrote: BTW: Thanks for volunteering for this. Does this mean that a Cygwin version of mod_php would be working again? I hope so. This is one of the reasons that I asked for a new maintainer. I should have made that clearer. 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/
redirection can create nul files - Was: rm hangs on illegal filename nul
Hi Dave, I somehow managed to create a file named nul (further investigation pending), and now rm -rf hangs when trying to remove the directory with this file. Known ('doze) problem. Also occurs with filenames like aux, com1, lpt etc. The workaround is WDDTT. No, wrong, the problem arises from cygwins new ability to create filenames named nul. Binary mount. Try: $ echo hello nul when you do this with 1.5.10 you get a nice file named nul, 1.5.9 just ignores it. Yes, you're perfectly right, don't do it when it hurts, but I stubled over this problem because the software I'm compiling has (now obviously) broken build scripts, and now I have a few undeletable files on my harddisk. In my previous mail I said rm -rf nul can remove the file, no, when you provide the complete path rm just doesn't complain/hang. Any ideas how to remove the nul files? Really, I don't want to format my disk because of this. Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
unknown
something is going wrong! -- 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: redirection can create nul files - Was: rm hangs on illegal filename nul
Just FYI and for the archives: Any ideas how to remove the nul files? Really, I don't want to format my disk because of this. You can fool NTFS into not doing reserve-word checking with: DEL \\.\c:\somedir\nul You propably have to use the correct quotes, or use cmd.exe, like I did. Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
RE: rm hangs on illegal filename nul
-Original Message- From: cygwin-owner On Behalf Of Volker Quetschke Sent: 27 May 2004 15:32 Vince Hoffman wrote: I somehow managed to create a file named nul (further investigation pending), and now rm -rf hangs when trying to remove the directory with this file. Known ('doze) problem. Also occurs with filenames like aux, com1, lpt etc. The workaround is WDDTT. umm is that another way of saying, try cmd /c dir /x find 8.3 format name of file and them rm that. Nope, it's a way of saying The workaround is not to create files with the names of special DOS devices in the first place! [That's the difference between a workaround and a solution...] Hmm, $ cmd /c dir /x Volume in drive C has no label. Volume Serial Number is 2C4B-5A99 Directory of C:\cygwin\home\quetschke 05/27/2004 09:52 AMDIR . 05/27/2004 09:52 AMDIR .. 05/27/2004 09:52 AM 4 nul doesn't help :-( How about cmd /c 'del nu?.*' Does that get it? cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: rm hangs on illegal filename nul
-Original Message- From: cygwin-owner On Behalf Of Dave Korn Sent: 27 May 2004 15:43 How about cmd /c 'del nu?.*' Does that get it? Nope, it doesn't. Volker's technique is the right answer. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Looking for new apache maintainer
Andrew DeFaria wrote: My understanding is that the Cygwin port of Apache 1.x is also significantly slower than the native Apache 1.x but this didn't stop people from wanting a Cygwin version of 1.x. Or is there something in 2.x (this thread MPM thing) that would make a Cygwin port of Apache 2.x much, much slower than the native one? You're correct that 1.x also suffers a performance penalty compared to the native win32 version. However 1.x can only operate in the prefork mode which is not suitable to Windows since process creation is relatively expensive. Thus both versions are pokey. However, with the advent of 2.x the method of allocating workers is modular (the MPM) and so you can choose to have them as threads or as the old prefork style, among others. With threads the performance under Windows is much improved. I suspect (but have not tested) that the Cygwin overhead would be even more apparent in that case, because 2.x has been specifically designed to get good performance under win32 natively, whereas 1.x was never intended for such systems. As far as I know the popularity of Cygwin Apache is for developing and testing web applications that will eventually reside on unix servers. In that department 1.x is more popular by a huge margin due to its stability, known quirks, and ability to work well with non-thread-safe PHP extensions (as well as general stubbornness of sysadmins who avoid 2.x.) Thus demand for 1.x/Cygwin should naturally be much higher as well. If you're actually interested in running a server then the native version is probably better. BTW: Thanks for volunteering for this. Does this mean that a Cygwin version of mod_php would be working again? Yes, I intend to do that. Brian -- 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/
Seqfault doing kill -l
Hi, Couldn't find a mention of this in the Cygwin mailing list archives and thought I'd ask about it. I was trying to get the list of siginals that cygwins kill (/bin/kill) takes using the kill -l command (and --list). Unfortuantly it causes it to segfault as you can see from the following output, thought the other kill in /usr/bin/kill works okay. Is this a known issue? [EMAIL PROTECTED] ~ $ /bin/kill --list Segmentation fault (core dumped) [EMAIL PROTECTED] ~ $ /bin/kill --version kill (cygwin) 1.14 Process Signaller Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. Compiled on Mar 18 2004 I have captured a stack trace [EMAIL PROTECTED] ~ $ gdb /bin/kill GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i686-pc-cygwin...(no debugging symbols found)... (gdb) run -l Starting program: /usr/bin/kill.exe -l Program received signal SIGSEGV, Segmentation fault. 0x610cdb11 in strlen () from /usr/bin/cygwin1.dll (gdb) bt #0 0x610cdb11 in strlen () from /usr/bin/cygwin1.dll #1 0x610d18fc in wmemset () from /usr/bin/cygwin1.dll #2 0x610d1014 in wmemset () from /usr/bin/cygwin1.dll #3 0x610de407 in wmemset () from /usr/bin/cygwin1.dll #4 0x610882af in cygwin1!aclcheck () from /usr/bin/cygwin1.dll #5 0x00401b5f in ?? () (gdb) [EMAIL PROTECTED] ~ $ which kill /usr/bin/kill [EMAIL PROTECTED] ~ $ kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGEMT 8) SIGFPE 9) SIGKILL 10) SIGBUS 11) SIGSEGV 12) SIGSYS 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGURG 17) SIGSTOP 18) SIGTSTP 19) SIGCONT 20) SIGCHLD 21) SIGTTIN 22) SIGTTOU 23) SIGIO 24) SIGXCPU 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGLOST 30) SIGUSR1 31) SIGUSR2 [EMAIL PROTECTED] ~ $ kill -v bash: kill: v: invalid signal specification 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: IPtraf for cygwin?
Thnx Brian for your intelligent answer to my less intelligent question. I think its a common mistake to not understand that cygwin isnt a linux-system. At least I know better now. Sincerly Kristoffer Nordström --- On Thu 05/27, Brian Dessent [EMAIL PROTECTED] wrote: From: Brian Dessent [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 27 May 2004 08:03:25 -0700 Subject: Re: IPtraf for cygwin? Kristoffer wrote:brbr As far as I can conclude the IPTraf package isnt ported to cygwin.brbrCorrect.brbr Therefore ive conclude that i have to port it in the following waybr br using cygbuild.br br 1. unpack the source (is the binary enought) and recompile it.br br 2. Install it in some library.br br 3. Use cygbuild to compress it to a cygwin-package.br br Is this right? Is it possible to use IPtraf on cygwin.br br Im new to cygwin but am deifnatly up for the challenge.br br Comments and answers are much welcome.brbrFrom the README of IPtraf:brbrSYSTEM REQUIREMENTSbr---brbrIPTraf 2 requires Linux 2.2. It now uses the new PF_PACKET socketbrfamilybras its capture mechanism. This feature is new to the 2.2 kernel. brIPTrafbr1.4 will still work with kernel 2.2 with no problems, except for abrwarningbrmessage in the syslog indicating the use of the obsolete (AF_INET,brSOCK_PACKET) mechanism. The warning can be safely ignored. Make surebryoubrhave the Packet Socket driver compiled in or installed as a module, orbrIPTraf will fail (and so will others like it: tcpdump, netwatch, etc).brbrIPTraf also requires glibc 2.1 or later.brbrbrIn other words, forget it. Cygwin is not Linux. It implements a POSIXbrcompatibility layer, which in no way includes emulation of the Linuxbrkernel's internals. Any software that depends on particular features ofbrthe Linux kernel will never be easily ported to Cygwin or just about anybrother POSIX OS for that matter.brbrBrianbrbr--brUnsubscribe info: http://cygwin.com/ml/#unsubscribe-simplebrProblem reports: http://cygwin.com/problems.htmlbrDocumentation: http://cygwin.com/docs.htmlbrFAQ: http://cygwin.com/faq/brbr ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! -- 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: Looking for new apache maintainer
Brian Dessent wrote: Andrew DeFaria wrote: My understanding is that the Cygwin port of Apache 1.x is also significantly slower than the native Apache 1.x but this didn't stop people from wanting a Cygwin version of 1.x. Or is there something in 2.x (this thread MPM thing) that would make a Cygwin port of Apache 2.x much, much slower than the native one? You're correct that 1.x also suffers a performance penalty compared to the native win32 version. However 1.x can only operate in the prefork mode which is not suitable to Windows since process creation is relatively expensive. When you start Apache you can specify how many subprocesses to run. Thus start up can be expensive. And I know that Apache will start new processes if need be - presumably if you have a lot of hits. But for us relatively low hit guys I think we can live with the once in a while [re]startup costs of Apache and the occasional additional sluggishness when Apache needs to allocate another subprocess on those rare times when our site is getting a lot of hits. Thus both versions are pokey. However, with the advent of 2.x the method of allocating workers is modular (the MPM) and so you can choose to have them as threads or as the old prefork style, among others. With threads the performance under Windows is much improved. I suspect (but have not tested) that the Cygwin overhead would be even more apparent in that case, because 2.x has been specifically designed to get good performance under win32 natively, whereas 1.x was never intended for such systems. Would you suspect that you could get Apache 2.x to use threads under Cygwin? As far as I know the popularity of Cygwin Apache is for developing and testing web applications that will eventually reside on unix servers. In that department 1.x is more popular by a huge margin due to its stability, known quirks, and ability to work well with non-thread-safe PHP extensions (as well as general stubbornness of sysadmins who avoid 2.x.) Win 98 is still wildly more popular than NT+ versions. People are slow and reluctant to change. That shouldn't stop progress though IMHO. Thus demand for 1.x/Cygwin should naturally be much higher as well. If you're actually interested in running a server then the native version is probably better. 'Cept for ease of configuration (OK, it's not that more difficult in the native version) and the part I like, the ability to symlink things which the native version lacks. I had run my site on XP using Cygwin and Apache. For a while I ran the native version. Then switched to the Cygwin version, then eventually to the native version to use 2.x. Then I got a Linux box and stuck a 200 Gig drive in it. The pull of having that much web space available and reliability of Linux and my just feeling more comfortable with the Unix/Linux environment made it a natural decision to migrate to Linux and use Apache 2.x there so that's what I have now. And with it I've been able to configure mod_php (and prefer that environment my web development) and even WebDAV which I use in conjunction with Mozilla's remote calenders as well as use some Linux/PHP style web apps like Gallery and MovableType effortlessly. But often, at work, the client has only Windows boxes. The ability to install Cygwin and get Apache running on Cygwin allows me to quickly develop useful web apps and other things for the client, often amazing them that their Windows boxes can do such things! Hence my interest in getting Apache and mod_php working under Cygwin again and having a 2.x environment would be best as it closely emulates my home environment where I often work out ideas, etc. Alas my current client has become pigheaded and has disallowed the usage of unauthorized software such as Cygwin so currently I'm stuck. But I'm hoping that will change. BTW: Thanks for volunteering for this. Does this mean that a Cygwin version of mod_php would be working again? Yes, I intend to do that. Cool! -- I wrote a song, but I can't read music. Every time I hear a new song on the radio I think Hey, maybe I wrote that. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Seqfault doing kill -l
On Thu, 27 May 2004, Robert McGovern wrote: Hi, Couldn't find a mention of this in the Cygwin mailing list archives and thought I'd ask about it. I was trying to get the list of siginals that cygwins kill (/bin/kill) takes using the kill -l command (and --list). Unfortuantly it causes it to segfault as you can see from the following output, thought the other kill in /usr/bin/kill works okay. Is this a known issue? Confirmed. This just got fixed in CVS by Christopher Faylor, BTW: http://cygwin.com/ml/cygwin-cvs/2004-q2/msg00210.html. [EMAIL PROTECTED] ~ $ /bin/kill --list Segmentation fault (core dumped) [EMAIL PROTECTED] ~ $ /bin/kill --version kill (cygwin) 1.14 Process Signaller Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. Compiled on Mar 18 2004 I have captured a stack trace [snip] FYI, the stack trace is worthless, as it's on an optimized non-debug version of cygwin1.dll. [EMAIL PROTECTED] ~ $ which kill /usr/bin/kill You should have used type kill, which would have shown you that kill is a shell builtin. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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: [ANNOUNCEMENT] Updated: cygwin-1.5.10-2
Good work, But still have race problems with multi-cpu engine. Run my run_t.sh, which runs 5 t.sh. And see if the 5 output log (t_1.log, t_2.log, ...) still grows. After a short period of time ( 10 sec) one or more process sleeps. Another point, with one-cpu engine, if I'm typing CTRL-C then running run_t.sh, I've receive sometimes ( 1/2) two different errors : 1. One or more : C:\cygwin\usr\local\bin\bash.exe (1348): *** fork: can't reserve memory for stack 0x3 - 0x23, Win32 error 487 2. One or more : See GPF.png (bug in basename maybe) Yes I known, you don't have multi-cpu engine ! But for all, keep in mind that *cygwin don't like multi-cpu engine* ! Have a nice day, Philippe. Christopher Faylor wrote: On Tue, May 25, 2004 at 04:09:23PM -0400, Christopher Faylor wrote: On Tue, May 25, 2004 at 11:37:55AM -0400, Christopher Faylor wrote: I've made a new version of the Cygwin DLL and associated utilities available for download. As usual, a list of what has changed is below. I somehow managed not to test the version of cygwin that I uploaded to sourceware.org and screwed up some things which made cygwin applications fail to start at all. That's the bad news. The good news is that, since I didn't update things such that setup.exe would grab the latest version of cygwin, 1.5.10 was not actually available to anyone. So, I'm taking the unusual precedent of rolling a cygwin-1.5.10-2. So, if you are a brave soul who installs packages without the benefit of setup.exe hold off installing cygwin 1.5.10-1 until you see a new announcement. Otherwise, just wait and I'll have things sorted out in a couple of hours. There is a new version of cygwin wending its way through the mirrors now. When you run setup, if you see 1.5.10-2 being selected everything should work fine. cgf Cygwin Configuration Diagnostics Current System Time: Wed May 26 10:50:51 2004 Windows .NET Server Ver 5.2 Build 3790 Path: .\ C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin C:\cygwin\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Util c:\Program Files\Microsoft SQL Server\80\Tools\BINN C:\cygwin\usr\sbin Output from C:\cygwin\bin\id.exe (nontsec) UID: 19675(Jleinfo) GID: 545(Users) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 19675(Jleinfo) GID: 545(Users) 544(Administrators) 545(Users) 14620(ASAP_Guest) 15319(ASAP_Team_MERCATOR) 10513(Domain Users) 11570(GL_Admin) 12794(GL_Bo_Master-Users) 12346(GL_InfoDoc)11718(GL_Informat) 11717(GL_ProgLoCo) 12671(GL_Proj-Info) 12668(GL_Proj-Info(ProCoL)) 12883(GL_Proj-info(TMAcli)) 12656(GL_RefProgLoco-R) 11742(GL_TimeAs) 11575(GL_Users) 12724(Outlook) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS CYGWIN = `smbntsec codepage:ansi' HOME = `C:\cygwin\home\jleinfo' MAKE_MODE = `unix' PWD = `/home/jleinfo/tmp' USER = `Jleinfo' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\jleinfo\Application Data' CLIENTNAME = `JLE2' CLUSTERLOG = `C:\WINDOWS\Cluster\cluster.log' COLUMNS = `110' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `LSPROLOG01' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVSROOT = `:ext:[EMAIL PROTECTED]:/jle' CVS_RSH = `ssh' DISPLAY = `:0.0' EDITOR = `vim' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\jleinfo' HOSTNAME = `lsprolog01' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:' LANG = `EN' LINES = `48' LOGONSERVER = `\\LSDC02' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man' NUMBER_OF_PROCESSORS = `4' OLDPWD = `/home/jleinfo' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0703' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `RDP-Tcp#1' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `C:\DOCUME~1\jleinfo\LOCALS~1\Temp\1' TERM = `cygwin' TMP = `C:\DOCUME~1\jleinfo\LOCALS~1\Temp\1' USERDNSDOMAIN = `EDIPRESSE.NET' USERDOMAIN = `EDI1' USERNAME = `jleinfo' USERPROFILE = `C:\Documents and Settings\jleinfo' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022
Re: gcc inst hosed after upgrading to cygwin 1.5.10x
On Thu, 27 May 2004, Hans Horn wrote: Folks, after I had an upgrade orgy to cygwin 1.5.10.x, my gcc installation got hosed. in particular: gcc: installation problem, cannot exec `cc1plus': No such file or directory completely uninstalling and then re-installing all gcc related stuff doesn't help! Any clues / advice? Just one: Problem reports: http://cygwin.com/problems.html -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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: redirection can create nul files - Was: rm hangs on illegal filename nul
Hi Igor, A couple more datapoints: - You can also create nul by touch nul. - You can use forward slashes, so rm //./c:/somedir/nul works. - For me (on Win2k SP3), rm nul doesn't hang, but doesn't do anything either. Here neither, but rm -rf somedir hangs. Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: Seqfault doing kill -l
On Thu, May 27, 2004 at 04:02:21PM +0100, Robert McGovern wrote: [EMAIL PROTECTED] ~ $ /bin/kill --list Segmentation fault (core dumped) This should be fixed in the current snapshot. 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: [ANNOUNCEMENT] Updated: cygwin-1.5.10-2
On Thu, 27 May 2004, philippe.torche(no_spam) wrote: 1. One or more : C:\cygwin\usr\local\bin\bash.exe (1348): *** fork: can't reserve memory for stack 0x3 - 0x23, Win32 error 487 http://sources.redhat.com/ml/cygwin/2004-05/msg00601.html -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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: Seqfault doing kill -l
Thanks for that Igor Christopher, Regarding using type rather than which. I actually hadn't realised there was a command called type in the shell. I obviously haven't used bash enough. Rob (apologies for top posting, I use Novell GroupWise and it only does replies this way) [EMAIL PROTECTED] 05/27/04 04:36pm On Thu, 27 May 2004, Robert McGovern wrote: Hi, Couldn't find a mention of this in the Cygwin mailing list archives and thought I'd ask about it. I was trying to get the list of siginals that cygwins kill (/bin/kill) takes using the kill -l command (and --list). Unfortuantly it causes it to segfault as you can see from the following output, thought the other kill in /usr/bin/kill works okay. Is this a known issue? Confirmed. This just got fixed in CVS by Christopher Faylor, BTW: http://cygwin.com/ml/cygwin-cvs/2004-q2/msg00210.html. snip -- 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: [ANNOUNCEMENT] Updated: cygwin-1.5.10-2
On Thu, May 27, 2004 at 05:22:16PM +0200, philippe.torche(no_spam) wrote: Good work, But still have race problems with multi-cpu engine. Um. That's interesting, I guess. I don't have a vast database of everyone's problems in my head, so your still doesn't mean much to me. I've gone back in the archives and refreshed my memory. AFAICT, you last reported a problem with Cygwin 1.5.6. Yes I known, you don't have multi-cpu engine ! But for all, keep in mind that *cygwin don't like multi-cpu engine* ! Yes, I do have a multi-cpu system. But, keep in mind that this is a hobby for me and it is open source. You could, if you wished take some of your own time and do more than contribute complaints! -- 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: Looking for new apache maintainer
Andrew DeFaria wrote: When you start Apache you can specify how many subprocesses to run. Thus start up can be expensive. And I know that Apache will start new processes if need be - presumably if you have a lot of hits. But for us relatively low hit guys I think we can live with the once in a while [re]startup costs of Apache and the occasional additional sluggishness when Apache needs to allocate another subprocess on those rare times when our site is getting a lot of hits. There's also the issue of switching context between processes vs. threads. On a heavily loaded server the thread model should be much more efficient under Windows. However as you point out on a lightly loaded server it's all academic as the difference would be nearly undetectable. Would you suspect that you could get Apache 2.x to use threads under Cygwin? Yes, but I have not tried. I had run my site on XP using Cygwin and Apache. For a while I ran the native version. Then switched to the Cygwin version, then eventually to ... pigheaded and has disallowed the usage of unauthorized software such as Cygwin so currently I'm stuck. But I'm hoping that will change. Okay, I'll take that as an enthusiastic request for an apache2 package. Brian -- 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: redirection can create nul files - Was: rm hangs on illegal filename nul
On Thu, May 27, 2004 at 11:39:22AM -0400, Volker Quetschke wrote: Igor wrote: A couple more datapoints: - You can also create nul by touch nul. - You can use forward slashes, so rm //./c:/somedir/nul works. - For me (on Win2k SP3), rm nul doesn't hang, but doesn't do anything either. Here neither, but rm -rf somedir hangs. Hasn't that point been made several times? Are we starting an email loop now to correspond to the hang? -- 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: Looking for new apache maintainer
On Thu, May 27, 2004 at 08:55:02AM -0700, Brian Dessent wrote: Okay, I'll take that as an enthusiastic request for an apache2 package. FWIW: Me too! I think an apache2 package would be a very useful addition. 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: redirection can create nul files - Was: rm hangs on illegal filename nul
On Thu, 27 May 2004, Christopher Faylor wrote: On Thu, May 27, 2004 at 11:39:22AM -0400, Volker Quetschke wrote: Igor wrote: A couple more datapoints: - You can also create nul by touch nul. - You can use forward slashes, so rm //./c:/somedir/nul works. - For me (on Win2k SP3), rm nul doesn't hang, but doesn't do anything either. Here neither, but rm -rf somedir hangs. Hasn't that point been made several times? Are we starting an email loop now to correspond to the hang? My bad. I misread the original message. The first two points, however, still remain relevant. 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! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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: Looking for new apache maintainer
On Thu, 27 May 2004, Christopher Faylor wrote: On Thu, May 27, 2004 at 08:55:02AM -0700, Brian Dessent wrote: Okay, I'll take that as an enthusiastic request for an apache2 package. FWIW: Me too! I think an apache2 package would be a very useful addition. cgf Ditto. Perhaps this should be moved to cygwin-apps (which Brian, as all other maintainers, will have to subscribe to anyway), but one more point while we're on the subject of Apache: maybe it's time to revisit the apache postinstall procedure (both the rebase issue and the /var/www one). FWIW, one idea on the latter is splitting out the documents into a separate package (apache-docs?), installing over the manual, and using postinstall to set up the index.html.* files if they aren't present. This way, cygcheck -c won't be confused by the apache packages anymore. I can elaborate if there's interest. 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! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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: Looking for new apache maintainer
On Thu, May 27, 2004 at 12:09:29PM -0400, Igor Pechtchanski wrote: On Thu, 27 May 2004, Christopher Faylor wrote: On Thu, May 27, 2004 at 08:55:02AM -0700, Brian Dessent wrote: Okay, I'll take that as an enthusiastic request for an apache2 package. FWIW: Me too! I think an apache2 package would be a very useful addition. Ditto. Perhaps this should be moved to cygwin-apps (which Brian, as all other maintainers, will have to subscribe to anyway), but one more point while we're on the subject of Apache: maybe it's time to revisit the apache postinstall procedure (both the rebase issue and the /var/www one). FWIW, one idea on the latter is splitting out the documents into a separate package (apache-docs?), installing over the manual, and using postinstall to set up the index.html.* files if they aren't present. This way, cygcheck -c won't be confused by the apache packages anymore. I can elaborate if there's interest. One again, my assumptions catch up with me. I was assuming that a new package maintainer would be rethinking the packaging scheme. Certainly the current scheme could use some improvement. But, yes, if we are going to be discusing this, then we should move to cygwin-apps. 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: Seqfault doing kill -l
-Original Message- From: cygwin-owner On Behalf Of Robert McGovern Sent: 27 May 2004 16:54 Thanks for that Igor Christopher, Regarding using type rather than which. I actually hadn't realised there was a command called type in the shell. I obviously haven't used bash enough. Rob (apologies for top posting, I use Novell GroupWise and it only does replies this way) Are you really claiming that it won't let you move the cursor to after the quoted text and type new text? Nor would it let you copy and paste the quoted text from the top of the message to the bottom? Yet it does let you edit the quoted text enough to delete some and replace it with the word snip, as you did in that post? That seems rather strange to me. [EMAIL PROTECTED] THAT'S BAD!] Please, please, read http://cygwin.com/acronyms/#PCYMTNQREAIYR cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ssh
At 12:52 PM 5/26/2004, you wrote: Hi I have cygwin ssh server running on a windows 2000 server. And for some reason all of a sudden when users upload a file to a certain account the everyone group gets no permissions by default. Any ideas? Before the everyone group would get the read permission. Before what? -- 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: Looking for new apache maintainer
Igor Pechtchanski wrote: Perhaps this should be moved to cygwin-apps (which Brian, as all other Been subscribed for some time now, and redirecting... maintainers, will have to subscribe to anyway), but one more point while we're on the subject of Apache: maybe it's time to revisit the apache postinstall procedure (both the rebase issue and the /var/www one). FWIW, one idea on the latter is splitting out the documents into a separate package (apache-docs?), installing over the manual, and using postinstall to set up the index.html.* files if they aren't present. This way, cygcheck -c won't be confused by the apache packages anymore. I can elaborate if there's interest. Yes, I'd planned to redo all that. The manual will go into /usr/share/doc/apache so that it can be sanely upgraded, instead of in the docroot next to the user's stuff. Also use a postinstall to copy over sample config if not exists, instead of this /etc/apache.new business. The other thing that needs attention is this libphp4.dll and rebasing. It's really ugly currently: the dll is included in the package as /usr/lib/apache/new/libphp4.dll and copied over manually by apxs in the postinstall, which also tries to rebase. Both will fail if there's an existing (in-use) dll, and it also means the package manifest is wrong, causing cygcheck to always report a broken package. What I'd really like to do is let setup.exe deal with replacing the dll if it's in use, and relocate libphp4.dll before packaging to work with the default set of libs so no rebase is necessary. Then it's just a matter of adding the LoadModule lines to httpd.conf in postinstall if they're not there already. Brian -- 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: problem with ssh-user-config on Win XP
Dave Korn schrieb: Sorry guys, I did not know this was a CYGWIN newsgroup for experts... Could you tell me where is the CYGWIN newsgroup for dummies ?!?! This is a mailinglist and no newsgroup. Dummy questions which bear the answer in the question itself are flamed in dummy newsgroups also. That wasn't meant to be any kind of a flame and I don't know why you thought it was; I was just mentioning that the exact same thing had just come up in another context in a oh-look-isn't-that-funny way. I gave you a perfectly straight answer to a straight question. Has was certainly trampling on my cgf-style answer. -- 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: g++ linking
At 05:57 AM 5/27/2004, you wrote: Hi, I am not able to link one of my program using g++, so looking forward for some help. I am having a library(util.lib) and dll(util.dll) file. I am trying to link my program to the dll and getting undefined reference error where as the same thing works if I try in linux environment. I think you're implying something about your Linux environment here but I'm not sure. Certainly as stated and making no assumptions, you can't link your program with a DLL on Linux. I point this out just so you recognize that your statement is unclear and that it colors my response. when I try to list the symbols from the dll it returns nothing. When I try to list the symbos from the library file it returns the symbol for the function I am looking for. And the library is what? An import library? A static library? Where do the DLL and LIB come from? How were they built? Perhaps you need to provide the actual sequence of steps you're taking and the results you get. I want to know is there any way I can use g++ to link using the library file rather than the dll I rememeber in Microsoft Visual c++ we specifiy library file rather than dll). And this doesn't work for you with g++ because? I went through the mailing list Good to hear! and could not found any relevant requirement. Unfortunately, everything there is not gold. And sometimes the gold is hidden. -- 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/
cygwin and scsi tape drive.
Dear List: I've been trying to get my SCSI tape drive to work under Windows/XP Home Edition and CYGWIN and having absolutely no luck. My tape drive is recognized as an other device so Windows is clearly aware of it. I have CYGWIN Version 1.5.10.3 (which should be the latest) and MT package Version 2.3. When I do a mount command, I get: bash: /etc/profile: line 185: syntax error: unexpected end of file bash-2.05b$ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) \\.\tape0 on /dev/st0 type system (binmode) \\.\tape0 on /dev/st1 type system (binmode) \.tape0 on /dev/tape type system (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) bash-2.05b$ Which looks right to me, and when I try various flavors of mt, I get: bash-2.05b$ mt -V mt V2.3, Corinna Vinschen, Apr 19 2004 bash-2.05b$ mt -f /dev/st0 status mt: /dev/st0: No such file or directory bash-2.05b$ I am able to umount the drive, but when I try to mount it again, I get: bash-2.05b$ mount \\.\tape0 /dev/st0 mount: warning - /dev/st0 does not exist. bash-2.05b$ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) \\.\tape0 on /dev/st1 type system (binmode) \.tape0 on /dev/tape type system (binmode) \.tape0 on /dev/st0 type system (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) Any and all help would be appreciated. The tape drive does work fine under Linux on the same PC, so I know it's not a connectivity issue. Thanks in advance, Marc Schare -- 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: Looking for new apache maintainer
Brian Dessent wrote: Andrew DeFaria wrote: Would you suspect that you could get Apache 2.x to use threads under Cygwin? Yes, but I have not tried. Not without some debugging work. I compiled 2.0.49 with worker MPM (i.e. threads), but lots of requests failed to be handled. 2.0.49 with prefork MPM works fine, though. I haven't dug any deeper into the problem. 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: GCC 3.3.1 problem with printf %Lg %Lg and -m128bit-long-double compile option
Hallo mathias, GCC 3.3.1 has a problem when printing multiple long double variables using printf and the -m128bit-long-double compile option on a Pentium-based machine. Seems to be a bug in gcc, for bug reporting instructions, please see: http://gcc.gnu.org/bugs.html. compile the code below with gcc -m128bit-long-double test.c and with gcc test.c The later will print stuff correctly in both printf statements, whereas the former will print fine only as long as the printf statement contains a single long double variable only, but will issue garbage when printing more than one long double variable in the same printf statement. #include stdlib.h #include stdio.h #include string.h #include math.h int main( int argc, char *argv[] ) { long double first_long_double_variable = 5.6; long double second_long_double_variable = 9.3; printf (here comes a long double %Lg\n, first_long_double_variable); printf (here come TWO long doubles %Lg %Lg\n, first_long_double_variable, second_long_double_variable); } Installation Info as copied from cygcheck.out: Please don't send cygcheck output inline an email, send it as attachment. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
dll version collision
Hi, Is it possible to recompile a subset of the cygwin binaries to depend on cygwin1.dll renamed to something like build_cygwin1.dll? How would I go about doing this? The reason that I want to do this is because the developers at our site use the cygwin console for development, and our build process depends on certain cygwin files. I would like to be able to keep all the cygwin stuff that the build needs in our repository so that all developers will have a consistent environment, but I obviously can't have multiple versions of cygwin1.dll on a machine. My thought was to recompile the tools needed by the build process linked to build_cygwin1.dll. OS X: because it was easier to make UNIX user-friendly than to fix Windows -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin and scsi tape drive.
Have you read http://cygwin.com/cygwin-ug-net/using-specialnames.html? Particularly the part about Note that you can't use the mount table to map from fixed device name to your own device name. -- 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: dll version collision
Hello, Michael! On Thu, May 27, 2004 at 04:53:17PM -0400, Michael Hale wrote: Is it possible to recompile a subset of the cygwin binaries to depend on cygwin1.dll renamed to something like build_cygwin1.dll? How would I go about doing this? This is a quite often-discussed topic, but there is not much info in the archives. All I could understand is: * It isn't possible with the current cygwin. * One needs at least to rename the library and use different registry entries and shared memory areas in different versions; perhaps something else. * Max Bowsher has a working version, albeit of an older cygwin. He wanted to patch the latest version himself, but I'm eager to see even the old patch, it would be a great starting point without duplicating the effort. Max, ple-e-ase :) ? I'm also interested in this kind of setup, but unfortunately, I haven't got much time for this. If you are going to work on this, I could also contribute some bits. With kind regards, Baurjan. -- 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: GCC 3.3.1 problem with printf %Lg %Lg and -m128bit-long-double compile option
On Thu, 27 May 2004, Gerrit P. Haase wrote: Hallo mathias, GCC 3.3.1 has a problem when printing multiple long double variables using printf and the -m128bit-long-double compile option on a Pentium-based machine. Seems to be a bug in gcc, for bug reporting instructions, please see: http://gcc.gnu.org/bugs.html. No disrespect intended Mr. GCC maintainer, but I'm pretty sure that is expected behavior. See info gcc in the -m128bit-long-double section: *Warning:* if you override the default value for your target ABI, the structures and arrays containing `long double' will change their size as well as function calling convention for function taking `long double' will be modified. Hence they will not be binary compatible with arrays or structures in code compiled without that switch. Cygwin/newlib would need to be recompiled with this switch for proper printf operation. Why are you trying to use this switch, Mathias? -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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-shell:commands are not working
On Thu, 27 May 2004, kirat shah wrote: Some serious problem is going on here, in my C-shell application all things are fine Great, no problem! Then why are you posting again? previously i can use all commands like ls , gv .. all. But suddenly i am not able to do that. Ah yes. What does that mean? What should i have to do to solve this, plese help me. Start here: http://cygwin.com/lists.html to find out which list is the correct one to address your problem. This is the Cygwin/X list. Since your problem is not Cygwin/X related, it is off topic for this list. As such, I have redirected further replies to the correct list cygwin at cygwin dot com (the main Cygwin list). But, before you post there, please read: http://cygwin.com/problems.html It will tell you how to properly format a problem report so that we don't have to use our psychic abilities and guess what's wrong. It will also inform you about the required attachment that tells us about your particular installation. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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: dll version collision
On Thu, 27 May 2004, Baurjan Ismagulov wrote: Hello, Michael! On Thu, May 27, 2004 at 04:53:17PM -0400, Michael Hale wrote: Is it possible to recompile a subset of the cygwin binaries to depend on cygwin1.dll renamed to something like build_cygwin1.dll? How would I go about doing this? Some comments: This is a quite often-discussed topic, but there is not much info in the archives. All I could understand is: * It isn't possible with the current cygwin. It is possible, but non-trivial. Take a look at how the Cygwin testsuite runs. However, you shouldn't do this unless you know exactly what you're doing. * One needs at least to rename the library and use different registry entries and shared memory areas in different versions; perhaps something else. That's pretty much it, IIRC. You can even share the mounts/registry entries. * Max Bowsher has a working version, albeit of an older cygwin. He wanted to patch the latest version himself, but I'm eager to see even the old patch, it would be a great starting point without duplicating the effort. Max, ple-e-ase :) ? One way to have Cygwin automatically modify the shared memory area name is to compile it with debugging (by passing the --enable-debugging flag to configure). The trick here is that once you have such a cygwin1.dll, you'll have to spawn the process that uses it via Windows mechanisms, rather than Cygwin's own fork. Again, take a look at the testsuite scripts, in particular the cygrun.c file, or just run it from a shortcut or the cmd console. I'm also interested in this kind of setup, but unfortunately, I haven't got much time for this. If you are going to work on this, I could also contribute some bits. With kind regards, Baurjan. I repeat: you really should know what you're doing before you attempt this. I can't emphasize this enough. But it *is* possible. To the OP: why not simply have an internal Cygwin mirror and make sure everyone has the same version of Cygwin on their machine? 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! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- 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: gcc inst hosed after upgrading to cygwin 1.5.10x
Quoting: One of the cygwin mailing lists is absolutely the proper place for reporting problems. The mailing lists were created for this express purpose. So, your point was? L Brian Ford wrote: On Thu, 27 May 2004, Hans Horn wrote: Folks, after I had an upgrade orgy to cygwin 1.5.10.x, my gcc installation got hosed. in particular: gcc: installation problem, cannot exec `cc1plus': No such file or directory completely uninstalling and then re-installing all gcc related stuff doesn't help! Any clues / advice? Just one: Problem reports: http://cygwin.com/problems.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
ssh hangs window application starting up
If I have a ssh connection from a cygwin session to another machine, applications that should startup in windows by double clicking for a filename in explorer hang until the ssh connection. Once the ssh connection is closed, the application starts right away. Not all application are blocked. Is this a known problems? Mark Jackson Pulver -- 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: gcc inst hosed after upgrading to cygwin 1.5.10x
The point was... Second paragraph on that page: Eric S. Raymond has written a wonderful article on how to write smart http://www.catb.org/~esr/faqs/smart-questions.html questions. If you adhere to his guidelines, you'll have a very good chance of getting a high-quality response to your problem. and the entire section under Reporting guidelines Reporting guidelines # Use a subject line that describes the issue well: Good examples: 1.1.8: select bug (NT and 95) 1.1.6: problem building perl 1.1.8: question about catting binary files in bash Bad examples: question? bug porting problem help bash question newbie needs help Question for Jane Simmons make gcc grep (basically any single word subject) This also applies to general discussion. It's very hard to follow the list when most of the subject lines look very similar. # Try to confine your email to one problem per message. Do not reuse previous subjects to report unrelated problems. # Reply to the email in the thread that you started rather than creating a new message for each reply. If you just send a new message every time you want to offer something about your problem, you will confuse people who want to help but are expecting the discussion to occur in the thread that you created. # In your (detailed) description, show how to reproduce the problem. This means including a test case if at all possible. # At the very least, always include which cygwin release you are using and give the operating system and its version number. E.g. cygwin v1.3.33 under NT 4.0. # Run cygcheck -s -v -r cygcheck.out and include that file as an attachment in your report. Please do not compress the output. Just attach it as a straight text file so that it can be easily viewed. # Avoid the use of exclamation marks or multiple question marks. They add nothing to the report and provide the impression that you are too excited to think calmly about the problem. # Avoid personal details about why you need the problem rectified, how important it is for you to have it fixed, or how long you've worked on the problem. People will be more likely to look at your email if it is cut and dry, to the point, and uses a minimum of extra words. # Do not assume that your problem is so trivial or so well known that it does not require any details or background from you. Many (most?) people who report problems fall into the trap of assuming that people are clued into their mental state when, in most cases, this is not the case. As a rule of thumb, if you find yourself referring to your problem as the problem with XYZ rather than a problem with XYZ then your message is suspect. Using the in this context means that you are assuming that your problem is well known. Unless you can point to an email message thread or FAQ entry (either of which is a good idea, btw) please do not assume that the readers of your message will be familiar with your problem. # Avoid expressions of incredulity I can't believe that this is so broken! or other editorializing. This should go without saying, really, but, sadly, many people can't stop themselves from expressing their outrage. # Reporting that your problem works fine on some other UNIX platform or used to work ok in a previous Cygwin release is marginally useful data. However, this does not guarantee that you've uncovered a Cygwin problem. Cygwin can change its behavior between releases, sometimes to fix an operational problem and sometimes, well... because we've introduced a bug. With regard to differing behavior from some flavor of UNIX: UNIXes vary in their behavior and Cygwin is basically a different flavor of UNIX. This is particularly true of programs which rely on specific malloc behavior, like being able to free a pointer twice or being able to access memory after freeing. Another common problem is attempting to modify the contents of a C string. On Cygwin (and many UNIXes) strings are stored in read-only memory. So, it is not possible to modify them. You can change this behavior with the gcc option -fwritable-strings but we suggest that it is better to change your program. Note that, It worked in a previous version of cygwin observations are only relevant for modern versions of cygwin. The B series versions of Cygwin (B17, B18, B19, B20) are not modern versions. Save your fingers and don't even bother with comments about your experiences with these versions. Many people seem to latch onto the fact that their issues do not seem to occur in other versions of UNIX or Cygwin and mention this in all followup email when people attempt to help them with the problem. However, this information is usually only useful in the first message and does not usually bear repeating. # Keep in mind that there are over 1500 people on the mailing list. Try
Re: ssh hangs window application starting up
At 07:34 PM 5/27/2004, you wrote: If I have a ssh connection from a cygwin session to another machine, applications that should startup in windows by double clicking for a filename in explorer hang until the ssh connection. Once the ssh connection is closed, the application starts right away. Not all application are blocked. Is this a known problems? No. See: Problem reports: 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/
ssmtp fail with cygwin-1.5.10-3 ?
Hi list, After updating to cygwin-1.5.10-3, ssmtp package seems to fail for reasons beyond my understaing. I get follwoing error two event messages, in a row, in Window's event-log. sSMTP : PID 391 : Unable to locate xxx.xx.kgt.co.jp. sSMTP : PID 391 : Cannot open xxx.xx.kgt.co.jp:25. By downgrading back to cygwin-1.5.9-1, things seems to come back to normal. Everything else seems be just fine with both 1.5.10-3 and 1.5.9-1. FYI, uname output are: CYGWIN_NT-4.0 wbbrown 1.5.9(0.112/4/2) 2004-03-18 23:05 i686 unknown unknown Cygwin Anything else to try? Thanks in advance, Haro =--- _ _Munehiro (haro) Matsuda -|- /_\ |_|_| Kubota Graphics Technology Inc. /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 Email: [EMAIL PROTECTED] -- 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/
convert windows path to cygwin path in emacs
I've found that I can drag and drop files onto a shortcut to emacsclient and the file will open in emacs - well sort of... Actually, it gives me a new buffer named the windows pathname. For instance, if I drag c:\path\file.txt onto my shortcut, I get a new buffer named c:\path\file.txt. It would seem like an easy task to add a hook for opening a file that would look for filenames of this form and convert them to /cygdrive/c/path/file.txt. However, I'm not a lisp programmer and don't know where to start. Has anyone done this already? Any pointers? Thanks, Arthur -- 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: convert windows path to cygwin path in emacs
Hi, There is emacs-lisp file called 'cygwin-mount.el' on the net. I use it with my Meadow (emacs20 + Mule for Win32) and works pretty well. Hope this helps, Haro =--- _ _Munehiro (haro) Matsuda -|- /_\ |_|_| Kubota Graphics Technology Inc. /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 From: Arthur Davis [EMAIL PROTECTED] Date: Thu, 27 May 2004 22:15:10 -0400 ::I've found that I can drag and drop files onto a shortcut to emacsclient and ::the file will open in emacs - well sort of... Actually, it gives me a new ::buffer named the windows pathname. For instance, if I drag c:\path\file.txt ::onto my shortcut, I get a new buffer named c:\path\file.txt. It would seem ::like an easy task to add a hook for opening a file that would look for ::filenames of this form and convert them to /cygdrive/c/path/file.txt. ::However, I'm not a lisp programmer and don't know where to start. Has ::anyone done this already? Any pointers? :: ::Thanks, ::Arthur :: :: ::-- ::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: convert windows path to cygwin path in emacs
Oops, sorry. I've read your message, the-other-way-around. cygwin-mount.el converts, '/cygdrive/c/some/where' into 'c:/some/where'. # it may give you a hint on how to program it your self... ;-) Sorry again, Haro From: [EMAIL PROTECTED] Date: Fri, 28 May 2004 12:25:54 +0900 (JST) ::Hi, :: ::There is emacs-lisp file called 'cygwin-mount.el' on the net. ::I use it with my Meadow (emacs20 + Mule for Win32) and works ::pretty well. :: ::Hope this helps, :: Haro ::=--- :: _ _Munehiro (haro) Matsuda :: -|- /_\ |_|_| Kubota Graphics Technology Inc. :: /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan :: Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 :: :: ::From: Arthur Davis [EMAIL PROTECTED] ::Date: Thu, 27 May 2004 22:15:10 -0400 I've found that I can drag and drop files onto a shortcut to emacsclient and the file will open in emacs - well sort of... Actually, it gives me a new buffer named the windows pathname. For instance, if I drag c:\path\file.txt onto my shortcut, I get a new buffer named c:\path\file.txt. It would seem like an easy task to add a hook for opening a file that would look for filenames of this form and convert them to /cygdrive/c/path/file.txt. However, I'm not a lisp programmer and don't know where to start. Has anyone done this already? Any pointers? Thanks, Arthur -- 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/