Re: Problems with installer
On Sat, 2002-11-16 at 06:37, Mark Bradshaw wrote: > Here. Sorry if there is some confusion. Frankly, considering the number of > installs I think the confusion has been minimal. As a side note I've many > times been in conversation with a user and suggested that it might be time > to can the package as no longer necessary. EVERY time they vehemently > protest that the cygwin sshd install is too hard/doesn't work/whatever. The > bar to entry to a tight sshd install under the cygwin installer may be too > high for most newbies. Hi, I'm the cygwin setup maintainer. Have they said what's wrong? That you need to run a shell script after installing? That cygwin1.dll changed ntsec defaults and broke many half-setup sites? > Maybe as a compromise I can start using standard cygwin directories. That > seemed confusing, and would definitely hose up some people that are used to > my current structure, but I'd be willing if it's really causing communal > heartburn. Urggle. PLEASE DON'T. Let me be more clear: Please only install into the cygwin directories using the cygwin setup.exe codebase. I'm happy for you to fork the setup.exe code (and then track the changes via CVS). Heck, you could even have a branch in the setup CVS to do that in if needed. So you could provide a different UI and address whatever unspecified issues your users have. Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
Re: SSHD on NT4... (SOLVED!!!)
On Sat, 2002-11-16 at 09:00, Christopher Faylor wrote: > In that vein, can anyone think of other improvements to cygcheck? For > instance, maybe it could debug common /etc/passwd or /etc/group problems. > Or, maybe it could detect a NetworkSimplicity installation and optionally > uninstall it. I think that a separate 'cygclean' or 'preinstall checker' should exist to clean bad mounts etc. It could go into cygcheck but I feel (and can't articulate clearly just yet) that that would be less clear to newbies. Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
Re: gcc headers
On Sat, 2002-11-16 at 07:49, Lapo Luchini wrote: > I don't understand completely the logic behind STL headers... > e.g. there is that uses > and there is too > but there isn't and , though the "stl_*" version is > there to be used. > > Is this normal/expected? Yes, have a look at www.sgi.com/tech/stl Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
Re: gcc headers
Robert Collins wrote: but there isn't and , though the "stl_*" version is there to be used. Is this normal/expected? Yes, have a look at www.sgi.com/tech/stl Ohh, they're still-not-standard extensions... so either I use them with bits/stl_multimap.h header or I don't use them at all, I guess. I must think about portability problems though. -- Lapo 'Raist' Luchini [EMAIL PROTECTED] (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Discussing NetworkSimplicity (was: Re: SSHD on NT4... (SOLVED!!!))
Robert Collins <[EMAIL PROTECTED]> wrote: > On Sat, 2002-11-16 at 09:00, Christopher Faylor wrote: > >> In that vein, can anyone think of other improvements to cygcheck? >> For instance, maybe it could debug common /etc/passwd or /etc/group >> problems. Or, maybe it could detect a NetworkSimplicity installation >> and optionally uninstall it. > > I think that a separate 'cygclean' or 'preinstall checker' should > exist to > clean bad mounts etc. > > It could go into cygcheck but I feel (and can't articulate clearly > just yet) > that that would be less clear to newbies. But newbies wouldn't know to run it. Besides, it needs to be run *before* setup.exe - so why not just add the relevant code to setup.exe? All the mount handling code is already there, so it should be fairly simple. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Help With PostgreSQL On Cygwin
Forwarding this to the list, so it may be of some help to anyone searching the archives... Max. Chris Schneider <[EMAIL PROTECTED]> wrote: > Thanks a million, that worked like a charm! PostgreSQL is up and > running > > -Original Message- > From: Max Bowsher [mailto:[EMAIL PROTECTED]] > Sent: Sat 11/16/2002 7:45 PM > To: Chris Schneider; [EMAIL PROTECTED] > Cc: > Subject: Re: Help With PostgreSQL On Cygwin > > > > Chris Schneider <[EMAIL PROTECTED]> wrote: > >> I am trying to install PostgreSQL on Windows using Cygwin and am >> having some troubles I am hoping someone at Cygwin can help me with. >> ... creating template1 database in /data/base/1... >> IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function >> not implemented > > I don't use postgresql myself, but I believe Googling for 'cygipc' and > looking at the top result will help you. > > Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Discussing NetworkSimplicity (was: Re: SSHD on NT4...(SOLVED!!!))
On Sun, 2002-11-17 at 20:35, Max Bowsher wrote: > Robert Collins <[EMAIL PROTECTED]> wrote: > But newbies wouldn't know to run it. 1) Link on the home page. 2) 'Help, installing cygwin fails. Run the pre-install checker from the homepage. Oh, that picked up *lots* of things, I've done what it said and it's all ok now.' Think: common control version checking for setup.exe, old registry entry detection, cygwin1.dll in %systemroot%/system[32]. > Besides, it needs to be run *before* > setup.exe - so why not just add the relevant code to setup.exe? > All the mount handling code is already there, so it should be fairly simple. The above should give a hint to my thoughts here. Also, how to discriminate between a deliberate choice of a different root and a broken/confused user. Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
Can't build gcc trunk or 3.2 branch under cygwin on Win XP/SP1
I'm trying to build the gcc cvs sources from the 3.2 branch and trunk but I get the following problem: stage1/xgcc.exe -Bstage1/ -B/usr/local/gcc-binutils/i686-pc-cygwin/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl.exe \ gengenrtl.o ../libiberty/libiberty.a ./gengenrtl.exe -h > tmp-genrtl.h make[2]: *** [s-genrtl] Error 255 make[2]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/gcc' make: *** [bootstrap-lean] Error 2 Administrator@TOPPEN /usr/local/src/gcc-binutils/trunk/objdir $ Am I perhaps doing something quite wrong here? This was on a Windows XP SP1/cygwin P4 system with these packages: binutils 2.13.90 20021107-2 bison 1.75-1 cygwin1.3.14-1 gcc 3.2-3 Cygwin Win95/NT Configuration Diagnostics Current System Time: Sun Nov 17 15:10:49 2002 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `C:\cygwin\home\Administrator' MAKE_MODE = `unix' PWD = `/usr/local/src/gcc-binutils/trunk/objdir' USER = `Administrator' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\chj\Application Data' CLIENTNAME = `Console' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `TOPPEN' COMSPEC = `C:\WINDOWS\system32\cmd.exe' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\chj' LOGONSERVER = `\\LINUM' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/usr/local/src/gcc-binutils/trunk' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 7, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0207' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\DOCUME~1\chj\LOCALS~1\Temp' TERM = `cygwin' TMP = `c:\DOCUME~1\chj\LOCALS~1\Temp' USERDOMAIN = `LIN' USERNAME = `chj' USERPROFILE = `C:\Documents and Settings\chj' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' 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 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' 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\Program Options c: hd NTFS 28576Mb 28% CP CS UN PA FC d: cd N/AN/A C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode . /cygdrive userbinmode,cygdrive Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe 58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2002/5/7 8:33 6k 2002/06/24 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0 "cygcharset-1.dll" v0.0 ts=2002/6/24 20:23 643k 2002/11/09 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto.dll" v0.0 ts=2002/11/9 10:56 475k 2002/10/11 C:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0 "cygcurl-2.dll" v0.0 ts=2002/10/11 23:53 380k 2002/07/24 C:\cygwin\bin\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0 "cygdb-3.1.dll" v0.0 ts=2002/7/24 18:24 326k 2002/06/26 C:\cygwin\bin\cygdb2.dll - os=4.0 img=1.0 sys=4.0 "cygdb2.dll" v0.0 ts=2002/6/26 19:48 487k 2002/07/24 C:\cygwin\bin\cygdb_cxx-3.1.dll - os=4.0 img=1.0 sys=4.0 "cygdb_cxx-3.1.dll" v0.0 ts=2002/7/24 18:25 136k 2002/10/17 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0 "cygexpat-0.dll" v0.0 ts=2002/10/17 17:21 50k 2002/03/17 C
"Latest Cygwin DLL release version is" line on website doesn't seem to update when the rerelease (-1, -2, etc.) component of version number changes.
"Latest Cygwin DLL release version is" line on website doesn't seem to update when the rerelease (-1, -2, etc.) component of version number changes. I think I noticed this back with 1.3.14 too. Is this a manual process, or is it automatic? Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
cygwin release
Hi, just saw the new cygwin release, and since I don't know who to ask, I ask you ;) Is there any other shell, oder shell-like program I can use cygwin with ? I use is currently with the MS-DOS command-line, but I can't resize this, can't do copy/paste and so on... I would like to use it like a usual linux terminal... greets Dennis -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin release
Dennis Lubert wrote: just saw the new cygwin release, and since I don't know who to ask, I ask you ;) Is there any other shell, oder shell-like program I can use cygwin with ? I use is currently with the MS-DOS command-line, but I can't resize this, can't do copy/paste and so on... I would like to use it like a usual linux terminal... download rxvt package, it works also on native Win32 'nuff said Lapo -- Lapo 'Raist' Luchini [EMAIL PROTECTED] (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin release
On Sun, 17 Nov 2002, Lapo Luchini wrote: > Dennis Lubert wrote: > > > just saw the new cygwin release, and since I don't know who to ask, I > > ask you ;) Is there any other shell, oder shell-like program I can use > > cygwin with ? I use is currently with the MS-DOS command-line, but I > > can't resize this, can't do copy/paste and so on... I would like to > > use it like a usual linux terminal... > > download rxvt package, it works also on native Win32 > 'nuff said > Lapo Note to the FAQ maintainer: this seems to be an FAQ, and hard to search for in the archives ("better shell" turns up nothing, "better window" turns up lots of irrelevant matches). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Installing PostgreSQL on Windows using Cygwin
***For those accustomed to setting up on Linux, you do not need to run 'configure' and 'gmake' to install PostgreSQL...Cygwin performs the install for you, however it puts the executables in the /bin dir vs. the default PostgreSQL install dir of /usr/local/pgsql. *** --Dowload and install Cygwin, which can be obtained at www.cygwin.com (though I guess you already know that if your reading this entry) -- You can pick any of the packages you want, but you'll need at a minimum...Base (this is the default), PostgreSQL, Bzip2 (under the Utils section; I believe it grabs the libraries automotically in the Libs section, but I manully selected those just in case). I recommend grabbing VIM editor as well, though not required. --Open a bash shell, by clicking on the Cygwin icon created by the install (assuming you checked the boxes at the end of the install) --Install cygipc (V1.13), you can download the file from... http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/ You'll need the bzip2 utility to do this, hence why I said to grab it in step 2. You'll find it in /bin. In order to uzip files, copy the bzip2.exe to bunzip2.exe. --Execute the command 'bunzip2 cygipc-1.13-2.tar.bz2' --Then copy the cygipc-1.13-2.tar to / and execute the command 'tar xvf cygipc-1.13-2.tar' --Execute the command 'ipc-daemon &' from a bash shell Now you are ready to proceed with the normal PostgreSQL setup --Execute 'initdb -D /data' (or wherever you want the database created) --Run 'postmaster -D /data' (also use the -i option if you plan to connect from another client) --Then create the database and all the other typical PostgreSQL stuff. Hope this helps. Chris Schneider ([EMAIL PROTECTED]) -Original Message- From: Kurt Roeckx [mailto:[EMAIL PROTECTED]] Sent: Sun 11/17/2002 9:32 AM To: Chris Schneider Cc: Subject: Re: Help With PostgreSQL On Cygwin Chris Schneider <[EMAIL PROTECTED]> wrote: > Thanks a million, that worked like a charm! PostgreSQL is up and > running May I ask what version of cygipc you used on what OS? I'm having the same problem on XP and it's not working. Kurt
wine under cygwin under wine under...
Front page slashdot story: http://developers.slashdot.org/developers/02/11/17/1648220.shtml?tid=125 --Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Discussing NetworkSimplicity (was: Re: SSHD on NT4... (SOLVED!!!))
On Sun, Nov 17, 2002 at 08:48:48PM +1100, Robert Collins wrote: >On Sun, 2002-11-17 at 20:35, Max Bowsher wrote: >> Robert Collins <[EMAIL PROTECTED]> wrote: > > >> But newbies wouldn't know to run it. > >1) Link on the home page. I don't think "Link on the home page" is ever a serious solution for anything. If it was then 90% of the traffic on this mailing list would cease. - Problems? Hmm the home page says to check the FAQ. Hey! There's my problem. So *that's* how I solve it. - Oops. It's a bug. What's this bugs link? I'll look at that. Ok. So, *that's* how they want me to report a bug. - I need help with XFree86. Hmm. I'd better check the mailing list page to see what the best way to do that is. Aha! There's a separate mailing list! - I wonder if I should send someone private email about this. Hey! I'll bet the home page has something to say on that! Let's see... Ok. No. It's a bad idea. - I wonder why the bushwah package isn't available. Maybe the cygwin developers are mean. Hmm. I'd better check the home page to see if my theory is true. Hey! I could submit the bushwah package *myself*! Neat. - It says that cygpcre.dll isn't available. I apparently need to download that. I need to search for cygwin packages somehow. Hey! There's a link on the cygwin home page! My point here is that it is more helpful to have cygcheck do what it was designed to do -- check for problems on the system. Even if it doesn't actually fix the problems, it should be detecting mount table foulups. I don't see any reason to invent another tool or add more unread words to the web page about this. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
dd command problem??
Hello, I am using cygwin 1.3.10 on win2k system. recently while I try to write some file into a: using following command: dd if=myfile of=a: bs=512 count=1, the computer tried to write and then come back give me error message: dd open "a:", Permission denied. I switched to administrator account to do the same thing, the same result. It is obvious to me that dd try to write to a dirve. Is dd not working yet? or my setup is not correct? Thanks Bizhong Hu [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin release
On Sunday 17 Nov 02, Igor Pechtchanski writes: > On Sun, 17 Nov 2002, Lapo Luchini wrote: > > > Dennis Lubert wrote: > > > > > just saw the new cygwin release, and since I don't know who to ask, I > > > ask you ;) Is there any other shell, oder shell-like program I can use > > > cygwin with ? I use is currently with the MS-DOS command-line, but I > > > can't resize this, can't do copy/paste and so on... I would like to > > > use it like a usual linux terminal... > > > > download rxvt package, it works also on native Win32 > > 'nuff said > > Lapo > > Note to the FAQ maintainer: this seems to be an FAQ, and hard to search > for in the archives ("better shell" turns up nothing, "better window" > turns up lots of irrelevant matches). Although Dennis asks for a better shell, he means window. I may get something in the FAQ tonight, but if not, it'll be another week because I am travelling. Regards, David (Cygwin FAQ maintainer) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
libxml2/libxslt binaries: libxml2 version mismatch in xsltproc
In various versions of the libxml2/libxslt binaries, the executable "xsltproc" distributed with the latest libxslt package was compiled against an older version of libxml2 than the latest release currently distributed. >From the most recent Cygwin releases of libxml2/libxslt: $ xsltproc -V Using libxml 20423, libxslt 10013 and libexslt 705 ^ xsltproc was compiled against libxml 20417, libxslt 10013 and libexslt 705 ^ libxslt 10013 was compiled against libxml 20417 libexslt 705 was compiled against libxml 20417 Slightly older: $ xsltproc -V Using libxml 20417, libxslt 10010 and libexslt 703 ^ xsltproc was compiled against libxml 20413, libxslt 10010 and libexslt 703 ^ libxslt 10010 was compiled against libxml 20413 libexslt 703 was compiled against libxml 20413 To get xsltproc working properly, it may be necessary either to rebuild it (which I didn't manage to) or to downgrade to the older libxml2 binary. So it would perhaps be better if that correspondence of the libxml2 version could be ensured before the libxml2 and libxslt binaries are distributed together in their latest releases. Y. Forkl -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: libxml2/libxslt binaries: libxml2 version mismatch in xsltproc
On Mon, 2002-11-18 at 08:17, Yves Forkl wrote: > In various versions of the libxml2/libxslt binaries, the executable > "xsltproc" distributed with the latest libxslt package was compiled > against an older version of libxml2 than the latest release currently > distributed. ... > To get xsltproc working properly, it may be necessary either to > rebuild it (which I didn't manage to) or to downgrade to the older > libxml2 binary. > > So it would perhaps be better if that correspondence of the libxml2 > version could be ensured before the libxml2 and libxslt binaries are > distributed together in their latest releases. Do you have an actual bug report, or are you assuming that this is casuing whatever unspecified problems you are having? I don't recall any discussion on this on the libx*l lists, which I am also on. Rob -- --- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. --- signature.asc Description: This is a digitally signed message part
gcc 3.2 string link problem
Hello all, Having happily upgraded my Cygwin to include gcc 3.2, I've encountered a show-stopper: The linker can't resolve symbols involving wide C++ strings. Here is an example: #include #include using namespace std; int main(int argc,char *argv[]) { std::string test; } - $ g++ test.cpp /cygdrive/c/DOCUME~1/nigels/LOCALS~1/Temp/ccHP4AMl.o(.text+0x25):test.cpp: undefined reference to `std::basic_string ar_t, std::char_traits, std::allocator >::basic_string[in-charge]()' /cygdrive/c/DOCUME~1/nigels/LOCALS~1/Temp/ccHP4AMl.o(.text+0x30):test.cpp: undefined reference to `std::basic_string ar_t, std::char_traits, std::allocator >::~basic_string [in-charge]()' collect2: ld returned 1 exit status --- Any hints, suggestions, or duh-read-the FAQ responses, appreciated. Note that the following compiles & links: int main(int argc,char *argv[]) { std::string test; } $ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posi x --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-ve rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable -haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecd ir=/usr/sbin Thread model: posix gcc version 3.2 20020927 (prerelease) Cheers, Nigel Stewart -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc 3.2 string link problem
gcc 3.2 string link problem From: Nigel Stewart & Fiona Smith To: cygwin at cygwin dot com Date: Mon, 18 Nov 2002 10:42:45 +1100 Subject: gcc 3.2 string link problem ===snip=== > $ g++ test.cpp > /cygdrive/c/DOCUME~1/nigels/LOCALS~1/Temp/ccHP4AMl.o(.text+0x25):test.cpp: > > undefined reference to `std::basic_string ar_t, std::char_traits, std::allocator >::basic_string[in-> > charge]()' > /cygdrive/c/DOCUME~1/nigels/LOCALS~1/Temp/ccHP4AMl.o(.text+0x30):test.cpp: > > undefined reference to `std::basic_string ar_t, std::char_traits, std::allocator >::~basic_string [in-> charge]()' Look in /usr/include/c++/3.2/i686-pc-cygwin/bits/c++config.h // Define if code specialized for wchar_t should be used. /* #undef _GLIBCPP_USE_WCHAR_T */ libstdc++ configure script could not find enough C runtime support to provide C++ wchar_t support. Danny http://careers.yahoo.com.au - Yahoo! Careers - 1,000's of jobs waiting online for you! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
No such file, but it's right there
Hi, I'm using cygwin 1.3.15 in WinME: Cygwin DLL version info: DLL version: 1.3.15 DLL epoch: 19 When I try to "ls" a file I know to be there, I'm told it isn't: $ which ftp telnet /usr/bin/ftp /usr/bin/telnet $ cd /usr/bin $ ls -l ftp telnet -rwxr-xr-x 1 unknown unknown 57344 Jan 6 2002 ftp* -rwxr-xr-x 1 unknown unknown 79360 Jan 6 2002 telnet* $ less ftp telnet ftp: No such file or directory telnet: No such file or directory I don't really want to less a binary file, just see whether the file's presence is recognized. I wouldn't think it's a mount problem, but here's the mount information: $ mount C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode) C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) c: on /c type user (textmode) d: on /d type user (textmode) Thanks if you have any suggestions. Fred -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: minires + rblcheck works
On Sat, Nov 16, 2002 at 07:33:18PM -0800, Andrew Lynch wrote: > So I would like to know why is not minires a part of > cygwin? There are numerous packages ported to cygwin > using it, if I go by the cygwin mailing list. Is it > just the lack of someone to package it or is it a > policy issue? Here are some possibly bad reasons why I didn't submit minires as a cygwin package: 1) The package requires standard include files (resolv.h and nameser.h) that are not part of Cygwin and that can conflict with similarly named files from other packages (such as bind). If minires was a standard package the files would go under /usr/include, which could cause mayhem if people download the package without realizing the consequences. 2) I am not completely happy with the current version. On Win2000 and XP I would like to interface with the built-in Windows resolver. Microsoft provides a function, DnsQuery, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dns/dns_api_2ant.asp whose last argument sounds promising: pReserved [in, out] Returned response in original wire format. This parameter is optional. Unfortunately I am unable to make it work. This issue is currently on my backburner, any help is appreciated. 3) Self protection. Interested people must first find the package before they contact me. That shows that they are serious. I am glad you found it useful! Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc 3.2 string link problem
Hi Danny, Thanks for the hint. Does this mean that I need to rebuild libstc++? My impression is that this is a bug: Either wchar_t is supported, or it isn't, but that should be compile-error rather than link-error. And also, since I've done a "full" Cygwin install, what more is needed for wchar_t support? Thanks, Nigel Stewart Danny Smith wrote: Look in /usr/include/c++/3.2/i686-pc-cygwin/bits/c++config.h // Define if code specialized for wchar_t should be used. /* #undef _GLIBCPP_USE_WCHAR_T */ libstdc++ configure script could not find enough C runtime support to provide C++ wchar_t support. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: No such file, but it's right there
Shing-Fat Fred Ma <[EMAIL PROTECTED]> wrote: > When I try to "ls" a file I know to be > there, I'm told it isn't: No, as you show below, ls works, less doesn't. > $ cd /usr/bin > $ ls -l ftp telnet > > -rwxr-xr-x 1 unknown unknown 57344 Jan 6 2002 ftp* > -rwxr-xr-x 1 unknown unknown 79360 Jan 6 2002 telnet* > > $ less ftp telnet > > ftp: No such file or directory > telnet: No such file or directory > > I don't really want to less a binary file, > just see whether the file's presence > is recognized. Well the files are, of course, ftp.exe and telnet.exe. Cygwin's automagical .exe workarounds seems to not be working when going through a mount where there is no underlying directory. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: No such file, but it's right there
Fred, Cygwin follows the Windows convention of using file file name suffix ".exe" for its binary executable files. While Cygwin will locate and execute files files given only the base name (sans suffix), other uses ("cat," "less," or more apropos "nm," "size" or "file") demand the full file name, including the ".exe" suffix. Randall Schulz Mountain View, CA USA At 15:59 2002-11-17, Shing-Fat Fred Ma wrote: Hi, ... When I try to "ls" a file I know to be there, I'm told it isn't: $ which ftp telnet /usr/bin/ftp /usr/bin/telnet $ cd /usr/bin $ ls -l ftp telnet -rwxr-xr-x 1 unknown unknown 57344 Jan 6 2002 ftp* -rwxr-xr-x 1 unknown unknown 79360 Jan 6 2002 telnet* $ less ftp telnet ftp: No such file or directory telnet: No such file or directory I don't really want to less a binary file, just see whether the file's presence is recognized. I wouldn't think it's a mount problem, but here's the mount information: ... Thanks if you have any suggestions. Fred -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: No such file, but it's right there
Randall R Schulz <[EMAIL PROTECTED]> wrote: > Cygwin follows the Windows convention of using file file name suffix > ".exe" for its binary executable files. While Cygwin will locate and > execute files files given only the base name (sans suffix), other > uses ("cat," "less," or more apropos "nm," "size" or "file") demand > the full file name, including the ".exe" suffix. Actually, the significant point seems to be that the files are being accessed via a mount with no underlying directory. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: No such file, but it's right there
On Mon, Nov 18, 2002 at 12:35:57AM -, Max Bowsher wrote: >Randall R Schulz <[EMAIL PROTECTED]> wrote: >>Cygwin follows the Windows convention of using file file name suffix >>".exe" for its binary executable files. While Cygwin will locate and >>execute files files given only the base name (sans suffix), other uses >>("cat," "less," or more apropos "nm," "size" or "file") demand the full >>file name, including the ".exe" suffix. > >Actually, the significant point seems to be that the files are being >accessed via a mount with no underlying directory. No, sorry. Cygwin's stat function will find a file with a .exe extension. Cygwin's open function won't. It has been this way for four or five years. It has nothing to do with the mount command. So, if you have a file called foo.exe 'ls -l foo' will work but 'cat foo.exe' won't work. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: No such file, but it's right there
Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Mon, Nov 18, 2002 at 12:35:57AM -, Max Bowsher wrote: >> Randall R Schulz <[EMAIL PROTECTED]> wrote: >>> Cygwin follows the Windows convention of using file file name suffix >>> ".exe" for its binary executable files. While Cygwin will locate >>> and execute files files given only the base name (sans suffix), >>> other uses ("cat," "less," or more apropos "nm," "size" or "file") >>> demand the full file name, including the ".exe" suffix. >> >> Actually, the significant point seems to be that the files are being >> accessed via a mount with no underlying directory. > > No, sorry. Cygwin's stat function will find a file with a .exe > extension. Cygwin's open function won't. It has been this way for > four or five years. It has nothing to do with the mount command. > > So, if you have a file called foo.exe 'ls -l foo' will work but > 'cat foo.exe' won't work. You mean 'cat foo', don't you? But you are right - I must have been hallucinating when I was experimenting before I posted that. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: No such file, but it's right there
On Mon, Nov 18, 2002 at 01:05:10AM -, Max Bowsher wrote: >Christopher Faylor <[EMAIL PROTECTED]> wrote: >> So, if you have a file called foo.exe 'ls -l foo' will work but >> 'cat foo.exe' won't work. > >You mean 'cat foo', don't you? Yes. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
No such file, but it's right there
>Well the files are, of course, ftp.exe and telnet.exe. >Cygwin's automagical .exe workarounds seems to not be working when going >through a mount where there is no underlying directory. > >Max. > > Cygwin follows the Windows convention of using file file name suffix > ".exe" for its binary executable files. While Cygwin will locate and > execute files files given only the base name (sans suffix), other uses > ("cat," "less," or more apropos "nm," "size" or "file") demand the > full file name, including the ".exe" suffix. > > Randall Schulz > Mountain View, CA USA Thanks. Fred -- Fred Ma, [EMAIL PROTECTED] Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc 3.2 string link problem
Digging around the gcc.gnu.org site, came across PR 4764 in the bugs database: http://gcc.gnu.org/cgi-bin/gnatsweb.pl *Description:* On Solaris 8, std::wstring is not available, because libstdc++/aclocal.m4 checks for too many functions The following functions are not available on Solaris. They are required to enable wide strings in libstdc++, but they aren't used by the implementation: vwscanf vfwscanf vswscanf wcstof Notice that support for these functions is only mandated by ISO C99, not by ISO C++. -- Without being too familiar with gcc build process, not sure how to resolve this for Cygwin... Cheers, Nigel Stewart -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
ls problem
Hello, I've been using cygwin for 3 years now and last week, I downloaded the latest cygwin from one of the mirrors and everything in well except for one problem. I noticed that whenever I type 'ls -', the output gets delayed for a few seconds. This never happened to me using the old cygwin. I checked the man pages of ls and I didn't find a clue on how to make its output faster. I got to the /bin directory and did a 'time ls -l' and these are the results. real0m3.942s user0m0.249s sys 0m0.530s This is my current bash version : $ bash --version GNU bash, version 2.05b.0(5)-release (i686-pc-cygwin) Copyright (C) 2002 Free Software Foundation, Inc. Then, the current ls version: $ ls --version ls (fileutils) 4.1 Written by Richard Stallman and David MacKenzie. Copyright (C) 2001 Free Software Foundation, Inc. The fileutils version is "fileutils-4.1-1". The queer thing is that the fileutils version of my former cygwin package is exactly the same as with the new one. Any help to fix the problem? Thanks a lot! Best Regards, Carlo Florendo Astra (Philippines) Inc. [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin release
On Sun, 17 Nov 2002, David Starks-Browning wrote: > On Sunday 17 Nov 02, Igor Pechtchanski writes: > > On Sun, 17 Nov 2002, Lapo Luchini wrote: > > > > > Dennis Lubert wrote: > > > > > > > just saw the new cygwin release, and since I don't know who to ask, I > > > > ask you ;) Is there any other shell, oder shell-like program I can use > > > > cygwin with ? I use is currently with the MS-DOS command-line, but I > > > > can't resize this, can't do copy/paste and so on... I would like to > > > > use it like a usual linux terminal... > > > > > > download rxvt package, it works also on native Win32 > > > 'nuff said > > > Lapo > > > > Note to the FAQ maintainer: this seems to be an FAQ, and hard to search > > for in the archives ("better shell" turns up nothing, "better window" > > turns up lots of irrelevant matches). > > Although Dennis asks for a better shell, he means window. > > I may get something in the FAQ tonight, but if not, it'll be another > week because I am travelling. > > Regards, > David > (Cygwin FAQ maintainer) David, Thanks for the prompt response. I realized that he asked for a better window, that's why I tried searching for both. For the future, though, would sending a patch to winsup/doc/faq.texinfo instead make your job easier, or harder? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ls problem
On Mon, 18 Nov 2002, Carlo Florendo wrote: > Hello, > > I've been using cygwin for 3 years now and last week, I downloaded the > latest cygwin from one of the mirrors and everything in well except for one > problem. I noticed that whenever I type 'ls -', the output gets delayed for > a few seconds. This never happened to me using the old cygwin. I checked > the man pages of ls and I didn't find a clue on how to make its output > faster. > > I got to the /bin directory and did a 'time ls -l' and these are the > results. > > real0m3.942s > user0m0.249s > sys 0m0.530s > > This is my current bash version : > > $ bash --version > GNU bash, version 2.05b.0(5)-release (i686-pc-cygwin) > Copyright (C) 2002 Free Software Foundation, Inc. > > Then, the current ls version: > > $ ls --version > ls (fileutils) 4.1 > Written by Richard Stallman and David MacKenzie. > > Copyright (C) 2001 Free Software Foundation, Inc. > > The fileutils version is "fileutils-4.1-1". > > The queer thing is that the fileutils version of my former cygwin package is > exactly the same as with the new one. > Any help to fix the problem? > > Thanks a lot! > > Best Regards, > > Carlo Florendo > Astra (Philippines) Inc. > [EMAIL PROTECTED] Carlo, It would have been more helpful if you had provided your cygwin version, but even without it I could venture a guess... The latest versions of cygwin have ntsec on by default, and doing 'ls -l' will result in the user lookup in the /etc/passwd (and /etc/group) file. An easy way to test that is to time 'ls -ln' and see if it's faster. Another test would be to *temporarily* turn off ntsec (by adding "nontsec" to your CYGWIN environment variable and reloading cygwin1.dll by exiting all running cygwin processes). I say temporarily because ntsec is actually a very useful feature to have on, and this is suggested only as a means to find out whether it's the culprit. You can restore the state by either changing "nontsec" to "ntsec", or leaving it off altogether, as it's the default now, and reloading cygwin1.dll again. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygwin release
> On Sunday 17 Nov 02, Igor Pechtchanski writes: > > On Sun, 17 Nov 2002, Lapo Luchini wrote: > > > > > Dennis Lubert wrote: > > > > > > > just saw the new cygwin release, and since I don't know who to ask, I > > > > ask you ;) Is there any other shell, oder shell-like program I can use > > > > cygwin with ? I use is currently with the MS-DOS command-line, but I > > > > can't resize this, can't do copy/paste and so on... I would like to > > > > use it like a usual linux terminal... > > > > > > download rxvt package, it works also on native Win32 > > > 'nuff said > > > Lapo > > > > Note to the FAQ maintainer: this seems to be an FAQ, and hard to search > > for in the archives ("better shell" turns up nothing, "better window" > > turns up lots of irrelevant matches). > > Although Dennis asks for a better shell, he means window. > Well, terminal emulator. Better make it something like: "Q: The default Cygwin shell/terminal/terminal emulator/window/place-where-the-keys-I-press-make-their-drawings sucks. Is there another one in stock? A: Yes, but first you must learn the difference between the terminal (emulator) and the shell" etc etc and soforth. -- Gary R. Van Sickle Brewer. Patriot. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
FW: path to /etc/profile.default
Hi y'all, After brushing up on my C++, getting married, etc. etc. I decided to check out the source of cygwin to see if there's anything I can do on the work I kinda promised a while ago. Had to apply a little "patch" to the CVSROOT though, so to help you incite others to help you, here's the "patch" Bye, Ronald NB: sorry for sending it to the wrong list first.. --- profile.default~2002-07-30 16:20:08.0 +0200 +++ profile.default 2002-11-16 13:38:38.0 +0100 @@ -40,7 +40,7 @@ export CVS_RSH=/bin/ssh # Patches to Cygwin always appreciated ;) -#export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs/src +#export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs/src # Set a HOSTNAME variable to the host name in lower case letters export HOSTNAME=`hostname | tr '[A-Z]' '[a-z]'` -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/