[ITP] snownews-1.5.7 -- Text mode RSS/RDF newsreader
Included in Debian stable: http://packages.debian.org/snownews sdesc: Text mode RSS/RDF newsreader ldesc: Program is similar to similar to what lynx is for web-browsing. Supports RSS 1.0 feeds that comply with the W3C RDF specification and also supports Radio Userland's RSS 0.91 and 2.0 versions. category: Web requires: cygwin libintl8 libncurses8 libxml2 perl zlib a) manual download wget\ http://cygwin.cante.net/snownews/snownews-1.5.7-1-src.tar.bz2 \ http://cygwin.cante.net/snownews/snownews-1.5.7-1.tar.bz2 \ http://cygwin.cante.net/snownews/setup.hint b) automated gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8 mkdir snownews ; cd snownews rm -f get.sh get.sh.sig wgethttp://cygwin.cante.net/snownews/get.sh \ http://cygwin.cante.net/snownews/get.sh.sig gpg --verify get.sh.sig get.sh sh get.sh -- Welcome to FOSS revolution: we fix and modify until it shines
[RFU] bzr 0.92-1 -- Next-generation distributed version control
New upstream release: wget\ http://cygwin.cante.net/bzr/setup.hint \ http://cygwin.cante.net/bzr/bzr-0.92-1-src.tar.bz2 \ http://cygwin.cante.net/bzr/bzr-0.92-1.tar.bz2 Jari -- Welcome to FOSS revolution: we fix and modify until it shines
Re: [GTG] Quilt for git; similar to Mercurial queues
* Tue 2007-10-09 Corinna Vinschen [EMAIL PROTECTED] * Message-Id: [EMAIL PROTECTED] wget\ http://cygwin.cante.net/guilt/guilt-0.27-1-src.tar.bz2 \ http://cygwin.cante.net/guilt/guilt-0.27-1.tar.bz2 \ http://cygwin.cante.net/guilt/setup.hint Resolving cygwin.cante.net... 81.197.175.198 Connecting to cygwin.cante.net|81.197.175.198|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 08:00:52 ERROR 403: Forbidden. Hi Corinna, Missed this post altogether. Could you try now. Jari -- Welcome to FOSS revolution: we fix and modify until it shines
Re: [RFU] mercurial-0.9.5-1
On Nov 29 15:21, Jari Aalto wrote: http://cygwin.cante.net/mercurial/setup.hint \ http://cygwin.cante.net/mercurial/mercurial-0.9.5-1-src.tar.bz2 \ http://cygwin.cante.net/mercurial/mercurial-0.9.5-1.tar.bz2 Uploaded. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Re: [RFU] bzr 0.92-1 -- Next-generation distributed version control
On Nov 29 15:29, Jari Aalto wrote: New upstream release: wget\ http://cygwin.cante.net/bzr/setup.hint \ http://cygwin.cante.net/bzr/bzr-0.92-1-src.tar.bz2 \ http://cygwin.cante.net/bzr/bzr-0.92-1.tar.bz2 Uploaded. Thanks Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Re: [GTG] Quilt for git; similar to Mercurial queues
On Nov 29 15:41, Jari Aalto wrote: * Tue 2007-10-09 Corinna Vinschen [EMAIL PROTECTED] * Message-Id: [EMAIL PROTECTED] wget\ http://cygwin.cante.net/guilt/guilt-0.27-1-src.tar.bz2 \ http://cygwin.cante.net/guilt/guilt-0.27-1.tar.bz2 \ http://cygwin.cante.net/guilt/setup.hint Resolving cygwin.cante.net... 81.197.175.198 Connecting to cygwin.cante.net|81.197.175.198|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 08:00:52 ERROR 403: Forbidden. Hi Corinna, Missed this post altogether. Could you try now. Uploaded. Please announce. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
[ITP] pngquant 1.0-1 -- PNG image optimising utility
Included in Debian stable: http://packages.debian.org/pngquant Jari sdesc: PNG image optimising utility ldesc: pngquant is a command-line conversion utility to quantize and dither truecolor PNG images, especially those with a full alpha channel, down to 8-bit (or smaller) RGBA-palette PNGs. Such images are usually two to four times smaller than the full 32-bit versions, and partial transparency is preserved quite nicely. This makes pngquant especially useful both for Web sites and for PlayStation 2 development, where one of the texture formats is RGBA-palette-based (though not PNG-compressed). This is the same technique used for many of the images on the Miscellaneous Transparent PNGs page (http://www.libpng.org/pub/png/pngs-img.html), and the results are often indistinguishable from the original, truecolor PNG images. category: Graphics requires: cygwin a) manual wget\ http://cygwin.cante.net/pngquant/pngquant-1.0-1-src.tar.bz2 \ http://cygwin.cante.net/pngquant/pngquant-1.0-1.tar.bz2 \ http://cygwin.cante.net/pngquant/setup.hint \ b) automated gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8 mkdir pngquant ; cd pngquant rm -f get.sh get.sh.sig wgethttp://cygwin.cante.net/pngquant/get.sh \ http://cygwin.cante.net/pngquant/get.sh.sig gpg --verify get.sh.sig get.sh sh get.sh -- Welcome to FOSS revolution: we fix and modify until it shines
[GTG] Re: [ITP] pngquant 1.0-1 -- PNG image optimising utility
Jari Aalto writes: Included in Debian stable: http://packages.debian.org/pngquant Builds fine from source and packaging looks good. GTG. Ciao Volker
RE: [GTG] Re: [ITP] snownews-1.5.7 -- Text mode RSS/RDF newsreader
On 29 November 2007 16:51, Dr. Volker Zell wrote: Builds fine from source and packaging looks good. GTG. Just fix the following small typo in your setup hint. diff setup.hint.orig setup.hint 2c2 ldesc: Program is similar to similar to what lynx is for web-browsing. --- ldesc: Program is similar to what lynx is for web-browsing. The construction X is similar to what Y is (... for Z ...) is terribly bad grammar. X does what Y does would be much better. Also an article would be nice. This program does for RSS feeds what lynx does for web-browsing, perhaps? cheers, DaveK -- Can't think of a witty .sigline today
[GTG] Re: [ITP] snownews-1.5.7 -- Text mode RSS/RDF newsreader
Jari Aalto writes: Included in Debian stable: http://packages.debian.org/snownews sdesc: Text mode RSS/RDF newsreader ldesc: Program is similar to similar to what lynx is for web-browsing. Supports RSS 1.0 feeds that comply with the W3C RDF specification and also supports Radio Userland's RSS 0.91 and 2.0 versions. category: Web requires: cygwin libintl8 libncurses8 libxml2 perl zlib Builds fine from source and packaging looks good. GTG. Just fix the following small typo in your setup hint. diff setup.hint.orig setup.hint 2c2 ldesc: Program is similar to similar to what lynx is for web-browsing. --- ldesc: Program is similar to what lynx is for web-browsing. Ciao Volker
RE: gcc 4.x for Cygwin?
On 29 November 2007 17:09, Corinna Vinschen wrote: Dave? Any opinion from the gcc maintainer? My opinion is I'll have time to catch up on this thread at the weekend but I've been in crisis-release-deadline-firefighting mode all week and really need to get a night with more than three hours' sleep first. Sorry for not being more responsive. cheers, DaveKzzsnorkgRMMGF I WAS JUST RESTING MY EYES HONEST! -- Can't think of a witty .sigline today
Please upload: singular-[base/share]-3.0.4-1
Please upload the version update packages for singular: wget \ http://www.mathematik.uni-kl.de/~wienand/Singular/singular-base-3.0.4-1-src.tar.bz2 wget \ http://www.mathematik.uni-kl.de/~wienand/Singular/singular-base-3.0.4-1.tar.bz2 wget \ http://www.mathematik.uni-kl.de/~wienand/Singular/singular-share-3.0.4-1.tar.bz2 Please keep 3.0.3-1 as prev. Thank you, Oliver Wienand
Re: Please upload: singular-[base/share]-3.0.4-1
On Nov 29 18:21, Oliver Wienand [Math.] wrote: wget \ http://www.mathematik.uni-kl.de/~wienand/Singular/singular-base-3.0.4-1-src.tar.bz2 wget \ http://www.mathematik.uni-kl.de/~wienand/Singular/singular-base-3.0.4-1.tar.bz2 wget \ http://www.mathematik.uni-kl.de/~wienand/Singular/singular-share-3.0.4-1.tar.bz2 Uploaded. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Re: gcc 4.x for Cygwin?
On Nov 29 17:15, Dave Korn wrote: On 29 November 2007 17:09, Corinna Vinschen wrote: Dave? Any opinion from the gcc maintainer? My opinion is I'll have time to catch up on this thread at the weekend but I've been in crisis-release-deadline-firefighting mode all week and really need to get a night with more than three hours' sleep first. Sorry for not being more responsive. Ok. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Re: [ITP] pngquant 1.0-1 -- PNG image optimising utility
On Nov 29 17:05, Jari Aalto wrote: http://cygwin.cante.net/pngquant/pngquant-1.0-1-src.tar.bz2 \ http://cygwin.cante.net/pngquant/pngquant-1.0-1.tar.bz2 \ http://cygwin.cante.net/pngquant/setup.hint \ Uploaded. Please announce. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Re: gcc 4.x for Cygwin?
On Nov 27 18:38, Corinna Vinschen wrote: Now for something completely different: Did anything happen in the gcc 4.x world which would help us to get a gcc 4.x for Cygwin at one point? Are some of the problems reported in http://sourceware.org/ml/cygwin-apps/2006-05/msg00044.html fixed in the meantime? As for Charles' options how to go on: (1) either you drop ada and java support, and we live with the ever-increasing brokenness that will accumulate in the sjlj code, or (2) you switch to dwarf2, we keep ada and java, but loose the callback stuff and break backward compatibility. (3) you release TWO entire SETS of compilers: an sjlj one with only C/C++/Fortran, and a real one with DWARF2 and the full compiler suite. This is a support nightmare; I recommend against. I'd opt for option 2. Dave? Any opinion from the gcc maintainer? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Re: [GTG] Re: [ITP] snownews-1.5.7 -- Text mode RSS/RDF newsreader
* Thu 2007-11-29 Dave Korn dave.korn-RQamRl9Jd2/[EMAIL PROTECTED] * Message-Id: [EMAIL PROTECTED] On 29 November 2007 16:51, Dr. Volker Zell wrote: Builds fine from source and packaging looks good. GTG. Just fix the following small typo in your setup hint. diff setup.hint.orig setup.hint 2c2 ldesc: Program is similar to similar to what lynx is for web-browsing. --- ldesc: Program is similar to what lynx is for web-browsing. This program does for RSS feeds what lynx does for web-browsing, perhaps? Fixed, wget \ http://cygwin.cante.net/pngquant/pngquant-1.0-1-src.tar.bz2 \ http://cygwin.cante.net/pngquant/pngquant-1.0-1.tar.bz2 \ http://cygwin.cante.net/pngquant/setup.hint Thanks, Jari -- Welcome to FOSS revolution: we fix and modify until it shines
Re: [GTG] Re: [ITP] snownews-1.5.7 -- Text mode RSS/RDF newsreader
* Thu 2007-11-29 Dave Korn dave.korn-RQamRl9Jd2/[EMAIL PROTECTED] * Message-Id: [EMAIL PROTECTED] On 29 November 2007 18:42, Jari Aalto wrote: This program does for RSS feeds what lynx does for web-browsing, perhaps? Fixed, Yep, ... ... but that's not it! Heh, the perils of maintaining about a million packages at once :-) I must have been blind while copying the links from the terminal. Right, now then: wget\ http://cygwin.cante.net/snownews/snownews-1.5.7-1-src.tar.bz2 \ http://cygwin.cante.net/snownews/snownews-1.5.7-1.tar.bz2 \ http://cygwin.cante.net/snownews/setup.hint Jari -- Welcome to FOSS revolution: we fix and modify until it shines
RE: [GTG] Re: [ITP] snownews-1.5.7 -- Text mode RSS/RDF newsreader
On 29 November 2007 18:42, Jari Aalto wrote: This program does for RSS feeds what lynx does for web-browsing, perhaps? Fixed, Yep, ... wget \ http://cygwin.cante.net/pngquant/pngquant-1.0-1-src.tar.bz2 \ http://cygwin.cante.net/pngquant/pngquant-1.0-1.tar.bz2 \ http://cygwin.cante.net/pngquant/setup.hint ... but that's not it! Heh, the perils of maintaining about a million packages at once :-) cheers, DaveK -- Can't think of a witty .sigline today
RE: [GTG] Re: [ITP] snownews-1.5.7 -- Text mode RSS/RDF newsreader
On 29 November 2007 19:06, Jari Aalto wrote: * Thu 2007-11-29 Dave Korn On 29 November 2007 18:42, Jari Aalto wrote: This program does for RSS feeds what lynx does for web-browsing, perhaps? Fixed, Yep, ... ... but that's not it! Heh, the perils of maintaining about a million packages at once :-) I must have been blind while copying the links from the terminal. Right, now then: wget\ http://cygwin.cante.net/snownews/snownews-1.5.7-1-src.tar.bz2 \ http://cygwin.cante.net/snownews/snownews-1.5.7-1.tar.bz2 \ http://cygwin.cante.net/snownews/setup.hint Yep, I already checked back to your ITP and found them. Packaging looks good, setup.hint reads well, but I had a problem building it: gcc -Wall -Wno-format-y2k -O2 -DLOCALEPATH=\/usr/share/locale\ -DOS=\CYGWIN _NT-5.1\ `xml2-config --cflags` -DSTATIC_CONST_ICONV -c -o zlib_interface.o zlib_interface.c gcc -Wall -Wno-format-y2k -O2 -DLOCALEPATH=\/usr/share/locale\ -DOS=\CYGWIN _NT-5.1\ `xml2-config --cflags` -DSTATIC_CONST_ICONV -c -o support.o suppor t.c gcc main.o netio.o interface.o xmlparse.o updatecheck.o conversions.o dialog.o u i-support.o categories.o about.o cookies.o setup.o net-support.o digcalc.o md5.o filters.o io-internal.o os-support.o zlib_interface.o support.o -o snownews -ln curses `xml2-config --libs` -lintl -liconv conversions.o:conversions.c:(.text+0x5d): undefined reference to `_iconv_open' conversions.o:conversions.c:(.text+0x9b): undefined reference to `_iconv' conversions.o:conversions.c:(.text+0xac): undefined reference to `_iconv_close' conversions.o:conversions.c:(.text+0xc5): undefined reference to `_iconv_close' Info: resolving _stdscr by linking to __imp__stdscr (auto-import) Info: resolving _COLS by linking to __imp__COLS (auto-import) Info: resolving _LINES by linking to __imp__LINES (auto-import) Info: resolving _xmlFree by linking to __imp__xmlFree (auto-import) collect2: ld returned 1 exit status make: *** [snownews] Error 1 There was an error. Run [finish] (y/N) n ... remove the SRC directory when ready ./snownews-1.5.7-1.sh.CygbuildCommandMain: [FATAL] status is 2. I don't know why this happens; I appear to have a valid libiconv link lib installed. I won't have any spare time to investigate today, I'm afraid. cheers, DaveK -- Can't think of a witty .sigline today
[ITP] msmtp 1.4.13-1 -- Light SMTP client with support for server profiles
Included in Debian stable: http://packages.debian.org/msmtp This is sendmail compatible and easy to use e.g. from Mutt: set sendmail=/usr/bin/msmtp Jari sdesc: Light SMTP client with support for server profiles ldesc: A SMTP client that can be used to send mails from Mutt and probably other MUAs (mail user agents). It forwards mails to an SMTP server (for example at a free mail provider), which takes care of the final delivery. Using profiles, it can be easily configured to use different SMTP servers with different configurations, which makes it ideal for mobile clients. category: Mail requires: cygwin libiconv2 libintl8 openssl a) manual wget\ http://cygwin.cante.net/msmtp/setup.hint \ http://cygwin.cante.net/msmtp/msmtp-1.4.13-1-src.tar.bz2 \ http://cygwin.cante.net/msmtp/msmtp-1.4.13-1.tar.bz2 b) automated gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8 mkdir msmtp ; cd msmtp rm -f get.sh get.sh.sig wgethttp://cygwin.cante.net/msmtp/get.sh \ http://cygwin.cante.net/msmtp/get.sh.sig gpg --verify get.sh.sig get.sh sh get.sh -- Welcome to FOSS revolution: we fix and modify until it shines
Re: [GTG] Re: [ITP] snownews-1.5.7 -- Text mode RSS/RDF newsreader
* Thu 2007-11-29 Dave Korn dave.korn-RQamRl9Jd2/[EMAIL PROTECTED] * Message-Id: [EMAIL PROTECTED] conversions.o:conversions.c:(.text+0x5d): undefined reference to `_iconv_open' conversions.o:conversions.c:(.text+0x9b): undefined reference to `_iconv' conversions.o:conversions.c:(.text+0xac): undefined reference to `_iconv_close' conversions.o:conversions.c:(.text+0xc5): undefined reference to `_iconv_close' Info: resolving _stdscr by linking to __imp__stdscr (auto-import) Info: resolving _COLS by linking to __imp__COLS (auto-import) Info: resolving _LINES by linking to __imp__LINES (auto-import) Info: resolving _xmlFree by linking to __imp__xmlFree (auto-import) collect2: ld returned 1 exit status make: *** [snownews] Error 1 There was an error. Run [finish] (y/N) n ... remove the SRC directory when ready ./snownews-1.5.7-1.sh.CygbuildCommandMain: [FATAL] status is 2. I don't know why this happens; I appear to have a valid libiconv link lib installed. I won't have any spare time to investigate today, I'm afraid. This must be environment configuration issue as it worked for Volker. The symbols are in: /usr/lib/libiconv.a[iconv.o]: _libiconv_open T 000147d0 /usr/lib/libiconv.dll.a[d07.o]: __imp__libiconv_open I /usr/lib/libiconv.dll.a[d07.o]: _libiconv_open T Make sure you have libiconv2 Jari -- Welcome to FOSS revolution: we fix and modify until it shines
[GTG] Re: [ITP] msmtp 1.4.13-1 -- Light SMTP client with support for server profiles
Jari Aalto writes: Included in Debian stable: http://packages.debian.org/msmtp Builds fine from source and packaging looks good. Ciao Volker
please upload: nasm-2.00-1
Thanks. http://scarff.id.au/file/cygwin/nasm/nasm-2.00-1-src.tar.bz2 http://scarff.id.au/file/cygwin/nasm/nasm-2.00-1.tar.bz2 http://scarff.id.au/file/cygwin/nasm/setup.hint -- Dean
FW: Problem starting xwin in windows domain
Hi, I recently started migrating users to a Windows domain. We have all been using Cygwin for some time but now in the domain I am experiencing problems. Worse still I can not revert to a working version. I have tried reinstalling and uninstalling but the same problems persist. I am probably missing something but I see no reason it won't start and have been unable to find a solution on the web. We are completely unable to start XServer, it errors out. I got an error message saying to contact here. Thanks for your help. Regards, Paul Cygwin Configuration Diagnostics Current System Time: Wed Nov 28 16:16:34 2007 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: C:\cygwin\lib\subversion\bin 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 Files\Microsoft Office\OFFICE11\Business Contact Manager\IM c:\Program Files\Microsoft SQL Server\80\Tools\Binn\ c:\Program Files\Microsoft Office\OFFICE11\Business Contact Manager\ c:\Sybase\DLL c:\Sybase\BIN c:\sybtools\WIN32 c:\sybtools\ASEP c:\Program Files\QuickTime\QTSystem\ c:\Program Files\cvsnt c:\Program Files\Nortel\Desktop Assistant Pro\ c:\Program Files\Nortel\Shared Files c:\Program Files\Nortel\Call Detail Recording Client\ c:\Program Files\Common Files\Teleca Shared Output from C:\cygwin\bin\id.exe (nontsec) UID: 11108(paulm)GID: 10513(Domain Users) 4(Admin) 10513(Domain Users) 11123(Management) 3(services) Output from C:\cygwin\bin\id.exe (ntsec) UID: 11108(paulm)GID: 10513(Domain Users) 4(Admin) 10513(Domain Users) 11123(Management) 3(services) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS HOME = `c:\Documents and Settings\paulm' MAKE_MODE = `unix' PWD = `/cygdrive/c/Documents and Settings/paulm' USER = `paulm' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\paulm\Application Data' APTLMHOST = [EMAIL PROTECTED]' CLASSPATH = `c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;C:\Program Files\Java\jre1.5.0_04\lib\ext\QTJava.zip' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `PAULM-PC' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' DEFAULT_CA_NR = `CA8' FP_NO_HOST_CHECK = `NO' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\paulm' HOSTNAME = `Paulm-pc' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/aut otool/stable/info:' LIB = `c:\sybase\LIB' LOGONSERVER = `\\WIN1' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/ma n:/usr/X11R6/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/usr/bin' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig' PRINTER = `\\win1\HP LaserJet 4050 Series PCL6' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 4 Stepping 1, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0401' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' QTJAVA = `C:\Program Files\Java\jre1.5.0_04\lib\ext\QTJava.zip' SESSIONNAME = `Console' SHLVL = `1' SYBASE = `C:\Sybase' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `C:\DOCUME~1\paulm\LOCALS~1\Temp' TERM = `cygwin' TEXMF = `{/usr/share/lilypond/2.4.3,}' TMP = `C:\DOCUME~1\paulm\LOCALS~1\Temp' USERDNSDOMAIN = `TELCOTEC.LOCAL' USERDOMAIN = `TELCOTEC' USERNAME = `paulm' USERPROFILE = `C:\Documents and Settings\paulm' 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 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 76230Mb 33% CP CS UN PA FC d: cd N/AN/A u: net NTFS18Mb 1% CP CSPAusersback w: net NTFS217332Mb 1% CP CS UN PA FC y: net NTFS153595Mb 62% CP CSPAgroup z: net NTFS153595Mb 62% CP CSPA
Re: FW: Problem starting xwin in windows domain
Paul Mulcahy wrote: Hi, I recently started migrating users to a Windows domain. We have all been using Cygwin for some time but now in the domain I am experiencing problems. Worse still I can not revert to a working version. I have tried reinstalling and uninstalling but the same problems persist. If you're going to reinstall, why not bring yourself up-to-date. Your cygwin package is years out-of-date. I expect others, with the likely exception of all things X, are in a similar state. I am probably missing something but I see no reason it won't start and have been unable to find a solution on the web. We are completely unable to start XServer, it errors out. I got an error message saying to contact here. And the message is? snip Cygwin Configuration Diagnostics Current System Time: Wed Nov 28 16:16:34 2007 . . . We prefer that you attach rather than append your cygcheck output. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 429-6305 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: FW: Problem starting xwin in windows domain
And the message is? The message is: A fatal error has occurred and cygwin/x will now exit. Please open /tmp/Xwin.log for more information. I have attached the log. We prefer that you attach rather than append your cygcheck output. Apologies, I was having issues posting to the list. I thought the attachment may have been a problem. Thanks, Paul XWin.log Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Having problems with matlab when sshing using Cygwin
I'm not sure if this is the right place to pose the question, but I thought I'd start here. We've got several machine that have cygwin with X installed, when we ssh from them to an HP-UX box and attempt to run an application matlab (which opens up a new window), everything appears to work fine, except you have to use Ctrl-J instead of the enter key. When we're not in matlab, and just at a standard shell prompt, the enter key works like expected. Anyone have any ideas? Scott Mohnkern -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: FW: Problem starting xwin in windows domain
I have noticed that when logged in as 'administrator' everything works but not as a user. Is there anything in particular that Xwin does that that a domain may not allow? ___ Paul Mulcahy Systems Manager Telcotec +353 1 290 9242 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: FW: Problem starting xwin in windows domain
Paul Mulcahy schrieb: Maybe you have a problem with ntfs file permissions. The domain users must have at least write access to tmp and their home directory, and read access to most of the rest. The domain Administrator I suspect it is somewhere in permissions but I have allowed the user and group full access to the C: drive (my machine and test machine). None of this has helped. Did you use mkpasswd to add the domain accounts to cygwins passwd file? Yes I've done this too but it has made little difference. The warning message at the start is gone but it is still the same error message. Are there any registry files that Cygwin needs? I suspect there is something that it can not access that it needs but I am unsure what. At least HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin You could use sysinternals process monitor to track file and registry access and see if something fails. (Or just add everyone full access to see if it makes a difference, but remove that later) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Re: FW: Problem starting xwin in windows domain
You could use sysinternals process monitor to track file and registry access From what I can see nothing is even failing! It's like it just won't work. I assume other people have Cygwin working in a windows domain. Was there some trick? Did you just install as admin and it worked for users? Thanks for the help. Regards, Paul -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: FW: Problem starting xwin in windows domain
Paul Mulcahy wrote: Maybe you have a problem with ntfs file permissions. The domain users must have at least write access to tmp and their home directory, and read access to most of the rest. The domain Administrator usually is in the local Administrators group and will have access (depending on your domain setup). I suspect it is somewhere in permissions but I have allowed the user and group full access to the C: drive (my machine and test machine). None of this has helped. Did you use mkpasswd to add the domain accounts to cygwins passwd file? Yes I've done this too but it has made little difference. The warning message at the start is gone but it is still the same error message. Are there any registry files that Cygwin needs? I suspect there is something that it can not access that it needs but I am unsure what. If you can run cygwin.bat from a command prompt (or just click on it) and you get a command prompt running bash, I think you can eliminate any possibility of incidental registry keys that Cygwin uses (or may not use, going forward). -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 429-6305 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Using XWin.exe to connect to a linux X Server
Greetings. I am trying to connect to a Gentoo X Server and it is connecting, but I don't seem to be able to open an xterm. All I get is a full screen without anything. I am running this command: XWin -query d-tuxedo where d-tuxedo is the X Server. It works well with xinit. Here is the .xinitrc: jicman 23:51:28- cat .xinitrc #!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi # start some nice programs xhost + localhost cd xterm -display $DISPLAY -name xterm-1 -sb \ -sl 1000 -geometry +0+0 xterm -display $DISPLAY -name xterm-2 -sb \ -sl 1000 -geometry +270+190 #fvwm2 wmaker So, what is it that I am doing wrong? I tried searching on different places and google it, but I could not find any thing. Any help would be greated appreciated. thanks, josé -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Using XWin.exe to connect to a linux X Server
Hi, DISPLAY on the Linux box must be set to the IP address of the cygwin box. But DISPLAY on the cygwin box must be set to either localhost or the IP address of this machine. You also must have some method to communicate between both machines. I always used telnet as it was all locally done. You can also take SSH if you do not know who else listens between. Erich jose isaias cabrera wrote: d-tuxedo 00:32:35- set | grep DISPLAY DISPLAY=localhost:0.0 what should it be? - Original Message - From: Erich Dollansky [EMAIL PROTECTED] To: cygwin-xfree@cygwin.com Sent: Friday, November 30, 2007 12:31 AM Subject: Re: Using XWin.exe to connect to a linux X Server Hi, jose isaias cabrera wrote: I am trying to connect to a Gentoo X Server and it is connecting, but I don't seem to be able to open an xterm. All I get is a full screen without anything. I am running this command: I did this for years using FreeBSD as the server. No problems. XWin -query d-tuxedo Ok, I used the startup script provided by cygwin to start the local X server and then connected to the FreeBSD machine. Did you set the DISPLAY variable properly on the Linux box? Erich -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Using XWin.exe to connect to a linux X Server
d-tuxedo 00:32:35- set | grep DISPLAY DISPLAY=localhost:0.0 what should it be? - Original Message - From: Erich Dollansky [EMAIL PROTECTED] To: cygwin-xfree@cygwin.com Sent: Friday, November 30, 2007 12:31 AM Subject: Re: Using XWin.exe to connect to a linux X Server Hi, jose isaias cabrera wrote: I am trying to connect to a Gentoo X Server and it is connecting, but I don't seem to be able to open an xterm. All I get is a full screen without anything. I am running this command: I did this for years using FreeBSD as the server. No problems. XWin -query d-tuxedo Ok, I used the startup script provided by cygwin to start the local X server and then connected to the FreeBSD machine. Did you set the DISPLAY variable properly on the Linux box? Erich -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Using XWin.exe to connect to a linux X Server
Hi, jose isaias cabrera wrote: I am trying to connect to a Gentoo X Server and it is connecting, but I don't seem to be able to open an xterm. All I get is a full screen without anything. I am running this command: I did this for years using FreeBSD as the server. No problems. XWin -query d-tuxedo Ok, I used the startup script provided by cygwin to start the local X server and then connected to the FreeBSD machine. Did you set the DISPLAY variable properly on the Linux box? Erich -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
src/winsup/cygwin ChangeLog dcrt0.cc exception ...
CVSROOT:/cvs/src Module name:src Branch: cr-0x5f1 Changes by: [EMAIL PROTECTED] 2007-11-29 11:14:52 Modified files: winsup/cygwin : ChangeLog dcrt0.cc exceptions.cc mmap.cc thread.cc thread.h winsup/cygwin/include/sys: cygwin.h Log message: Drop old SetResourceLock stuff in favor of mutos. * dcrt0.cc (_reslock): Remove. (__cygwin_user_data): Accommodate removal of resourcelocks member. (dll_crt0_0): Don't initialize resourcelocks. * exceptions.cc (_cygtls::signal_exit): Drop resourcelocks handling. * mmap.cc (mmap_guard): New muto. (LIST_LOCK): Define. (LIST_UNLOCK): Define. (mmap_list::search_record): Remove. (mmap_list::try_map): Include code for anonymous case from mmap_list::search_record. (mmap_is_attached_or_noreserve): Access bookkeeping lists in a thread safe way. (mmap64): Replace SetResourceLock/ReleaseResourceLock by LIST_LOCK/LIST_UNLOCK. Lock at the latest possible point. (munmap): Replace SetResourceLock/ReleaseResourceLock by LIST_LOCK/LIST_UNLOCK. (msync): Ditto. (mprotect): Ditto. * thread.cc (ResourceLocks::Lock): Remove. (SetResourceLock): Remove. (ReleaseResourceLock): Remove. (ResourceLocks::Init): Remove. (ResourceLocks::Delete): Remove. * thread.h (SetResourceLock): Drop declaration. (ReleaseResourceLock): Ditto. (class ResourceLocks): Drop definition. * include/sys/cygwin.h (class ResourceLocks): Drop forward declaration. (struct per_process): Replace resourcelocks with additional unused2 element. (per_process_overwrite): Accommodate above change. * mmap.cc: Convert usage of dynamically growing cmalloced arrays to cmalloced linked lists throughout. (class mmap_record): Add LIST_ENTRY element. (mmap_record::match): New method, taking over match algorithm from list::search_record. (class mmap_list): Rename from class list. Add LIST_ENTRY. Convert recs to a LIST_HEAD. Drop nrecs and maxrecs members. (mmap_list::get_record): Drop entirely. (mmap_list::free_recs): Drop entirely. (mmap_list::del_record): Take mmap_record to delete as parameter. (mmap_list::search_record): Convert to mmap_record::match. (class mmap_areas): Rename from class map. Convert lists to LIST_HEAD. (mmap_areas::get_list): Drop entirely. (mmap_areas::del_list): Take mmap_list to delete as parameter. (mprotect): Fix indentation. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.3582.2.35r2=1.3582.2.36 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.311.4.4r2=1.311.4.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.297.2.1r2=1.297.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.132.2.5r2=1.132.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.199.4.1r2=1.199.4.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.103r2=1.103.8.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/cygwin.h.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.64r2=1.64.4.1
Reading and writing to a cygwin terminal from a WINMAIN() windows application?
Hi there, I'm writing a windows winmain() application which talks to the console, and am having trouble getting it to write() to a cygwin console window. I was hoping that someone on this list might be able to aid me. The application is a dual graphics/CLI program, and so needs to detect whether it is running in a terminal first. If it is then it runs in console mode, otherwise it opens a graphics window (using directx). As such it has a winmain() instead of a main(), and therefore the stdin/stdout channels aren't immediately available to it. Here's what it does: // If we can attach to the parent terminal then we were run in a console window. if (AttachConsole(ATTACH_PARENT_PROCESS)) { m_CLIApp = true; } ... If (m_CLIApp) { // XXX Test output to the console. Why doesn't this approach work in a cygwin console window? // XXX Where does the output go in that case? char s[] = This is the console\r\n; unsigned long cChars; WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE), s, lstrlen(s), cChars, NULL); } Does anyone know why this doesn't output to a cygwin console, although it does if started in a cmd shell? Joe -- 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 1.5.24-2 gcc 3.4.4 stdio.h
On 29 November 2007 04:10, Paul Edwards wrote: until I ran across this C compiler that doesn't even manage to conform to a spec that has been available for around 20 years. I get what you're asking for, and it's perfectly reasonable, but it's just not the compiler's problem. The C compiler does conform; it's the newlib C *run-time library* that is not C89-compatible. Gcc is doing it's part, but gcc does not supply stdio.h; it's up to the library to wrap the headers in #ifdef. Which list do I need to go to to consult someone about modifying newlib? I can probably make the changes to get it at least closer to C89 compliance if I have someone to give patches to. The newlib home page is http://sourceware.org/newlib. There's a newlib@ mailing list hosted at sourceware, and that's where to send patches; the home page has all the usual details of cvs access etc. and how to contribute. I'm sure your help would be welcomed! 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: Perl is installed in /lib, but Config.pm indicates it is in /usr/local/lib
On 29 November 2007 01:47, Etienne wrote: It looks like I misspoke slightly. I reviewed the Config.pm again and it thinks it is installed in /usr/lib. I don't even have a lib directory under usr on a clean install of cygwin. /usr/lib and /usr/bin are aliases for /bin and /lib created using mountpoints. If you look in a cmd.exe shell or explorer, there shouldn't be anything in the bin or lib directory[*] in C:\cygwin\usr (or whereever you installed), in fact they don't really even need to exist. [*] - In fact it would be bad if anything was there because it would be hidden by the mountpoint shadowing the real directory. 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/
[ANNOUNCEMENT] Updated: [experimental] cygwin-1.5.25-2
I've made another version of the Cygwin DLL, 1.5.25-2, and associated utilities available for testing. Version 1.5.24-2 remains the current version for now. This is a bug fix release. If nothing serious crops up within the next couple of days, I intend to make this the new Cygwin version at the end of next week. Changes since the last test version 1.5.25-1: - Fix a bug in memory allocation which results in an enormous waste of internal heap memory when using mmap(2) a lot. - Fix a bug in memory allocation which can result in unexpected SEGVs. Important changes since 1.5.24-2: - Always add LOCAL and INTERACTIVE groups to user tokens to fix some permission problems on Windows 2003 Server and later. - Set preferred IO blocksize to 64K for performance reasons. - Add missing baudrates for serial IO up to 3.000.000 baud. - Fix various race conditions in process exit, in dll initialization, when starting native Win32 processes, and in signal handling. - Fix a couple of buffer-related problems when accessing raw disk devices. - Fix bug in dlclose. - Don't set TZ environment variable in calls to tzset. - Don't follow symlinks in calls to open if O_EXCL is given. - Fix deadlock and reentrancy problems in stdio functions. Fix append mode handling in stdio functions. - Fix append mode bug when accessing files 4 Gigs. - Various fixes to stat/fstat/lstat functions (wrong permission bits, timestamps, etc). - Fix a deadlock problem in fork, as well as a crash on fork after calling shmctl(IPC_RMID). - Add thread-safety to mmap and to XSI IPC calls. - Drop a non-sensical check in pthread_key_create. - Encode special characters in /proc/registry key and value names to avoid invalid character problems. - Assorted fixes to cygpath.exe, cygcheck.exe, dumper.exe and mkgroup.exe. - Various bugfixes to printf/scanf function families. Add support for j, t, and z modifiers to scanf functions. - Close security hole in tmpfile. - Fix potential crashes in argz functions. - Fix long-standing regression in rewind error handling. - Support NULL output buffer in wcstombs. To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions, then look for 'cygwin' in the 'Base' category (it should already be selected). You will need to use the 'Exp' radio button to get the test version. If you have questions or comments, please send them to the Cygwin mailing list. See http://cygwin.com/lists.html for details. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Corinna Vinschen Red Hat -- 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: Rbash in cygwin ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tony Benham on 11/29/2007 6:11 AM: I'm looking for rbash in the cygwin packages but I couldn't see it ? Is this correct ? rbash as in restricted-bash? If so, 'bash -r' or 'cp /bin/bash /bin/rbash; rbash' will try to do what you want. However, I make no claims that the restricted mode of bash is secure, only that it will perform the restrictions mentioned in 'man bash'. Which is why I don't bundle the name rbash in the bash package. But if enough people want it, I suppose I could (it's a one-line change to my cygport build script). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] volunteer cygwin bash maintainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHTr2h84KuGfSFAYARAgh8AJ9wVtNZa9UWlBcc6NkArmNnKmJXywCfZDl3 agM7Iiobf1MFJ3ENTR43nVs= =rFdB -END PGP SIGNATURE- -- 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/
Rbash in cygwin ?
I'm looking for rbash in the cygwin packages but I couldn't see it ? Is this correct ? -- 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: Rbash in cygwin ?
Eric Blake ebb9 at byu.net writes: rbash as in restricted-bash? If so, 'bash -r' or 'cp /bin/bash /bin/rbash; rbash' will try to do what you want. However, I make no claims that the restricted mode of bash is secure, only that it will perform the restrictions mentioned in 'man bash'. Which is why I don't bundle the name rbash in the bash package. But if enough people want it, I suppose I could (it's a one-line change to my cygport build script). Yes I did. I was looking for a restricted bash to add into /etc/passwd for some users just to make it slightly more difficult to browse everywhere for some users. Tony -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] New packages: guilt 0.27-1 -- Quilt for git; similar to Mercurial queues
PACKAGE DESCRIPTION === Homepage: http://packages.debian.org/guilt License : GPL Application (Git Quilt) includes series of bash scripts which add a Mercurial queues-like functionality and interface to git. The one distinguishing feature from other quilt-like porcelains, is the format of the patches directory. _All_ the information is stored as plain text - a series file and the patches (one per file). This easily lends itself to versioning the patches using any number of of SCMs. CHANGES SINCE LAST RELEASE == Not applicaple. INSTALL OR UPGRADE NOTES Standard install. CYGWIN INSTALLATION INFORMATION === To install this package, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. You'll find the package listed in the All category. After installation, read the documentation at directories: /usr/share/doc/package-version/* /usr/share/doc/Cygwin/package-version.README If you have questions or comments, please send them to the Cygwin mailing list at cygwin@cygwin.com. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO This message has been sent to cygwin-announce list. If you want to unsubscribe from the mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] More information on unsubscribing can be found: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at the above URL. -- Welcome to FOSS revolution: we fix and modify until it shines -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] New package: rats-2.1-1 -- Rough Auditing Tool for Security
PACKAGE DESCRIPTION === Homepage: http://www.fortifysoftware.com/security-resources/rats.jsp License : GPL The Rough Auditing Tool for Security, is a security auditing utility for C, C++, php, perl, and python code. RATS scans source code, finding potentially dangerous function calls. The goal of rats is not to definitively find bugs (yet), but to provide a reasonable starting point for performing manual security audits. The initial vulnerability database is taken directly from things that could be easily found when starting with the book, Building Secure Software by Viega and McGraw. CHANGES SINCE LAST RELEASE == Not applicaple. INSTALL OR UPGRADE NOTES Standard install. CYGWIN INSTALLATION INFORMATION === To install this package, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. You'll find the package listed in the All category. After installation, read the documentation at directories: /usr/share/doc/package-version/* /usr/share/doc/Cygwin/package-version.README If you have questions or comments, please send them to the Cygwin mailing list at cygwin@cygwin.com. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO This message has been sent to cygwin-announce list. If you want to unsubscribe from the mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] More information on unsubscribing can be found: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at the above URL. -- Welcome to FOSS revolution: we fix and modify until it shines -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] New package: jlint 3.1-1 -- A Java Program Checker
PACKAGE DESCRIPTION === Homepage: http://sourceforge.net/projects/jlint License : GPL A static code checker for Java. It will find bugs, inconsistencies and synchronization problems by doing data flow analysis and building the lock graph. CHANGES SINCE LAST RELEASE == Not applicaple. INSTALL OR UPGRADE NOTES Standard install CYGWIN INSTALLATION INFORMATION === To install this package, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. You'll find the package listed in the All category. After installation, read the documentation at directories: /usr/share/doc/package-version/* /usr/share/doc/Cygwin/package-version.README If you have questions or comments, please send them to the Cygwin mailing list at cygwin@cygwin.com. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO This message has been sent to cygwin-announce list. If you want to unsubscribe from the mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] More information on unsubscribing can be found: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at the above URL. -- Welcome to FOSS revolution: we fix and modify until it shines -- 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 compiling project (bash error 126, ash error 122)
Hi, I have problems with compiling my project. I'm using cygwin environment. I have project compiled using couple makefiles. I use SHELL=bash or SHELL=ash. The compiler is from TI and is written for windows so I can't try it under linux. For some time everything works fine. But as project have grown mentioned error occur. I think that its bash/ash error, but it should be copiler/linker error too. But there isn't any output. Please, does anyone know, what does bash error 126 or ash error 122 mean? Thx. J.H. output log: using SHELL=/bin/ash ... Creating library: /cygdrive/c/Projects/PER/Project.TH1/dist/rel/MTH_qf28xx-01-00-00-01-DEV/MTH_qf28xx-01-00-00-01-DEV.lib SHELL: C:/cygwin/bin/ash /cygdrive/c/CCStudio_v3.3/C2000/cgtools/bin/ar2000 -rv c:/Projects/PER/Project.TH1/dist/rel/MTH_qf28xx-01-00-00-01-DEV/MTH_qf28xx-01-00-00-01-DEV.lib c:/Projects/PER/Project.TH1/dist/rel/MTH_qf28xx-01-00-00-01-DEV/mth_qf28xx.o /cygdrive/c/CCStudio_v3.3/C2000/cgtools/bin/ar2000: error 122 make[1]: *** [/cygdrive/c/Projects/PER/Project.TH1/dist/rel/MTH_qf28xx-01-00-00-01-DEV/MTH_qf28xx-01-00-00-01-DEV.lib] Error 2 make[1]: Leaving directory `/cygdrive/c/Projects/PER/Library.MTH/mth/qf28xx' make: *** [build_libs] Error 2 using SHELL=/bin/bash Creating library: /cygdrive/c/Projects/PER/Project.TH1/dist/rel/MTH_qf28xx-01-00-00-01-DEV/MTH_qf28xx-01-00-00-01-DEV.lib SHELL: C:/cygwin/bin/bash /cygdrive/c/CCStudio_v3.3/C2000/cgtools/bin/ar2000 -rv c:/Projects/PER/Project.TH1/dist/rel/MTH_qf28xx-01-00-00-01-DEV/MTH_qf28xx-01-00-00-01-DEV.lib c:/Projects/PER/Project.TH1/dist/rel/MTH_qf28xx-01-00-00-01-DEV/mth_qf28xx.o C:/cygwin/bin/bash: /cygdrive/c/CCStudio_v3.3/C2000/cgtools/bin/ar2000: Message too long make[1]: Leaving directory `/cygdrive/c/Projects/PER/Library.MTH/mth/qf28xx' make[1]: *** [/cygdrive/c/Projects/PER/Project.TH1/dist/rel/MTH_qf28xx-01-00-00-01-DEV/MTH_qf28xx-01-00-00-01-DEV.lib] Error 126 make: *** [build_libs] Error 2 -- 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/
configure command does not run.... d2u does not help either...
Hi, I am a new user to cygwin and even to unix. I am trying to compile a package called meep by means of cygwin. While running the configure command I get an error as: ./configure: line 13: $'r': command not found ./configure: line 21: syntax error near unexpected token 'elif' ./configure: line 21: 'elif test -n ${BASH_VERSION+set} set -o posix /de '/null 21;then searching the mailing list someone else (Keon) had this problem and a suggested solution from Larry Hall was to run all the commands under d2u. I tried to do it, but again it didnt help me either. it gave me some errors in the middle telling me in some specific lines the command not found and also at the end cannot run /bin/sh ./config.sub I apologize if the problem sounds really stupid, but I have no idea about unix and its related stuff. Regards, Asa, -- 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/
script for installing cygwin?
I would like to be able to install cygwin with all the packages I want automatically, without having to select them all. (reason is actually because when things go wrong i would like to uninstall and reinstall cygwin, and i do not want to go through that screen selecting a dozen or two packages each time I want to install it) I guess it could be done with a windows program like AutoIt hitting arrow keys and maybe moving the cursor. But I am hoping there is a neater way, like through Cygwin. thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[PATCH] Build DLL for SunRPC package
The attached patch builds librpc.dll, and also fixes some minor source bugs which seem to stop sunrpc-4.0-3 from building with modern gcc / Cygwin. I've also built a binary package for this: http://libvirt.org/sources/win32/ Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903 diff -urb sunrpc-4.0-3/etc/portmap.c sunrpc-4.0-4/etc/portmap.c --- sunrpc-4.0-3/etc/portmap.c 2007-11-29 11:47:15.0 + +++ sunrpc-4.0-4/etc/portmap.c 2007-11-29 11:43:53.0 + @@ -52,7 +52,6 @@ static callit(); -char *malloc(); int reg_service(); void reap(); struct pmaplist *pmaplist; diff -urb sunrpc-4.0-3/rpc/Makefile sunrpc-4.0-4/rpc/Makefile --- sunrpc-4.0-3/rpc/Makefile 2007-11-29 11:47:21.0 + +++ sunrpc-4.0-4/rpc/Makefile 2007-11-29 13:12:36.0 + @@ -30,12 +30,16 @@ HDRS = auth.h auth_unix.h clnt.h netdb.h pmap_clnt.h \ pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h svc_auth.h types.h xdr.h -all rpclib: librpclib.a +all rpclib: librpclib.a librpc.dll librpclib.a: ${OBJS} @echo building librpclib.a @ar cru librpclib.a ${OBJS} +librpc.dll: ${OBJS} + @echo building $@ + gcc -shared -o $@ $^ + install: $(HDRS) librpclib.a @echo Creating RPC header directory -mkdir -p ${DESTDIR}/usr/include/rpc \ @@ -45,11 +49,13 @@ (install -c -m 644 $$i ${DESTDIR}/usr/include/rpc) done @echo Installing RPC library @if [ -f ${DESTDIR}/usr/lib/librpclib.a ]; then rm -f ${DESTDIR}/usr/lib/librpclib.a; fi; + @if [ -f ${DESTDIR}/usr/lib/librpc.dll ]; then rm -f ${DESTDIR}/usr/lib/librpc.dll; fi; @mkdir -p ${DESTDIR}/usr/lib install -c -m 644 librpclib.a ${DESTDIR}/usr/lib ranlib ${DESTDIR}/usr/lib/librpclib.a @if [ -L ${DESTDIR}/usr/lib/librpc.a ]; then rm -f ${DESTDIR}/usr/lib/librpc.a; fi; ln -s ./librpclib.a ${DESTDIR}/usr/lib/librpc.a + install -c -m 644 librpc.dll ${DESTDIR}/usr/lib tags: $(SRCS) $(HDRS) ctags -tw $(SRCS) $(HDRS) @@ -59,7 +65,7 @@ awk ' { printf(%-26s%-16s%s\n, $$1, $$2, $$3) }' ref clean: - rm -f *.o librpclib.a + rm -f *.o librpclib.a librpc.dll lint: $(SRCS) $(HDRS) $(LINT.c) $(SRCS) diff -urb sunrpc-4.0-3/rpc/xdr.c sunrpc-4.0-4/rpc/xdr.c --- sunrpc-4.0-3/rpc/xdr.c 2007-11-29 11:47:39.0 + +++ sunrpc-4.0-4/rpc/xdr.c 2007-11-29 11:40:53.0 + @@ -42,7 +42,6 @@ */ #include stdio.h -char *malloc(); #include rpc/types.h #include rpc/xdr.h diff -urb sunrpc-4.0-3/rpcgen/rpc_util.h sunrpc-4.0-4/rpcgen/rpc_util.h --- sunrpc-4.0-3/rpcgen/rpc_util.h 2007-11-29 11:47:46.0 + +++ sunrpc-4.0-4/rpcgen/rpc_util.h 2007-11-29 11:43:46.0 + @@ -33,8 +33,6 @@ * rpc_util.h, Useful definitions for the RPC protocol compiler * Copyright (C) 1987, Sun Microsystems, Inc. */ -extern char *malloc(); - #define alloc(size) malloc((unsigned)(size)) #define ALLOC(object) (object *) malloc(sizeof(object)) smime.p7s Description: S/MIME Cryptographic Signature
RE: configure command does not run.... d2u does not help either...
On 29 November 2007 15:47, asadollahbaik a. (aa306) wrote: Hi, I am a new user to cygwin and even to unix. I am trying to compile a package called meep by means of cygwin. While running the configure command I get an error as: ./configure: line 13: $'r': command not found Guess #1: Don't use WinZIP (or any other windows GUI program) to unpack .tar.gz files for Cygwin, because they mangle the line ends from LF to CRLF. Use tar xvzf meep-0.10.1.tar.gz in a bash shell instead. Guess #2: If it's not that, you may have installed cygwin in textmode, or be unpacking your tarball on a textmode mountpoint. Please run cygcheck -srv cygcheck.out in a bash shell, and post the resulting cygcheck.out file - as an *attachment*, please - to the list. 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: script for installing cygwin?
jameshanley39 wrote: I would like to be able to install cygwin with all the packages I want automatically, without having to select them all. (reason is actually because when things go wrong i would like to uninstall and reinstall cygwin, and i do not want to go through that screen selecting a dozen or two packages each time I want to install it) I guess it could be done with a windows program like AutoIt hitting arrow keys and maybe moving the cursor. But I am hoping there is a neater way, like through Cygwin. There are many ways to achieve this. The easiest, through 'setup.exe', is just select Install for the All category in the Select Packages page of 'setup.exe'. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] New package: pngquant 1.0-1 -- PNG image optimising utility
PACKAGE DESCRIPTION === Homepage: http://freshmeat.net/projects/pngquant License : GPL pngquant is a command-line conversion utility to quantize and dither truecolor PNG images, especially those with a full alpha channel, down to 8-bit (or smaller) RGBA-palette PNGs. Such images are usually two to four times smaller than the full 32-bit versions, and partial transparency is preserved quite nicely. This makes pngquant especially useful both for Web sites and for PlayStation 2 development, where one of the texture formats is RGBA-palette-based (though not PNG-compressed). This is the same technique used for many of the images on the Miscellaneous Transparent PNGs page (http://www.libpng.org/pub/png/pngs-img.html), and the results are often indistinguishable from the original, truecolor PNG images. CHANGES SINCE LAST RELEASE == See http://freshmeat.net/redir/pngquant/8200/url_changelog/pngquant.CHANGELOG INSTALL OR UPGRADE NOTES Standard install CYGWIN INSTALLATION INFORMATION === To install this package, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. You'll find the package listed in the All category. After installation, read the documentation at directories: /usr/share/doc/package-version/* /usr/share/doc/Cygwin/package-version.README If you have questions or comments, please send them to the Cygwin mailing list at cygwin@cygwin.com. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO This message has been sent to cygwin-announce list. If you want to unsubscribe from the mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] More information on unsubscribing can be found: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at the above URL. -- 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: Reading and writing to a cygwin terminal from a WINMAIN() windows application?
Josef Karthauser wrote: Hi there, I'm writing a windows winmain() application which talks to the console, and am having trouble getting it to write() to a cygwin console window. I was hoping that someone on this list might be able to aid me. The application is a dual graphics/CLI program, and so needs to detect whether it is running in a terminal first. If it is then it runs in console mode, otherwise it opens a graphics window (using directx). As such it has a winmain() instead of a main(), and therefore the stdin/stdout channels aren't immediately available to it. Here's what it does: // If we can attach to the parent terminal then we were run in a console window. if (AttachConsole(ATTACH_PARENT_PROCESS)) { m_CLIApp = true; } Have you tried to call GetLastError to see why the attach fails? ... If (m_CLIApp) { // XXX Test output to the console. Why doesn't this approach work in a cygwin console window? // XXX Where does the output go in that case? char s[] = This is the console\r\n; unsigned long cChars; WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE), s, lstrlen(s), cChars, NULL); } Does anyone know why this doesn't output to a cygwin console, although it does if started in a cmd shell? Joe -- 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/
root privileges
Hi all! I am developing a program that requires root privileges to run (e.g. it calls ioctl to set communication lines at a serial port). Even though I am an administrator of my WinXP workstation, cygwin keeps giving me EPERM. Ok, I've read: http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping but wasn't able to sove my problem anyway. I even tried changing my user group from 513 to 544 in /dev/passwd by directly editing this file... I'd rather not change the program (as it runs fine on linux) but just be recognized as root to have it going on Windows. Is that possible? Thanks in advance. Cheers, Jorge. Jorge M. Pelizzoni ICMC - Universidade de São Paulo -- 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/
Problems Starting sshd as a service through CYGWIN
I am having trouble starting sshd as a Window's service. I've looked over the mailing list archives, but have been unable to find a resolution to my problem. I apologize for the length of this email, but I tried to include all pertinent information. I have attached the output of cygcheck -s -v -r. When I run /usr/sbin/sshd by hand from a CYGWIN terminal, it works. I can remotely access the machine from another computer using SSH. I can successfully install SSHD as a service, but when I try to start the service, it fails. This is true even when I try to start it manually, after my machine has booted. Here's the process I went through after installation of CYGWIN/OpenSSH/OpenSSL: I ran ssh-host-config, and it ran without any errors. When I ran the following, the service failed to start: $ cygrunsrv.exe -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. When I run it like this, I also get an error: $ net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. Window's Event Viewer shows the service starting, and then almost immediately after, stopping: The CYGWIN sshd service was successfully sent a start control. The CYGWIN sshd service entered the stopped state. The Application log again shows the service stopping for a reason I cannot explain: The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: sshd: PID 4956: `sshd' service stopped, exit status: 57. I get the same error, regardless if I run this from a Cygwin window as the Administrator user, or if I run it from a system-owned console window using Igor's sysbash trick. I attempted to remove the sshd service, and install it manually by doing the following (note that I do use the -D option): $ cygrunsrv.exe --verbose -Q sshd Service : sshd Display name: CYGWIN sshd Current State : Stopped Command : /usr/sbin/sshd -D stdin path : /dev/null stdout path : /var/log/sshd.log stderr path : /var/log/sshd.log Environment : CYGWIN=ntsec tty Process Type: Own Process Startup : Automatic Dependencies: tcpip Account : LocalSystem $ cygrunsrv.exe --remove sshd $ cygrunsrv.exe --install sshd -p /usr/sbin/sshd -a -D -y tcpip -d CYGWIN sshd -f Cygwin SSH services $ cygrunsrv.exe --start sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. $ cygrunsrv.exe --verbose -Q sshd Service : sshd Display name: CYGWIN sshd Description : Cygwin SSH services Current State : Stopped Command : /usr/sbin/sshd -D stdin path : /dev/null stdout path : /var/log/sshd.log stderr path : /var/log/sshd.log Process Type: Own Process Startup : Automatic Dependencies: tcpip Account : LocalSystem The cygserver service appears to be working properly: $ cygrunsrv.exe --verbose -Q cygserver Service : cygserver Display name: CYGWIN cygserver Current State : Running Controls Accepted : Stop Command : /usr/sbin/cygserver stdin path : /dev/null stdout path : /var/log/cygserver.log stderr path : /var/log/cygserver.log Process Type: Own Process Startup : Automatic Account : LocalSystem At this point, I uninstalled Cygwin by deleting the c:\CYGWIN folder and reinstalling. After two reboots, (one after uninstalling, and one after reinstalling) I'm still experiencing the same issues. Here are my system details. My machine is running Windows XP Pro, SP2. For readability, I've included some of the information from cygcheck (attached) here. $ uname -a CYGWIN_NT-5.1 dataop 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin $ cvgcheck -s -v -r | grep -i open openssh 4.7p1-2 openssl 0.9.8g-1 I checked to make sure all my mounts were system, and not user mounts: $ mount -m mount -f -s -b C:/Documents and Settings /home mount -f -s -b C:/cygwin/bin /usr/bin mount -f -s -b C:/cygwin/lib /usr/lib
native win32 apps and cygwin-based dlls
Hi all! Can gcc-generated, cygwin-based dlls be loaded by native win32 applications? If so, is there anything special (flags, etc.) about the build (or load) procedure in that case? Thanks in advance. Cheers, Jorge. -- 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/BASH - No prompt after remote login
I recently performed a cygwin update, and am now having a strange issue when logging in remotely via ssh. From the remote computer, I ssh to the cygwin/windows computer, am prompted for my password, and successfully login. At that point, the shell appears to be extremely limited - no prompt, no formatting of ls, no feedback from commands given. The debugging output from the remote computer is in-line below. I'd expect a prompt after that last line, but there is none. The bash shell appears fine when opening cygwin on the windows computer. sftp from the remote computer to the cygwin computer works as expected. === [EMAIL PROTECTED] ssh -v cygwincomputer OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to cygwincomputer[xxx.x.xx.xxx] port 22. debug1: Connection established. debug1: identity file /home/user/.ssh/id_rsa type -1 debug1: identity file /home/user/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_4.7 debug1: match: OpenSSH_4.7 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.3 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server-client aes128-cbc hmac-md5 none debug1: kex: client-server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'cygwincomputer' is known and matches the RSA host key. debug1: Found key in /home/user/.ssh/known_hosts:26 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/user/.ssh/id_rsa debug1: Trying private key: /home/user/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: password [EMAIL PROTECTED]'s password: debug1: Authentication succeeded (password). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = en_US.UTF-8 Last login: Thu Nov 29 13:12:19 2007 from inigo === Cygwin configuration, sshd_config and ssh_config attached. Thanks in advance, Frank Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ cygcheck.out Description: Binary data # $OpenBSD: sshd_config,v 1.75 2007/03/19 01:01:29 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PATH=/bin:/usr/sbin:/sbin:/usr/bin # The strategy used for options in the default sshd_config shipped with # OpenSSH is to specify options with their default value where # possible, but leave them commented. Uncommented options change a # default value. Port 22 #AddressFamily any #ListenAddress 0.0.0.0 #ListenAddress :: # Disable legacy (protocol version 1) support in the server for new # installations. In future the default will change to require explicit # activation of protocol 1 # Protocol 2 # HostKey for protocol version 1 #HostKey /etc/ssh_host_key # HostKeys for protocol version 2 #HostKey /etc/ssh_host_rsa_key #HostKey /etc/ssh_host_dsa_key # Lifetime and size of ephemeral version 1 server key #KeyRegenerationInterval 1h #ServerKeyBits 768 # Logging # obsoletes QuietMode and FascistLogging #SyslogFacility AUTH #LogLevel INFO # Authentication: #LoginGraceTime 2m #PermitRootLogin yes StrictModes no #MaxAuthTries 6 #RSAAuthentication yes #PubkeyAuthentication yes #AuthorizedKeysFile .ssh/authorized_keys # For this to work you will also need host keys in /etc/ssh_known_hosts #RhostsRSAAuthentication no # similar for protocol version 2 #HostbasedAuthentication no # Change to yes if you don't trust ~/.ssh/known_hosts for # RhostsRSAAuthentication and HostbasedAuthentication #IgnoreUserKnownHosts no # Don't read the user's ~/.rhosts and ~/.shosts files #IgnoreRhosts yes # To disable tunneled clear text passwords, change to no here! #PasswordAuthentication yes #PermitEmptyPasswords no # Change to no to disable s/key passwords #ChallengeResponseAuthentication yes # Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes #KerberosTicketCleanup yes #KerberosGetAFSToken no # GSSAPI
Re: Problems Starting sshd as a service through CYGWIN
On 11/29/2007, Kyle Flavin wrote: I am having trouble starting sshd as a Window's service. I've looked over the mailing list archives, but have been unable to find a resolution to my problem. I apologize for the length of this email, but I tried to include all pertinent information. I have attached the output of cygcheck -s -v -r. snip You sure you're not just suffering from some form of http://cygwin.com/acronyms/#BLODA? Of some concern is the fact that you have another installation of some like tools including, apparently, 'ssh'. I don't see these interfering based on the information you sent but Also, your attempts to research and solve this problem are admirable and commendable but you may have taken it a little too far. You mentioned that you can 'sshd' from the command line, though you don't mention the user you are when you run it that way. If you didn't do this from a SYSTEM-owned shell the first time you tried it, you may very well have prohibited yourself from getting this to work for you as a service easily. You may want to consider wiping your installation again and reinstalling. The problem is that permissions on some files get set specifically for the user running of 'sshd' and running it as another user isn't an option. Now it is possible to run around to all the needed files/directories and reset the permissions back to what's needed but that's allot of work and is error prone. Also, given the changes you've tried so far relative to granting/restricting certain permissions, this compounds the problem. So there are a few things to mull over. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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: native win32 apps and cygwin-based dlls
Jorge Marques Pelizzoni wrote: Hi all! Can gcc-generated, cygwin-based dlls be loaded by native win32 applications? If so, is there anything special (flags, etc.) about the build (or load) procedure in that case? http://cygwin.com/faq/faq-nochunks.html#faq.programming.msvs-mingw -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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: update/reinstall openssh problem
On 11/26/2007, Tim Freedom wrote: On Wed, 31 Oct 2007 10:18:19 -0400, Larry Hall wrote: Tim Freedom wrote: Hi - I'm trying to upgrade my currently installed openssh (version 4.6p1-1) yet whenever I select to install the latest 4.7p1-2 (or even reinstall the current 4.6) the setup.exe (or updater if you will) barfs on the 'Uninstalling... openssh' portion and dies with a windows ''setup.exe has encountered a problem and needs to close. We are sorry for the inconvenience.'' with the familiar 3 buttons - debug (which does nothing), Send Error Report, and Don't Send. Can someone please let me know if this is a known issues and/or how to debug/fix this problem. I don't have ssh running as a service or an application when I do this update so I'm not entirely sure why openssh can't be uninstalled easily. You can try downloading a debug version of 'setup.exe' from http://cygwin.com/setup/snapshots/ with it's source (tar.bz). With this, you can run it under 'gdb' to see if that provides more insight. Sorry it took awhile to do this - here is the log requested. Let me know if you need anything else (do please CC me). Looking at the code suggests that '/etc/setup/openssh.lst.gz' is corrupted. What does 'zcat /etc/setup/openssh.lst.gz' say? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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: weird samba problems, latest cygwin, samba 3.0.25b-4.2
I haven't gotten a reply from my message on the 27th. I am reporting what is possibly a bug, and I am happy to help debug it. Surely I am not the only person using a samba fileserver. Any ideas? Thanks, jeff -- 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 Starting sshd as a service through CYGWIN
I have changed quite a bit. Larry Hall (Cygwin) wrote: On 11/29/2007, Kyle Flavin wrote: I am having trouble starting sshd as a Window's service. I've looked over the mailing list archives, but have been unable to find a resolution to my problem. I apologize for the length of this email, but I tried to include all pertinent information. I have attached the output of cygcheck -s -v -r. snip You sure you're not just suffering from some form of http://cygwin.com/acronyms/#BLODA? Of some concern is the fact that you have another installation of some like tools including, apparently, 'ssh'. I don't see these interfering based on the information you sent but Also, your attempts to research and solve this problem are admirable and commendable but you may have taken it a little too far. You mentioned that you can 'sshd' from the command line, though you don't mention the user you are when you run it that way. If you didn't do this from a SYSTEM-owned shell the first time you tried it, you may very well have prohibited yourself from getting this to work for you as a service easily. You may want to consider wiping your installation again and reinstalling. The problem is that permissions on some files get set specifically for the user running of 'sshd' and running it as another user isn't an option. Now it is possible to run around to all the needed files/directories and reset the permissions back to what's needed but that's allot of work and is error prone. Also, given the changes you've tried so far relative to granting/restricting certain permissions, this compounds the problem. So there are a few things to mull over. ;-) -- 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 Starting sshd as a service through CYGWIN
Whoops, ignore the last email, I accidentally must have hit a send hotkey, because I fired it off before I had finished typing. Sorry. I have changed a lot, so I'll probably go back and start fresh one more time. The first time I ran sshd, I did not run it from a system-owned shell; I ran it as Administrator, so perhaps that has something to do with my problem. I'll give it another try. Thanks for the feedback. Larry Hall (Cygwin) wrote: On 11/29/2007, Kyle Flavin wrote: I am having trouble starting sshd as a Window's service. I've looked over the mailing list archives, but have been unable to find a resolution to my problem. I apologize for the length of this email, but I tried to include all pertinent information. I have attached the output of cygcheck -s -v -r. snip You sure you're not just suffering from some form of http://cygwin.com/acronyms/#BLODA? Of some concern is the fact that you have another installation of some like tools including, apparently, 'ssh'. I don't see these interfering based on the information you sent but Also, your attempts to research and solve this problem are admirable and commendable but you may have taken it a little too far. You mentioned that you can 'sshd' from the command line, though you don't mention the user you are when you run it that way. If you didn't do this from a SYSTEM-owned shell the first time you tried it, you may very well have prohibited yourself from getting this to work for you as a service easily. You may want to consider wiping your installation again and reinstalling. The problem is that permissions on some files get set specifically for the user running of 'sshd' and running it as another user isn't an option. Now it is possible to run around to all the needed files/directories and reset the permissions back to what's needed but that's allot of work and is error prone. Also, given the changes you've tried so far relative to granting/restricting certain permissions, this compounds the problem. So there are a few things to mull over. ;-) -- 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/
Failure in building GFortran on Cygwin
For the sake of completeness I want to flag the following. Building GFortran CVS 20071129 trunk 130516 on Cygwin it fails in this way: ... libtool: compile: /tmp/gcc/build/./gcc/xgcc -B/tmp/gcc/build/./gcc/ -B/usr/local/gfortran/i686-pc-cygwin/bin/ -B/usr/local/gfortran/i686-pc-cygwin/lib/ -isystem /usr/local/gfortran/i686-pc-cygwin/include -isystem /usr/local/gfortran/i686-pc-cygwin/sys-include -DHAVE_CONFIG_H -I. -I/tmp/gcc/libgfortran -I. -iquote/tmp/gcc/libgfortran/io -I/tmp/gcc/libgfortran/../gcc -I/tmp/gcc/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -MT system_clock.lo -MD -MP -MF .deps/system_clock.Tpo -c /tmp/gcc/libgfortran/intrinsics/system_clock.c -o system_clock.o /tmp/gcc/libgfortran/intrinsics/system_clock.c: In function 'system_clock_4': /tmp/gcc/libgfortran/intrinsics/system_clock.c:67: error: storage size of 'tzp' isn't known /tmp/gcc/libgfortran/intrinsics/system_clock.c:67: warning: unused variable 'tzp' /tmp/gcc/libgfortran/intrinsics/system_clock.c: In function 'system_clock_8': /tmp/gcc/libgfortran/intrinsics/system_clock.c:130: error: storage size of 'tzp' isn't known /tmp/gcc/libgfortran/intrinsics/system_clock.c:130: warning: unused variable 'tzp' make[3]: *** [system_clock.lo] Error 1 make[3]: Leaving directory `/tmp/gcc/build/i686-pc-cygwin/libgfortran' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/gcc/build/i686-pc-cygwin/libgfortran' make[1]: *** [all-target-libgfortran] Error 2 make[1]: Leaving directory `/tmp/gcc/build' make: *** [all] Error 2 The build was configured (as always): ${gcc_dir}/configure --prefix=${prefix_dir} \ --exec-prefix=${prefix_dir} \ --sysconfdir=${prefix_dir}/etc \ --libdir=${prefix_dir}/lib \ --libexecdir=${prefix_dir}/lib \ --mandir=${prefix_dir}/share/man \ --infodir=${prefix_dir}/share/info \ --enable-languages=c,fortran \ --enable-bootstrap \ --enable-decimal-float=bid \ --enable-libgomp \ --enable-threads \ --enable-sjlj-exceptions \ --enable-version-specific-runtime-libs \ --enable-nls \ --enable-checking=release \ --disable-fixed-point \ --disable-libmudflap \ --disable-shared \ --disable-win32-registry \ --with-system-zlib \ --without-included-gettext \ --without-x The Cygwin version is 1.5.25-2 (exp.). Cheers, Angelo. --- http://www.webalice.it/angelo.graziosi Facesti come quei che va di notte, che porta il lume dietro e se' non giova, ma dopo se' fa le persone dotte. DANTE, Purgatorio, XXII 67-69 -- 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 Starting sshd as a service through CYGWIN
Kyle Flavin wrote: Whoops, ignore the last email, I accidentally must have hit a send hotkey, because I fired it off before I had finished typing. Sorry. I have changed a lot, so I'll probably go back and start fresh one more time. The first time I ran sshd, I did not run it from a system-owned shell; I ran it as Administrator, so perhaps that has something to do with my problem. I'll give it another try. Thanks for the feedback. You're welcome. Hope you're successful. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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 mkgroup
Erik Weibust wrote: I am having problems with a new cygwin install on windows vista business. The first time I log in I get an error message about my group being mkgroup. The error message states to run mkpasswd and mkgroup with the -d flag for domain users. I get a very large passwd file when running this. Am I safe to delete the majority of the users from the passwd file, mainly just leaving my own login? I'm guessing there are some admin type users that probably need to still be there. Is there a list of the users to keep, because my file if very, very long? You can trim out whatever you like from the file but you should make sure that you leave whatever groups your users are a part of. There shouldn't be a great harm in leaving well enough alone though. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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: root privileges
First of all, please believe that I spent almost three hours going through the mailing list archives before asking this. It's just that I (and many others) have not been able to find a solution there. I'm not running a program that tests for rootness in some non-portable way. I'm just calling an innocent ioctl directly into cygwin, which tells me I need more permissions. Just for clarification, here is the problem code: ioctl(fd,TIOCMGET,status); status = ~TIOCM_RTS; ioctl(fd, TIOCMSET, status); // returns -EPERM Apart from having a privileged (administrator) windows account, should I understand (from http://cygwin.com/cygwin-ug-net/ntsec.html) that all cygwin asks for is that I should get things right in /etc/passwd and /etc/group? Please take a look at what I've tried so far: in /etc/passwd: (original) jorge:*:1008:513:Jorge,U-QUICKSILVER\jorge,S-1-5-21-1450639292-781126914-3756273746-1008:/home/jorge:/bin/bash (1st try) jorge:*:1008:544:Jorge,U-QUICKSILVER\jorge,S-1-5-21-1450639292-781126914-3756273746-1008:/home/jorge:/bin/bash (2nd try) jorge:*:100:0:Jorge,U-QUICKSILVER\jorge,S-1-5-21-1450639292-781126914-3756273746-1008:/home/jorge:/bin/bash (3rd try) jorge:*:0:0:Jorge,U-QUICKSILVER\jorge,S-1-5-21-1450639292-781126914-3756273746-1008:/home/jorge:/bin/bash in /etc/group (for the 2nd and 3rd tries above, I added the following line): root:S-1-5-32-544:0: Finally, I even tried running the program from a SYSTEM-owned shell, to no avail. Thanks in advance for any pointers. Cheers, Jorge. Jorge Marques Pelizzoni escreveu: Hi all! I am developing a program that requires root privileges to run (e.g. it calls ioctl to set communication lines at a serial port). Even though I am an administrator of my WinXP workstation, cygwin keeps giving me EPERM. Ok, I've read: http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping but wasn't able to sove my problem anyway. I even tried changing my user group from 513 to 544 in /dev/passwd by directly editing this file... I'd rather not change the program (as it runs fine on linux) but just be recognized as root to have it going on Windows. Is that possible? Thanks in advance. Cheers, Jorge. -- 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 mkgroup
I am having problems with a new cygwin install on windows vista business. The first time I log in I get an error message about my group being mkgroup. The error message states to run mkpasswd and mkgroup with the -d flag for domain users. I get a very large passwd file when running this. Am I safe to delete the majority of the users from the passwd file, mainly just leaving my own login? I'm guessing there are some admin type users that probably need to still be there. Is there a list of the users to keep, because my file if very, very long? Thanks Erik -- Erik Weibust developer, blogger - http://erik.weibust.net leader Dallas Java User Group (JavaMUG) - http://javamug.org leader Dallas Spring User Group (SDUG) - http://SpringDallasUG.org Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ -- 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: Failure in building GFortran on Cygwin
Angelo Graziosi wrote: For the sake of completeness I want to flag the following. Building GFortran CVS 20071129 trunk 130516 on Cygwin it fails in this way: ... libtool: compile: /tmp/gcc/build/./gcc/xgcc -B/tmp/gcc/build/./gcc/ -B/usr/local/gfortran/i686-pc-cygwin/bin/ -B/usr/local/gfortran/i686-pc-cygwin/lib/ -isystem /usr/local/gfortran/i686-pc-cygwin/include -isystem /usr/local/gfortran/i686-pc-cygwin/sys-include -DHAVE_CONFIG_H -I. -I/tmp/gcc/libgfortran -I. -iquote/tmp/gcc/libgfortran/io -I/tmp/gcc/libgfortran/../gcc -I/tmp/gcc/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -MT system_clock.lo -MD -MP -MF .deps/system_clock.Tpo -c /tmp/gcc/libgfortran/intrinsics/system_clock.c -o system_clock.o /tmp/gcc/libgfortran/intrinsics/system_clock.c: In function 'system_clock_4': /tmp/gcc/libgfortran/intrinsics/system_clock.c:67: error: storage size of 'tzp' isn't known /tmp/gcc/libgfortran/intrinsics/system_clock.c:67: warning: unused variable 'tzp' /tmp/gcc/libgfortran/intrinsics/system_clock.c: In function 'system_clock_8': /tmp/gcc/libgfortran/intrinsics/system_clock.c:130: error: storage size of 'tzp' isn't known /tmp/gcc/libgfortran/intrinsics/system_clock.c:130: warning: unused variable 'tzp' make[3]: *** [system_clock.lo] Error 1 make[3]: Leaving directory `/tmp/gcc/build/i686-pc-cygwin/libgfortran' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/gcc/build/i686-pc-cygwin/libgfortran' make[1]: *** [all-target-libgfortran] Error 2 make[1]: Leaving directory `/tmp/gcc/build' make: *** [all] Error 2 The build was configured (as always): ${gcc_dir}/configure --prefix=${prefix_dir} \ --exec-prefix=${prefix_dir} \ --sysconfdir=${prefix_dir}/etc \ --libdir=${prefix_dir}/lib \ --libexecdir=${prefix_dir}/lib \ --mandir=${prefix_dir}/share/man \ --infodir=${prefix_dir}/share/info \ --enable-languages=c,fortran \ --enable-bootstrap \ --enable-decimal-float=bid \ --enable-libgomp \ --enable-threads \ --enable-sjlj-exceptions \ --enable-version-specific-runtime-libs \ --enable-nls \ --enable-checking=release \ --disable-fixed-point \ --disable-libmudflap \ --disable-shared \ --disable-win32-registry \ --with-system-zlib \ --without-included-gettext \ --without-x The Cygwin version is 1.5.25-2 (exp.). I can confirm this. I saw it last wekend trying to do my regular cygwin build of gfortran for the wiki. The build died and I assumed I did something wrong and was going to try back later. Well this is definitely a regression somewhere. Its not on the gfortran side which has not touched that file for several months. It could be something broke in the configure for cygwin. The error occurs in a conditional comapile: #if defined(HAVE_SYS_TIME_H) defined(HAVE_GETTIMEOFDAY) I will open a PR to track this. Jerry Jerry -- 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: weird samba problems, latest cygwin, samba 3.0.25b-4.2
On 11/29/2007 2:21 PM, jeff wrote: Surely I am not the only person using a samba fileserver. You're not, of course. I tried your test case with my samba server (Debian etch, version 3.0.24-6etch8) and it worked just fine. I'm using ext3 filesystems on the samba server. I did not have smbntsec set. -- David Rothenberger [EMAIL PROTECTED] Jesus may love you, but I think you're garbage wrapped in skin. -- Michael O'Donohugh -- 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: configure command does not run.... d2u does not help either...
Dave Korn wrote: On 29 November 2007 15:47, asadollahbaik a. (aa306) wrote: Hi, I am a new user to cygwin and even to unix. I am trying to compile a package called meep by means of cygwin. While running the configure command I get an error as: ./configure: line 13: $'r': command not found Guess #1: Don't use WinZIP (or any other windows GUI program) to unpack .tar.gz files for Cygwin, because they mangle the line ends from LF to CRLF. Use tar xvzf meep-0.10.1.tar.gz in a bash shell instead. Guess #2: If it's not that, you may have installed cygwin in textmode, or be unpacking your tarball on a textmode mountpoint. Please run cygcheck -srv cygcheck.out in a bash shell, and post the resulting cygcheck.out file - as an *attachment*, please - to the list. #3 what if this is a typical gcc style configure, where you are supposed to configure and build in a clean directory? -- 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: root privileges
On Thu, Nov 29, 2007 at 09:54:33PM -0200, Jorge Marques Pelizzoni wrote: First of all, please believe that I spent almost three hours going through the mailing list archives before asking this. It's just that I (and many others) have not been able to find a solution there. I'm not running a program that tests for rootness in some non-portable way. I'm just calling an innocent ioctl directly into cygwin, which tells me I need more permissions. Just for clarification, here is the problem code: ioctl(fd,TIOCMGET,status); status = ~TIOCM_RTS; ioctl(fd, TIOCMSET, status); // returns -EPERM Apart from having a privileged (administrator) windows account, should I understand (from http://cygwin.com/cygwin-ug-net/ntsec.html) that all cygwin asks for is that I should get things right in /etc/passwd and /etc/group? Please take a look at what I've tried so far: in /etc/passwd: (original) jorge:*:1008:513:Jorge,U-QUICKSILVER\jorge,S-1-5-21-1450639292-781126914-3756273746-1008:/home/jorge:/bin/bash (1st try) jorge:*:1008:544:Jorge,U-QUICKSILVER\jorge,S-1-5-21-1450639292-781126914-3756273746-1008:/home/jorge:/bin/bash (2nd try) jorge:*:100:0:Jorge,U-QUICKSILVER\jorge,S-1-5-21-1450639292-781126914-3756273746-1008:/home/jorge:/bin/bash (3rd try) jorge:*:0:0:Jorge,U-QUICKSILVER\jorge,S-1-5-21-1450639292-781126914-3756273746-1008:/home/jorge:/bin/bash in /etc/group (for the 2nd and 3rd tries above, I added the following line): root:S-1-5-32-544:0: Finally, I even tried running the program from a SYSTEM-owned shell, to no avail. Thanks in advance for any pointers. Cheers, There is never a case where Cygwin sets errno which implies that you need root privileges. You may need more privileges in the Windows sense but you don't need to specify root in your /etc/passwd to get the job done. Cygwin maps to EPERM from two different Windows errors: ERROR_CANNOT_MAKE and ERROR_NOT_OWNER. I don't know which of these is causing your problems but maybe that will give you a clue about what is going wrong. And, as a last resort, there's always the option of looking at the Cygwin source code. 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/
Latin (accented) characters and subversion
I'm having difficulty importing files into subversion if their names contain accented characters. I've spent several hours googling for information, and I've read the FAQ regarding international characters, without being able to solve this issue. I'd certainly appreciate any help that any of you can offer. Here's my simple test case: cd /cygdrive/c/temp/Test ll total 0 drwxrwxrwt+ 2 LarryAzlin None 0 Nov 29 20:31 ./ drwxrwxrwt+ 5 LarryAzlin None 0 Nov 29 20:48 ../ -rwxrwxrwx+ 1 LarryAzlin None 0 Nov 23 13:20 é.txt* svnadmin create archive_cyg svn import *.txt file:///cygdrive/c/temp/Test/archive_cyg -m Initial import svn: Can't convert string from native encoding to 'UTF-8': svn: ?\233.txt Using the normal Windows version of subversion I have no problems doing the above. They are both the same version - 1.4.5 (r25118). Other than this issue, subversion under Cygwin seems to work fine. I've attached the output of cygcheck... Thanks. Larry Azlin Get easy, one-click access to your favorites. Make Yahoo! your homepage. http://www.yahoo.com/r/hs cygcheck.out Description: Binary data -- 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/
New package: rats-2.1-1 -- Rough Auditing Tool for Security
PACKAGE DESCRIPTION === Homepage: http://www.fortifysoftware.com/security-resources/rats.jsp License : GPL The Rough Auditing Tool for Security, is a security auditing utility for C, C++, php, perl, and python code. RATS scans source code, finding potentially dangerous function calls. The goal of rats is not to definitively find bugs (yet), but to provide a reasonable starting point for performing manual security audits. The initial vulnerability database is taken directly from things that could be easily found when starting with the book, Building Secure Software by Viega and McGraw. CHANGES SINCE LAST RELEASE == Not applicaple. INSTALL OR UPGRADE NOTES Standard install. CYGWIN INSTALLATION INFORMATION === To install this package, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. You'll find the package listed in the All category. After installation, read the documentation at directories: /usr/share/doc/package-version/* /usr/share/doc/Cygwin/package-version.README If you have questions or comments, please send them to the Cygwin mailing list at [EMAIL PROTECTED]. CYGWIN-ANNOUNCE UNSUBSCRIBE INFO This message has been sent to cygwin-announce list. If you want to unsubscribe from the mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] More information on unsubscribing can be found: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at the above URL. -- Welcome to FOSS revolution: we fix and modify until it shines