still broken squid
Hello, it appears that the broken squid problem still persists (running the latest snapshot 11/11/2003 dll) -rwx--+ 1 jakezNone 1081698 Nov 16 03:23 /bin/cygwin1.dll* -rwxr-x---+ 1 jakezUsers 482816 Jul 16 2002 /bin/squid.exe* % squid -d 9 -N FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files Squid Cache (Version 2.4.STABLE7): Terminated abnormally. CPU Usage: 0.110 seconds = 0.020 user + 0.090 sys Maximum Resident Size: 13008 KB Page faults with physical i/o: 813 Aborted (core dumped) core file size(blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited open files(-n) 3000 pipe size (512 bytes, -p) 8 stack size(kbytes, -s) 2047 cpu time (seconds, -t) unlimited max user processes(-u) 63 virtual memory(kbytes, -v) 2097152 -- Forwarded message -- Date: Thu, 18 Sep 2003 16:10:06 -0400 (EDT) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: broken squid Just ran and update of my cygwin tree, it appears that squid has stopped working. note that i have already upped my file descriptor limit. thanks. jake 499 wdoz[~] uname -a CYGWIN_NT-5.1 sundowner 1.5.4(0.94/3/2) 2003-09-12 23:08 i686 unknown unknown Cygwin 500 wdoz[~] squid -v Squid Cache: Version 2.4.STABLE7 501 wdoz[~] ulimit -a core file size(blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited open files(-n) 3000 pipe size (512 bytes, -p) 8 stack size(kbytes, -s) 2047 cpu time (seconds, -t) unlimited max user processes(-u) 63 virtual memory(kbytes, -v) 2097152 2003/09/17 16:45:04| parse_line: ident_lookup_access deny all 2003/09/17 16:45:04| aclParseAccessLine: looking for ACL name 'all' 2003/09/17 16:45:04| cbdataAdd: 0xa042d98 2003/09/17 16:45:04| parse_line: dns_testnames netscape.com internic.net nlanr.net microsoft.com 2003/09/17 16:45:04| getMyHostname: resolved 127.0.0.1 to 'localhost' 2003/09/17 16:45:04| cachemgrRegister: registered config FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files Squid Cache (Version 2.4.STABLE7): Terminated abnormally. CPU Usage: 0.040 seconds = 0.010 user + 0.030 sys Maximum Resident Size: 11648 KB Page faults with physical i/o: 728 2003/09/17 16:45:04| Not currently OK to rewrite swap log. 2003/09/17 16:45:04| storeDirWriteCleanLogs: Operation aborted. Aborted (core dumped)
Re: still broken squid
On Mon, 2003-11-17 at 18:39, [EMAIL PROTECTED] wrote: Hello, it appears that the broken squid problem still persists (running the latest snapshot 11/11/2003 dll) Yep. It's on my TODO. Don't ask how long that is :}. Rob -- GPG key available at: http://www.robertcollins.net/keys.txt. signature.asc Description: This is a digitally signed message part
Re: Pending Packages List, 2003-11-14
Daniel == Daniel Reed [EMAIL PROTECTED] writes: Daniel Package: otcl 1.0.13-1 Daniel Description: OTcl, short for MIT Object Tcl. (main package) DanielProposer: Harold L Hunt II DanielProposal: mailto:[EMAIL PROTECTED] Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/otcl-1.0.13-1.tar.bz2 Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/otcl-1.0.13-1-src.tar.bz2 Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/setup.hint DanielAlso: libotcl0 [OTcl, short for MIT Object Tcl. (runtime)] Daniel http://www.msu.edu/~huntharo/cygwin/otcl/libotcl0/libotcl0-1.0.9-1.tar.bz2 Daniel http://www.msu.edu/~huntharo/cygwin/otcl/libotcl0/setup.hint DanielAlso: libotcl-devel [OTcl, short for MIT Object Tcl. (development)] Daniel http://www.msu.edu/~huntharo/cygwin/otcl/libotcl-devel/libotcl-devel-1.0.9-1.tar.bz2 Daniel http://www.msu.edu/~huntharo/cygwin/otcl/libotcl-devel/setup.hint Daniel Status: Vote-exempt. Package available. DanielHOLD-UPS: No good to go review. Builds and installs fine. test.tcl passes all tests. When starting owish from a bash shell I do not get the prompt back. /bin/wish has the same problem. So it seems the problem is in /bin/tk84.dll. I vote pro. Daniel Package: tclcl 1.0.13-1 Daniel Description: TclCL (Tcl with classes) is a Tcl/C++ interface used by Mash, vic, vat, ... DanielProposer: Harold L Hunt II DanielProposal: http://sources.redhat.com/ml/cygwin-apps/2003-11/msg5.html Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/tclcl-1.0.13-1.tar.bz2 Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/tclcl-1.0.13-1-src.tar.bz2 Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/setup.hint DanielAlso: libtclcl0 [TclCL (Tcl with classes). (runtime)] Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/libtclcl0/libtclcl0-1.0.13-1.tar.bz2 Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/libtclcl0/setup.hint DanielAlso: libtclcl-devel [TclCL (Tcl with classes). (development)] Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/libtclcl-devel/libtclcl-devel-1.0.13-1.tar.bz2 Daniel http://www.msu.edu/~huntharo/cygwin/tclcl/libtclcl-devel/setup.hint Daniel Status: Vote-exempt. Package available. DanielHOLD-UPS: No good to go review. Builds and installs fine. I vote pro. Daniel Package: rdesktop 1.3.0-1 Daniel Description: client for Windows terminal server. Remote desktop display DanielProposer: Jari Aalto DanielProposal: mailto:[EMAIL PROTECTED] Daniel http://tierra.dyndns.org:81/cygwin/rdesktop/rdesktop-1.3.0-1.tar.bz2 Daniel http://tierra.dyndns.org:81/cygwin/rdesktop/rdesktop-1.3.0-1-src.tar.bz2 Daniel [no hint] Daniel Aye votes: Harold L Hunt II (cygwin-apps-thread.12044) [1/3] Daniel Abe Backus (cygwin-apps-thread.12051) [2/3] Daniel Status: Package available. DanielHOLD-UPS: Not enough votes (need 1 more). No good to go review. ./cygbuild-1.3.0-1.sh: line 438: [: -eq: unary operator expected -- Installing docs to /tmp/rdesktop/rdesktop-1.3.0/.inst/usr/share/doc/rdesktop-1.3.0 find: /tmp/rdesktop/rdesktop-1.3.0/.inst/usr/share/doc/rdesktop-1.3.0: Permission denied The permissions on the rdesktop-1.3.0 are wrong [EMAIL PROTECTED] /tmp/rdesktop/rdesktop-1.3.0/.inst/usr/share/doc 04:50 PM [521] ls -lt /tmp/rdesktop/rdesktop-1.3.0/.inst/usr/share/doc total 0 drwxr-xr-x+ 2 vzelladmin 0 Nov 16 16:48 Cygwin/ drw-r--r--+ 2 vzelladmin4096 Nov 16 16:48 rdesktop-1.3.0/ I vote pro Ciao Volker
OpenGL and cygwin
Hi all, I have been trying for the last few days to recreate some of the OpenGl problems that I have been asking the list about. Fortunately (or unfortunately, depending on one's perspective :)), I have been unable to get the errors reproduced in a standalone form, and in fact many of my OpenGL programs, even those that use more advanced features of OpenGL 1.3+, are working fine. Thanks a lot to Andre, Brian and CGF for helping out. Suresh Venkatasubramanian, Ph: 973 360 8951 (o) Member, Technical StaffWeb: http://www.research.att.com/~suresh/ ATT Shannon Labs The guitar is the ideal instrument for anyone who is able to love loneliness. --Angelo Gilardino -- 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: mount and ln commands
From: Erica Ramsey Sent: Saturday, November 15, 2003 7:25 PM I am having trouble mounting a linking to a directory. The mounted file doesn't go to / as I specified in the mount command instead it goes to /cygdrive/c/Documents\ and\ Settings/erica. What am I doing wrong? This is what I do: $ mount -tf c:\PalmDev /PalmDev $ ln -s C:\Palm OS 5 SDK (68K) R3\Palm OS Support /PalmDev/sdk5r3 ln: creating symbolic link `/PalmDev/sdk5r3' to `C:\\Palm OS 5 SDK (68K) R3\\Palm OS Support': No such file or directory IMO, use Windows/DOS style paths as little as possible, they're cumbersome to use correctly to say the least. (I've not tried what you're attempting above) The first stone to stumble on; \ has to be escaped when you enter it at the bash prompt; only enclosing your typing withing single quotes avoids this need. You have this problem at least with the ln -s command above. HELP: Use /bin/cygpath for conversion to from DOS/Win paths. $ ls / Packages cygwin.bat cygwin.ico lib tmp var bin cygwin.bat~ etc sbin usr ** No /PalmDev Mount doesn't add this, you will have to add the mount point yourself if you wish it to be visible. (i.e. $ mkdir /PalmDev) $ ls /PalmDev ls: /PalmDev: No such file or directory Hmm? Did you $ mkdir C:\\PalmDev - as written in the mount command above? $ ls ../Documents\ and\ Settings/erica Application Data My Documents Recent _viminfo ntuser.dat.LOG Cookies NTUSER.DATSendTo _vimrc ntuser.ini Desktop NetHood Start Menu _vimrc~ plugin131.trace Favorites PalmDev == It went here!!! $ mount C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmo de) C:\cygwin\bin on /usr/bin type user (binmode) C:\cygwin\lib on /usr/lib type user (binmode) c:\PalmDev on /PalmDev type system (textmode) == ?? C:\cygwin on / type user (binmode) c: on /cygdrive/c type user (binmode,noumount) $ cd /PalmDev bash: cd: /PalmDev: No such file or directory $ umount /PalmDev This test ran on Win98, but should be the same on any Win: $ p=$(cygpath -u C:\PalmDev); mkdir $p; ls -land $p drwxr-xr-x2 500 0 Nov 16 13:45 /cygdrive/c/PalmDev/ $ mount -tf C:\PalmDev /PalmDev $ echo /PalmDev/TEST I'm here! $ cat /PalmDev/TEST I'm here! $ ls -ld / | grep PalmDev $ /Hannu E K Nevalainen, Mariefred, Sweden --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago
Hello. Until recently I was running W2k with an ancient version of cygwin; I don't know what version it was, but if anybody cares I've put a copy of cygwin1.dll (dated 2001-May-20) at http://www.cs.toronto.edu/~wayne/tmp/cygwin1-old.dll.gz It worked fine on W2k for the past 2.5 years. I recently upgraded to Windows XP and this old cygwin stopped working. No problem, I say, it's also time to upgrade cygwin, so I go install the most recent version. Everything works fine, except one of my I/O intensive simulations starts running about 20 times slower! After copious mucking about, I finally narrowed it down to sscanf: sscanf on double precisions numbers, such as double a; char line [80]; fgets(line...) sscanf(line, %lf, a); runs about 20 times slower than in the old cygwin. Replacing the sscanf with a call to atof gets back the old speed. It's only noticable, of course, if you're scanning a huge file. In my case, it's a 60MB file that contains tens of thousands of lines of ASCII floating point numbers. So, consider this a bug report. A slowdown of a factor of 20 is not really a good thing. The output of cygcheck -s -v -r cygcheck.out can be found at http://www.cs.toronto.edu/~wayne/tmp/cygcheck-XP-1.5.5.out.gz Thanks! - Wayne -- 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: No /bin directory [Executable Attachment Stripped]
Ach! I'm sorry, I've found the culprit of my problem. I recently installed a program which required the Cygwin toolset and I mistakenly let the installer of that program install his own version of Cygwin. The mount points in the registry got changed and everything that should have went in /bin was installed into that program Cygwin directory. I have uninstalled that program (will reinstall it correctly later) and reinstalled Cygwin and now everything works :) -Message d'origine- De : French, David [mailto:[EMAIL PROTECTED] Envoyé : 16 novembre, 2003 01:42 À : 'François-Denis Gonthier' Objet : RE: No /bin directory [Executable Attachment Stripped] MMS intuit.com made the following annotations. -- Executable Attachment(s) Stripped Please note: Corporate mail policy dictates that executable attachment types are not allowed in incoming messages. This message originally contained one or more such attachment types which were removed prior to delivery. Please contact your mail administrator if you have questions regarding this policy. == There could be a couple of reason's why you didn't get the settings. One is that you de-selected the post configuration package. It is the last one listed. The other could be how you chose to install. There are 2 options. One says to install for you and one for everyone on the computer. The difference is where the Program Menu items are installed and the other is the registry keys used. For everyone, the reg keys are put under HKLM and for you, HKCU. Anyway, what it sounds like is the reg key is not set. I have included a reg file that has the proper settings. You may need to fix the path entries. I installed under E:\cygwin on my computer. If you used C:\cygwin, which is the default, then you will need to modify the file before loading. Good luck. --Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of François-Denis Gonthier Sent: Saturday, November 15, 2003 4:47 PM To: [EMAIL PROTECTED] Subject: No /bin directory Hello all Something just happened with my Cygwin installation. I just had to reinstall Cygwin from the net because I accidentally broke some things. Anyway, the reason doesn't matter. The install went apparently fine until I noticed to absence of the Bin directory. I've looked on Google for that problem but found nothing. I think post-install scripts that should have been executed weren't. Is there a way to fix that? Is there something I should have done that I didn't? Is my system broken in any way? Thank you in advance François-Denis -- 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/
setup 2.418 - comments
1) Downloading the package list leaves text that doesn't get removed during the MD5 check phase. 2) Resizing of window - I LOVE IT! :-) WRT 2: Resizing during the following download reveals a minor graphics bug; look just *to the right* of the cygwin symbol { 'C-' in ascii graphics) while resizing the window until the end of the text appears there. From this point - slowly widen the window, while keeping an eye just slightly above where the text appeared. Some graphics appears at a certain width, at first sight looks like a copy of the upper window border. I'm not sure it is though. WRT 1: It seems to me that the MD5 checking is done whether it is needed or not. This is time consuming on a slow machine. May I *suggest* the logic to be changed to something like this: dl_date = get_date_of(local_package_maindir) md5_date = get_date_of(MD5_LIST) if ( !( md5_date dl_date ) ) do for d in all_package_subdirs() do if (get_date_of(d) md5_date) redo_MD5_check(d); done save(MD5_LIST) done CAVEAT: I haven't CHECKED this to be FULLY TRUE: I've noted that running setup (2.416 at least!) with $ cygstart -- /install/setup.exe --no-md5 appears to do a download of the correct packages without problems, even though _NOT_ doing the MD5 check. /Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E -- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: No /bin directory
On Sun, Nov 16, 2003 at 11:11:10AM -0500, Fran?ois-Denis Gonthier wrote: Ach! I'm sorry, I've found the culprit of my problem. I recently installed a program which required the Cygwin toolset and I mistakenly let the installer of that program install his own version of Cygwin. The mount points in the registry got changed and everything that should have went in /bin was installed into that program Cygwin directory. Can we know the name of this program which required the Cygwin toolset? I think it's time that we started adding known offenders to the FAQ. -- Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send email to [EMAIL PROTECTED] and be permanently blocked from mailing lists at sources.redhat.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Exporting const variables from DLLs (GCC bug?)
Hi, Given this source code: extern const int meaning_of_life __declspec(dllexport); const int meaning_of_life __declspec(dllexport) = 42; GCC complains: $ c++ -g -O2 -c test.cxx -o test.o test.cxx:2: error: external linkage required for symbol 'const int meaning_of_life' because of 'dllexport' attribute. However, it compiles successfully with the const qualifier removed: extern int meaning_of_life __declspec(dllexport); int meaning_of_life __declspec(dllexport) = 42; Why does adding the const qualifier change this? Is this a known limitation of DLLs? If so, the error message is a little confusing. If not, then this is a GCC bug. Removing the explicit extern line has no effect in either case. My Cygwin installation was updated recently - I'm using the standard Cygwin GCC 3.3.1-3 package: $ c++ --version c++ (GCC) 3.3.1 (cygming special) If you want any more info, just ask. Incidentally, this bug affects src/sid/component/ in the Cygwin CVS tree. I'd prepared this minimal test case before I realized that this subdirectory isn't needed to build the Cygwin DLL. (Doh! CVS doing unexpected things strikes again). Kind regards, Jon Foster -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Perl CPAN module help
Hi, I am getting somewhere. I used setup and installed needed executables such as gcc. Did a force install in cpan for LWP modules and it seemed to be go great. All tests were successful in make test. But when running make install I got the error: Cannot forceunlink /usr/bin/HEAD: No such file or directory at /usr/lib/perl5/5.8.0/File/Find.pm line 873. make: *** [pure_site_install] Error 255 /usr/bin/make install -- NOT OK. The Find.pm line in question is: { $wanted_callback-() }; # protect against wild next Any idea what is going wrong, or is the question better posed to a perl forum? Any help appreciated. -Original Message- From: Peter J. Acklam [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 2:52 AM To: Gary Nielson; [EMAIL PROTECTED] Subject: RE: Perl CPAN module help Gary Nielson [EMAIL PROTECTED] wrote: I tried installing several perl modules today, but make test failed on several in the LWP package and for HTML::Parser etc. Couldn't find modules I'd already installed in the INC path. That's strange. Which module is not found? Since you have installed it, where is it? What is your @INC? You can see your @INC with perl -wle 'print for @INC' With HTML::Parser it couldn't run gcc because it was not found. Then you must install it. :-) Run setup.exe and install gcc. How do you use CPAN under cygwin? perldoc cpan To fire up the cpan shell, just type, at the cygwin shell cpan Is there a web page that outlines how to configure CPAN for cygwin, is that what is needed? I found it to be quite straight forward. Please be specific and tell where you run into problems. Are others having problems and how did you fix them. We'll take one thing at a time. I've used the cpan shell a lot, but I need some more information about where you run into problems. I successfully install some and have force installed others and notice that if you do a perldoc perllocal you only get the first three modules listed, whereas if you do a more on the perllocal file, you see a lot more listed. What's up with that, can anyonw explain? I have never used perldoc perllocal to see what modules I have installed, so at this point I can't tell you what is wrong. Peter -- Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Perl CPAN module help
Gary Nielson wrote: Hi, I am getting somewhere. I used setup and installed needed executables such as gcc. Did a force install in cpan for LWP modules and it seemed to be go great. All tests were successful in make test. But when running make install I got the error: Cannot forceunlink /usr/bin/HEAD: No such file or directory at /usr/lib/perl5/5.8.0/File/Find.pm line 873. make: *** [pure_site_install] Error 255 /usr/bin/make install -- NOT OK. On unix, 'head' is the program that displays the first 'n' lines of a file, whereas 'HEAD' is a utility that's installed from LWP to do the HTTP HEAD command from the command line (there's also GET.) In unix, case is significant, so it's perfectly fine to have both HEAD and a head commands, but under Windows and thus Cygwin, case doesn't matter. So you have to skip the HEAD utility from LWP, or temporarily remove/rename the standard head command. I don't think this error should be fatal, and there should be an option or switch or something to prevent it from trying to install HEAD. 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/
setup.exe alternative?
Hi, Is there an alternative to the setup.exe network installation such as a standalone program to install the cygwin core program(s)? Thanks, -Len -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: setup.exe alternative?
On Mon, 2003-11-17 at 07:48, Len Bright wrote: Hi, Is there an alternative to the setup.exe network installation such as a standalone program to install the cygwin core program(s)? setup.exe is a standalone program. Whats your issue? Rob -- GPG key available at: http://www.robertcollins.net/keys.txt. signature.asc Description: This is a digitally signed message part
Re: setup.exe alternative?
Len Bright wrote: Hi, Is there an alternative to the setup.exe network installation such as a standalone program to install the cygwin core program(s)? No. If you explain what you are trying to do, you will probably get a more helpful answer. 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: setup.exe alternative?
I think he's asking for a installer that uses local stuff, without network downloading (e.g. a cygwin installer that runs and installs from a CD). Elliott Wilcoxon Robert Collins wrote: On Mon, 2003-11-17 at 07:48, Len Bright wrote: Hi, Is there an alternative to the setup.exe network installation such as a standalone program to install the cygwin core program(s)? setup.exe is a standalone program. Whats your issue? 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: Exporting const variables from DLLs (GCC bug?)
Jon Foster wrote: Given this source code: extern const int meaning_of_life __declspec(dllexport); const int meaning_of_life __declspec(dllexport) = 42; GCC complains: $ c++ -g -O2 -c test.cxx -o test.o test.cxx:2: error: external linkage required for symbol 'const int meaning_of_life' because of 'dllexport' attribute It is a bug in gcc. The above code compiles okay with C, but strangely, not C++. For some reason, g++ does not immediately mark the the definition of global constants as public when they are defined after a prior declaration. I have a fix that I will submit to gcc-patches after reg-testing Danny http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: No /bin directory
Can we know the name of this program which required the Cygwin toolset? I think it's time that we started adding known offenders to the FAQ. Falch.Net Developers Studio for Palm (v 2.6 I think). There is a setup option to install Cygwin or not. I did not pay attention at first install-. -- 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: No /bin directory (FAQ alert)
On Sun, Nov 16, 2003 at 04:54:43PM -0500, Francois-Denis Gonthier wrote: Can we know the name of this program which required the Cygwin toolset? I think it's time that we started adding known offenders to the FAQ. Falch.Net Developers Studio for Palm (v 2.6 I think). There is a setup option to install Cygwin or not. I did not pay attention at first install-. David, what do you think about adding a section on problematic third-party cygwin installs? 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: DDD Compilation Fails using GCC 3.3.1
Ihe same problem with ddd 3.3.8 and GCC 3.3.1. I was able to compile ddd with GCC 3.2.3, but when launching ddd I gat following problem: (btw ddd --help works fine) Warning: XmPrimitive ClassInitialize: XmeTraitSet failed Error: attempt to add non-widget child DropSiteManager to parent ddd which supports only widgets Xt error (attempt to add non-widget child DropSiteManager to parent ddd which supports only widgets). ... DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault' signal Any help is welcom. -- 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/
dircmp for cygwin?
hi there cygwin is great! it brings my windows pc closer to unix! however i couldn't find dircmp in the collection of tools. is there a dircmp implementation for cygwin? thanks a lot, leo -- 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: dircmp for cygwin?
Google it. You might find it, if it's there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of leo Sent: Sunday, November 16, 2003 7:36 PM To: [EMAIL PROTECTED] Subject: dircmp for cygwin? hi there cygwin is great! it brings my windows pc closer to unix! however i couldn't find dircmp in the collection of tools. is there a dircmp implementation for cygwin? thanks a lot, leo -- 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: dircmp for cygwin?
Only one dircmp I find is in Perl. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bobby McNulty Junior Sent: Sunday, November 16, 2003 8:23 PM To: leo; [EMAIL PROTECTED] Subject: RE: dircmp for cygwin? Google it. You might find it, if it's there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of leo Sent: Sunday, November 16, 2003 7:36 PM To: [EMAIL PROTECTED] Subject: dircmp for cygwin? hi there cygwin is great! it brings my windows pc closer to unix! however i couldn't find dircmp in the collection of tools. is there a dircmp implementation for cygwin? thanks a lot, leo -- 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/ -- 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: dircmp for cygwin?
I found the link below. It says that no, it's not a part of SuSE or BSD, and it's only legacy on UNIX. There is a 'dircmp' class in python that you could use, or else maybe you could come up with some magic using an rsync 'dry run'... http://www.webaugur.com/bibliotheca/standards/unix.html.php3 http://gnu.kookel.org/ftp/www.python.org/doc/current/lib/dircmp-objects.html Bobby McNulty Junior wrote: Google it. You might find it, if it's there. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Perl CPAN module help
Gary Nielson [EMAIL PROTECTED] wrote: I am getting somewhere. I used setup and installed needed executables such as gcc. Did a force install in cpan for LWP modules and it seemed to be go great. All tests were successful in make test. But when running make install I got the error: You shouldn't use force install unless you really know what you're doing. If your module fails a regular install you should investigate the problem and find the solution rather than do a force install. With a force install you are likely to install modules which fail some way on your system and hence shouldn't have been installed. Cannot forceunlink /usr/bin/HEAD: No such file or directory at /usr/lib/perl5/5.8.0/File/Find.pm line 873. make: *** [pure_site_install] Error 255 /usr/bin/make install -- NOT OK. The Find.pm line in question is: { $wanted_callback-() }; # protect against wild next When installing LWP you are asked whether you want to install the GET, HEAD, and POST programs. You have chosed yes or the force install did it for you. Either way, it was discovered that HEAD exists (as /usr/bin/head.exe) and Perl is trying to remove it, but although which head says /usr/bin/HEAD, there really is no /usr/bin/HEAD.exe, it's /usr/bin/head.exe. The problem is that which matches case insensitively, but rm doesn't. The solution is: Don't install CPAN modules under /usr, use /usr/local! When you install modules without CPAN, use the steps perl Makefile.PL PREFIX=/usr/local make make test make install this is done with the CPAN shell by setting cpan o conf makepl_arg PREFIX=/usr/local cpan o conf commit Any idea what is going wrong, or is the question better posed to a perl forum? The head vs HEAD is a Cygwin thing, so I think it belongs equally well here. Peter -- Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam -- 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/