Re: Bash problem

2009-04-30 Thread david sastre
2009/4/30 Ken Brown : > A build script I was running failed because it had a command of the form > 'eval foo=bar time '.  Here's a simple test case: > > $ eval foo=bar time true > -bash: time: command not found > > It works fine without foo=bar: > > $ eval time true > > real    0m0.060s > user    0

Re: Windows Share Folder Problem

2009-05-11 Thread david sastre
Hello there! I use this and works for me: net use Z: vm-webin\\d$ my_password /user:myself Then you can access the shared folder simply by cd /cygdrive/z Hope this is helpful. Good luck! 2009/5/11, Neeraj Sahu : > Hi Andy, > > Thanks a lot for your help. > > I have successfully accessed t

Re: Strange SSH disconnect problem

2010-01-21 Thread david sastre
2010/1/21, Rene Caspari : > Hello, > > I have a strange problem using openssh (client) with cygwin and > Windows7. After starting Windows I start a SSH connection from within > mintty and bash to Server A, afterwards Server B, C and so on. > If the SSH to B and C is idle for some time, the connecti

"GCC is not found" and "compiler cannot create executables" errors

2010-04-08 Thread david sastre
Hello, Yesterday (still under1.7.3) I had a "compiler not found" and a "compiler cannot create executables" errors while trying to build some standard apps, i.e. nginx. I tried reinstalling gcc related packages under devel section with no luck. Today, I tried again, there has been also an (automat

Re: "GCC is not found" and "compiler cannot create executables" errors

2010-04-08 Thread david sastre
2010/4/8, Dave Korn : > On 08/04/2010 13:11, david sastre wrote: > >> Yesterday (still under1.7.3) I had a "compiler not found" and a >> "compiler cannot create executables" errors while trying to build some >> standard apps, i.e. nginx. > >>

Re: "GCC is not found" and "compiler cannot create executables" errors

2010-04-08 Thread david sastre
2010/4/8, Warren Young : > On 4/8/2010 6:11 AM, david sastre wrote: >> >> Yesterday (still under1.7.3) I had a "compiler not found" and a >> "compiler cannot create executables" errors while trying to build some >> standard apps, i.e. ngi

Re: "GCC is not found" and "compiler cannot create executables" errors

2010-04-08 Thread david sastre
ntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz Regards. 2010/4/8, david sastre : > Sorry for the private mail, didn't mean to do that. > Resend to the list. > > ------ Forwarded message -- > From: da

Re: "GCC is not found" and "compiler cannot create executables" errors

2010-04-08 Thread david sastre
win/4.3.4/../../../../i686-pc-cygwin/lib/../../include/w32api hola.mundo.c -mtune=generic -march=i686 -fpch-preprocess -o hola.mundo.i $ ll hola.mundo.* -rw-r- 1 Administrador Administradores 62 abr 8 16:31 hola.mundo.c Regards. 2010/4/8, Csaba Raduly : > On Thu, Apr 8, 2010 at 4:36 PM, david

Re: "GCC is not found" and "compiler cannot create executables" errors

2010-04-09 Thread david sastre
Hello, >Csaba Raduly wrote: >I think it's time for > >cygcheck /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe > >Perhaps one of these is missing: > C:\cygwin\bin\cyggmp-3.dll > C:\cygwin\bin\cygmpfr-1.dll Not exactly, but that was the main problem: $ cygcheck /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe

Re: "GCC is not found" and "compiler cannot create executables" errors

2010-04-09 Thread david sastre
Hello, Thanks for the explanation. This also solves another recent mystery (for me): why I have unable to properly use another locally built program: $ cygcheck /usr/local/sbin/lighttpd -> C:\cygwin\usr\local\sbin\..\stow\lighttpd-1.4.26\sbin\lighttpd.exe C:\cygwin\usr\local\sbin\..\stow\lighttp

Re: "GCC is not found" and "compiler cannot create executables" errors

2010-04-09 Thread david sastre
They already are, but as long as I use stow, some stuff are reachable from my $PATH only as symlinks: $ ll /usr/local/bin/cyglightcomp.dll lrwxrwxrwx 1 Administrador Administradores 44 abr 9 13:05 /usr/local/bin/cyglightcomp.dll -> ../stow/lighttpd-1.4.26/bin/cyglightcomp.dll* Copying the stubbo

Re: "GCC is not found" and "compiler cannot create executables" errors

2010-04-09 Thread david sastre
That is not an option. My $PATH would become endless. $ ll /usr/local/bin | grep stow | wc -l 349 Anyway, as long as it takes just a few DLLs to be copied to the path and not symlinked, I think I can handle it. But probably building a package for the setup installer would be a better choice. I g

[ANNOUNCEMENT] New package: makeself-2.1.5-2

2010-04-21 Thread david sastre
New package "makeself-2.1.5-2" has been uploaded. makeself is a small shell script that generates a self-extractable archive from a directory. The resulting file appears as a shell script (many of those have a .run suffix), and can be launched as is. The archive will then uncompress itself to a te

Re: Using nano in mintty : missing cursor

2010-04-22 Thread david sastre
Hello, You can try to change the settings in Options->Looks->Cursor to a block cursor, for example, and check if you can see it. It works for me with a line cursor in minnty-0.6.2-1 Regards. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ D

Re: renameutils fails to build, error linking libintl?

2010-04-27 Thread David Sastre
Hello, Thanks for the feedback. It wasn't very difficult to trick the Makefile.am to include that flag, but I think that what I did is not the proper way to handle this issue, even though it produces valid binaries, so I reported this to the developer, because I think that could be a buggy behavio

Re: New package: makeself-2.1.5-2

2010-04-28 Thread David Sastre
extension, other distros strip it, i.e. Debian It looks like there is not a strict policy defined, anyway: $ ls /usr/bin | egrep "\.(pl|py|sh|rb)" | wc -l 161 Regards. 2010/4/28, Lee D. Rothstein : > david sastre wrote: >> New package "makeself-2.1.5-2" has been up

Re: C-o in GNU MC and mintty/rxvt issue?

2010-05-13 Thread David Sastre
2010/5/13, Oleksandr Gavenko : > On 2010.05.12 22:26, d.sastre.medina at gmail dot com wrote: >> On Wed, May 12, 2010 at 05:36:19PM +0300, Oleksandr Gavenko wrote: >>> On 2010.05.12 16:11, Oleksandr Gavenko wrote: Recently I decide switch from Far/Total Commander to GNU MC. I use Cygwin 1

Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)

2011-03-08 Thread David Sastre
2011/3/8, Chris Sutcliffe wrote: > On 7 March 2011 17:46, Andy Koppe wrote: >> On 7 March 2011 22:13, Ken Brown wrote: >>> On 3/7/2011 8:42 AM, Andy Koppe wrote: In the current 3.9-3, TEMP and TMP are unset in ~/.bashrc, as suggested here by Corinna. Thing is, ~/.bashrc is only sourced fo

Re: native console apps from #!/bin/sh scripts

2011-03-11 Thread David Sastre
2011/3/11, Andrew DeFaria wrote: > On 03/11/11 02:59, Rafael Kitover wrote: >> I can run native console apps from a console in a cygwin shell fine, >> however, for some reason they don't work correctly from a #!/bin/sh >> script. >> >> E.g., for activestate perl: >> TERM=dumb /c/Perl/bin/perl -MCPA

Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)

2011-03-11 Thread David Sastre
On Thu, Mar 10, 2011 at 10:17:08AM +0100, Corinna Vinschen wrote: > On Mar 9 20:29, Thomas Wolff wrote: > > Am 09.03.2011 10:26, schrieb Corinna Vinschen: > > >That's certainly feasible in some way, but I don't understand what > > >you're trying to accomplish. In what situation would this have to

[ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-12 Thread David Sastre
Version 4.0-4 of base-files has been uploaded. Base-files is a set of system configuration and setup files. A detailed list of bugfixes and changes in this release can be found in the ChangeLog included in the package. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubs

Re: gzip-1.3.12-2 build from source fails with errors during make

2011-03-13 Thread David Sastre
On Sun, Mar 13, 2011 at 01:47:29PM +, ymcp wrote: > I'm trying to build the latest gzip-1.3.12-2 from source, following > the instructions in "/usr/src/gzip-1.3.12-2/INSTALL", but get some > errors during the "make" step. > > ---

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread David Sastre
On Mon, Mar 14, 2011 at 10:42:03AM -0700, Matt Seitz (matseitz) wrote: > "David Sastre" wrote in message > > A detailed list of bugfixes and changes in this release can be > > found in the ChangeLog included in the package. > > In the future, would you make availa

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread David Sastre
On Mon, Mar 14, 2011 at 12:14:19PM +0100, Corinna Vinschen wrote: > Hi David, > > I was just testing some experimental Cygwin code on Windows 2000. > I now get this on every invocation of the shell: > > bash: /proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows NT/ > CurrentVersion/Windows

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-16 Thread David Sastre
On Mon, Mar 14, 2011 at 10:30:59PM +0100, David Sastre wrote: > On Mon, Mar 14, 2011 at 12:14:19PM +0100, Corinna Vinschen wrote: > > Hi David, > > > > I was just testing some experimental Cygwin code on Windows 2000. > > I now get this on every invocation of the

Re: /etc/profile optimization and correctness

2011-03-16 Thread David Sastre
On Wed, Mar 16, 2011 at 07:31:28PM +1100, Brian Ha wrote: > Your fix: > > # Zero forks > > read -r PRINTER< > '/proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows > NT/CurrentVersion/Windows/Device' > export PRINTER=${PRINTER%%,*} > > Broke my install: > > bash: /proc/registry/HKEY_CURR

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread David Sastre
On Thu, Mar 17, 2011 at 04:10:27PM -0500, Nellis, Kenneth wrote: > > From: Eric Blake > > On 03/17/2011 12:59 PM, Angelo Graziosi wrote: > > > Il 17/03/2011 19.00, Angelo Graziosi ha scritto: > > >> I have just updated Cygwin, and now starting a console (Cygwin.bat > > or > > >> MinTTY) prints: > >

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread David Sastre
On Thu, Mar 17, 2011 at 11:43:26PM +0100, Angelo Graziosi wrote: > David Sastre wrote: > >Please test if > > > >[ -e "${p}" ] && read -r PRINTER < "${p}" && PRINTER=${PRINTER%%,*} > > No, I think. > > I get: > > $

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 12:46:26AM +0100, Cyrille Lefevre wrote: > > Le 17/03/2011 23:43, Angelo Graziosi a écrit : > > >p='/proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows > >NT/CurrentVersion/Windows/Device' > > > >[ -e "${p}" ] && read -r PRINTER < "${p}" && PRINTER=${PRINTER%%,*} >

Re: /etc/profile in base-files 4.0-5

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 08:22:01AM -0700, Marc Girod wrote: > /etc/profile: line 39: ${p}: ambiguous redirect > It sounds ${p} should be quoted to take care of possible spaces in the path > to the Windows device: Thanks for reporting. A fix is on its way. See http://cygwin.com/ml/cygwin/2011-03/m

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 02:17:14PM +, Andy Koppe wrote: > On 18 March 2011 13:46, David Sastre wrote: > > All [[, have been changed to a portable [ test. > > I've changed `test -a' for a portable `test -e', and the -a operator > > in the user

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 11:14:09AM -0500, Nellis, Kenneth wrote: > While you're at it, it would probably be a good idea to: > $ unset p > when you're done with it. Indeed. Already applied. In fact, there was another one (fDest, used in a loop to copy skel files). Thanks. -- Huella de clave pri

Re: Problems with the new base-files-4.0-5?

2011-03-18 Thread David Sastre
On Fri, Mar 18, 2011 at 04:41:49PM +, Andy Koppe wrote: > On 18 March 2011 16:23, David Sastre wrote: > > On Fri, Mar 18, 2011 at 02:17:14PM +, Andy Koppe wrote: > >> On 18 March 2011 13:46, David Sastre wrote: > >> > All [[, have been changed to a portab

[ANNOUNCEMENT] Updated base-files-4.0-6

2011-03-18 Thread David Sastre
Version 4.0-6 of base-files has been uploaded. Base-files is a set of system configuration and setup files. Change Log -- 4.0-6 * Re-corrected PRINTER setting. * Dropped non-POSIX tests in /etc/profile - Eric Blake * Dropped user's homedir ownership test. *** CY

Re: Slight issue in base-files-4.0-6

2011-03-22 Thread David Sastre
2011/3/22, Bravery, Gavin S wrote: > I have a minor issue with the /etc/profile file in base files. > > I still use KSH (generally pdksh) and there is a problem with how this file > is setting PS1. > Basically, the escapes aren't working right (in XWindows at the very least). > > So I have now chan

Re: Slight issue in base-files-4.0-6

2011-03-22 Thread David Sastre
2011/3/22, Bravery, Gavin S wrote: Basically, the escapes aren't working right (in XWindows at the very least). So I have now changed it to say: case "${KSH_VERSION}" in *MIRBSD*KSH* ) PS1=$(print '^[]0;${PWD}\n^[[32m${USER}@${HOSTNAME} ^[[33m${PWD/${

Re: PATH environment variables failed to evaluate correctly

2011-03-22 Thread David Sastre
On Tue, Mar 22, 2011 at 08:28:49PM +0530, chandan_c9 wrote: > I have installed Cygwin yesterday.I want to extract a .run file but I am > getting > error as PATH environment variables failed to evaluate correctly. > I am not getting clue by searching on google. Hello, Files with a *.run extensio

Re: [ANNOUNCEMENT] Updated base-files-4.0-6

2011-04-01 Thread David Sastre
On Thu, Mar 31, 2011 at 12:24:33PM +0100, Jon TURNEY wrote: > On 31/03/2011 01:03, Cyrille Lefevre wrote: > > Le 31/03/2011 01:53, Cyrille Lefevre a écrit : > >> Le 18/03/2011 19:45, David Sastre a écrit : > >>> Version 4.0-6 of base-files has been uploaded. >

Re: Additional Infos: Strange error during /etc/profile

2011-04-04 Thread David Sastre
On Mon, Apr 04, 2011 at 11:02:57AM +0200, DEWI - N. Zacharias wrote: > > After updating cygwin to the newest version after 3 Month I get a strange > > error if I start the Xwindow with bash as usual > > > > /bin/find: `standard output': Bad file descriptor > > /bin/find: Schreibfehler. > > > > I ca

Re: .profile not sourced?

2011-04-06 Thread David Sastre
On Wed, Apr 06, 2011 at 07:16:06AM +0100, Andy Koppe wrote: > > On 4/5/2011 4:47 PM, philippe roux wrote: > >> I have a file ~/.profile which contains some alias like > >> and ./bash_profile file containing the lines When using bash as a login shell, the existence of .bash_profile prevents from .p

Re: [PATCH] base-files-4.0.6: Change prompt if running with admin rights

2011-04-25 Thread David Sastre
On Sun, Apr 24, 2011 at 06:39:12PM +0200, Christian Franke wrote: > On 2011-04-01, Christian Franke wrote: > >The attached patch for /etc/profile and /etc/bash.bashrc sets a > >root prompt ('#' instead of '$' or '%') if the shell runs with > >admin rights (local or domain admin group). Trying to d

Re: Enable logging remote ssh contacts

2011-04-26 Thread David Sastre
On Tue, Apr 26, 2011 at 06:02:00AM -0700, Fokke Nauta wrote: > Is there any way to > enable logging remote login attempts to have a view op what happens? Check the sshd_config manpage for LogLevel and/or SyslogFacility. Works the same for GNU/Linux, not cygwin specific. -- Huella de clave primar

Re: CYGWIN=tty round 2

2011-05-23 Thread David Sastre
On Mon, May 23, 2011 at 11:35:40AM +0200, Sven Köhler wrote: > Am 22.05.2011 23:19, schrieb Christopher Faylor: > > mintty > > I have the feeling, you should make mintty default :-) > (for startup menu shortcuts, etc.) http://cygwin.com/ml/cygwin-apps/2010-05/msg00082.html -- Huella de clave pr

Error building run2 from source package in win7

2011-05-23 Thread David Sastre
Hello, This error shows up when trying to build run2-0.4.0-1-src on CYGWIN_NT-6.1 win7 1.7.10s(0.244/5/3) 20110510 19:08:34 i686 Cygwin cc1: warnings being treated as errors /usr/src/run2-0.4.0-1-src/run2-0.4.0-1/src/run2-0.4.0/lib/util.c: In function 'run2_strtol': /usr/src/run2-0.4.0-1-src/ru

Re: Error building run2 from source package in win7

2011-05-24 Thread David Sastre
On Mon, May 23, 2011 at 02:33:56PM -0400, Charles Wilson wrote: > On 5/23/2011 1:22 PM, Eric Blake wrote: > > On 05/23/2011 11:17 AM, David Sastre wrote: > >> cc1: warnings being treated as errors > >> /usr/src/run2-0.4.0-1-src/run2-0.4.0-1/src/run2-0.4.0/lib/util.c: In

Re: Error building run2 from source package in win7

2011-05-24 Thread David Sastre
On Tue, May 24, 2011 at 02:59:11PM -0400, Charles Wilson wrote: > On 5/24/2011 2:38 PM, David Sastre wrote: > > >> hmm...maybe the OP should check his generated config.h file for the > >> offending def. If it's there, a quick look inside config.log should > >&

Re: Error building run2 from source package in win7

2011-05-25 Thread David Sastre
On Tue, May 24, 2011 at 05:10:37PM -0400, Charles Wilson wrote: > On 5/24/2011 3:53 PM, David Sastre wrote: > > On Tue, May 24, 2011 at 02:59:11PM -0400, Charles Wilson wrote: > >> A-ha! > >> > >> Don't set -Werror as part of $CC, set it in $CFLAGS instead.

Re: iconv capability removed from rsync 3.0.8

2011-05-31 Thread David Sastre
On Tue, May 31, 2011 at 11:03:06AM +0200, Fernando Molina Ortiz wrote: > I have noticed that the iconv capability is not activated anymore in > rsync 3.0.8, while in rsync 3.0.7 it is. When cally rsync --version, > in 3.0.7 iconv is listed in the capabilities section, while in 3.0.8 > it appears as

Re: m4 1.4.16-1 doesn't seem to work

2011-06-17 Thread David Sastre
On Fri, Jun 17, 2011 at 05:16:02PM +, Vadim Zeitlin wrote: > Uday S Reddy cs.bham.ac.uk> writes: > > > Eric Blake writes: > > > > > Odd; that says all your dlls are in place. The only other thing that I > > > can suspect is that you have an incomplete dll, where you are missing a > > > requ

Re: dash incompatibility in /etc/profile

2011-08-24 Thread David Sastre
2011/8/21, Charles Wilson wrote: > Running 'dash -l' flags an error in /etc/profile: > > if [[ -n ${BASH_VERSION} ]]; then > HOSTNAME=$(/usr/bin/hostname) > profile_d sh > [[ -f "/etc/bash.bashrc" ]] && . "/etc/bash.bashrc" > elif [[ -n ${KSH_VERSION} ]]; then > typeset -l HOSTNAME=$(/usr/b

Re: cygwin started speaking German today

2011-09-17 Thread David Sastre
On Tue, Sep 13, 2011 at 09:45:37AM -0600, Eric Blake wrote: > On 09/09/2011 08:59 AM, Corinna Vinschen wrote: > >On Sep 9 13:33, Andy Koppe wrote: > >>The 'C.UTF-8' default locale is not a bug, it was a deliberate design > >>decision. > > > >Exactly. And it has been discussed a lot on the cygwin

Re: cygwin started speaking German today

2011-09-17 Thread David Sastre
On Sat, Sep 17, 2011 at 05:49:54PM -0400, Ken Brown wrote: > On 9/17/2011 4:40 PM, David Sastre wrote: > >On Tue, Sep 13, 2011 at 09:45:37AM -0600, Eric Blake wrote: > >>On 09/09/2011 08:59 AM, Corinna Vinschen wrote: > >>>On Sep 9 13:33, Andy Koppe wrote: > &g

Re: Where is /bin/nologin

2011-10-13 Thread David Sastre
On Thu, Oct 13, 2011 at 11:37:19AM -0700, gwodus wrote: > > I am missing /bin/nologin. > > I need to disable shell access for a user. But it still needs to be able to > accept ssh connects for tunnel only for that user (ssh -N ...). > > On Linux I would set the login shell in /etc/passed to /

Re: openssh authentification

2011-10-14 Thread David Sastre
On Fri, Oct 14, 2011 at 01:43:57PM -0500, Clayton Evans wrote: > > > > > debug1: Next authentication method: publickey > > > > > debug1: Offering RSA public key: /home/cevans/.ssh/id_rsa > > > > > debug3: send_pubkey_test > > > > > debug2: we sent a publickey packet, wait for reply > > > > > debug1

Re: Runtime error

2011-10-14 Thread David Sastre
On Fri, Oct 14, 2011 at 11:49:31AM +0200, phi...@free.fr wrote: > Hello, > > I have just installed cygwin on Windows 7 and I get the following runtime > error once every so often: > Runtime Error! Program c:\cygwin\bin\bash.exe R6016 - not enough space for > thread data Please follow the direct

Re: openssh authentification

2011-10-14 Thread David Sastre
On Fri, Oct 14, 2011 at 03:28:14PM -0500, Clayton Evans wrote: > > I'd double-check StrictModes and PubkeyAuthentication in sshd_config. > ssh-copy-id requires that password authentication is working, which is not > happening, so I tried manual moving of the files Sorry, I obviously overlooked

Re: Contributing license information?

2011-10-21 Thread David Sastre
On Fri, Oct 21, 2011 at 10:59:01AM +0200, Corinna Vinschen wrote: > On Oct 21 13:02, Luke Kendall wrote: > > Can I ask a related question: for the few shell scripts and /etc > > files provided in base-files: what license are they under? The > > package contains lots of licenses, as we've been disc

Re: Contributing license information?

2011-10-25 Thread David Sastre
On Tue, Oct 25, 2011 at 03:50:45PM +0200, Corinna Vinschen wrote: > On Oct 25 12:00, Luke Kendall wrote: > > Corinna Vinschen wrote: > > >On Aug 19 11:09, Luke Kendall wrote: > > >>Soon, I will have prepared a list of the location of every license > > >>file in every Cygwin package. My motivation

Re: Help with ACL and POSIX permissions for external flash/HD.

2011-10-31 Thread David Sastre
On Mon, Oct 31, 2011 at 10:39:27PM +0200, Oleksandr Gavenko wrote: > 30.10.2011 23:24, Oleksandr Gavenko пишет: > >How can I set umask? In .bashrc? Umask is already set system-wide in /etc/profile: # Default to removing the write permission for group and other # (files normally created with mod

Re: Help with ACL and POSIX permissions for external flash/HD.

2011-11-01 Thread David Sastre
On Tue, Nov 01, 2011 at 01:38:41PM +0200, Oleksandr Gavenko wrote: > 31.10.2011 23:00, David Sastre пишет: > >YMMV, but 'bash -l' should source your profile settings, both > >system-wide and user defined. > > Do you mean "bash -i"? From the manpage: -i

Re: Missing cygmpfr-4.dll

2011-11-01 Thread David Sastre
On Tue, Nov 01, 2011 at 12:10:02PM -0700, Thomas Daniel wrote: > After a fresh install of cygwin, I am unable to use gcc: > /usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared > libraries: cygmpfr-4.dll: cannot open shared object file: No such file or > directory > > Is there a

Re: Missing cygmpfr-4.dll

2011-11-01 Thread David Sastre
On Tue, Nov 01, 2011 at 01:00:38PM -0700, Thomas Daniel wrote: > On 11/1/2011 12:39 PM, David Sastre wrote: > >On Tue, Nov 01, 2011 at 12:10:02PM -0700, Thomas Daniel wrote: > >>After a fresh install of cygwin, I am unable to use gcc: > >>/usr/lib/gcc/i686-pc-cygwin

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-04 Thread David Sastre
On Fri, Nov 04, 2011 at 06:05:39AM +0100, Cyrille Lefevre wrote: > the base-file maintainer has been BCC'ed to add the export SHELL to > the /etc/profile. GNU/Linux login sets SHELL to bash, mksh, ... whilst ssh sets SHELL to /bin/bash, /bin/posh, /bin/mksh ... Given that there is no real login in

Re: Problem with execution of binary file

2011-11-05 Thread David Sastre
On Fri, Nov 04, 2011 at 06:20:50PM +, Mark Geisert wrote: > Eliot Moss writes: > > I would add that having more than one cygwin installation > > on the same system can be tricky, since you need to insure > > that each program gets the right dlls, etc. > > Sheesh, it's so tricky that I assumed

Re: cygwin on virtual box vm

2011-11-05 Thread David Sastre
On Fri, Nov 04, 2011 at 03:08:25PM -0600, J.V. wrote: > Any other command I type is freakishly slow. How do I get this to > run faster under a vm environment. > Even if I $vi a file it takes a while seriously cutting into the > productivity gains that cygwin on the host environment provides. Plea

Re: [ ATTN: gnupg maintainer ] error building gnupg-1.4.9-2 sources

2010-05-26 Thread David Sastre
2010/5/25, David Sastre : > Hello, > > Trying to build gnupg-1.4.9-2 from the distributed sources fails throwing: > > gpgkeys_curl.c:304: error: ‘typeof’ applied to a bit-field > (full output attached) > > Here are some references regarding this specific error². > > S

Re: perl-ming does not install properly

2010-07-20 Thread David Sastre
2010/7/20, Lee D. Rothstein : > from 'cygcheck -c': > >Missing file: /usr/share/man/man3/SWF::Action.3pm.gz from package > perl-ming >Missing file: /usr/share/man/man3/SWF::BinaryData.3pm.gz from package > perl-ming >Missing file: /usr/share/man/man3/SWF::Bitmap.3pm.gz from package >

Re: Build S-Lang Fail

2010-09-04 Thread David Sastre
-5.9.2-1-src.tar.bz2 + /usr/src/onig-5.9.2-1.tar.bz2 + /usr/src/libonig2-5.9.2-1.tar.bz2 + /usr/src/libonig2-devel-5.9.2-1.tar.bz2 + +Or use 'cygport onig-5.9.2-1.cygport prep' to get a patched source directory + +To find out the files included in the binary distribution, you can +use "cygcheck -l libonig2

Re: simplifying rebaseall

2010-09-17 Thread David Sastre
On Fri, Sep 17, 2010 at 07:38:03PM +0200, Al wrote: > Hi, Hello, > It's familiar that regular programs have a doc, man etc. It's also > familiar that small maintenance scripts don't have. Even your posting > has more lines the he rebaseall script itself. So you wouldn't really > follow the search

Re: Transfer of installation settings

2010-09-17 Thread David Sastre
On Fri, Sep 17, 2010 at 08:02:23PM +0200, Milos Puchta wrote: > I have installation of Cygwin that I want to transfer > on another computer with Windows 7 operating system > on both computers (editions are the same). > I would not like to do it item by item. > In my understanding > setup -P {list

Re: simplifying rebaseall

2010-09-17 Thread David Sastre
On Fri, Sep 17, 2010 at 08:01:23PM +0200, Al wrote: > > I guess for many people cygwin is their first contact with a *NIX like > > environment, but given your previous knowledge in Linux, it could also > > have been and option to inspect the package contents: > > > > cygcheck -l rebase > > It's no

Re: where the streets and servers have no name, cyglwres-xx.dll?

2010-09-21 Thread David Sastre
On Tue, Sep 21, 2010 at 02:38:37PM -0500, mike marchywka wrote: > Hi, > I've been having a problem with name lookups but it only seems to > effect a few things. I think lynx is ok, but then I tried to ftp and > couldn't find host name . I had first seen this > with nslookup but ignored it at the ti

Re: where the streets and servers have no name, cyglwres-xx.dll?

2010-09-21 Thread David Sastre
On Tue, Sep 21, 2010 at 04:43:25PM -0500, mike marchywka wrote: > On 9/21/10, David Sastre wrote: > > On Tue, Sep 21, 2010 at 02:38:37PM -0500, mike marchywka wrote: > >> Hi, > > > Can you please attach it, as described here? > > > >> Problem repo

Re: Connection timed out

2010-10-30 Thread David Sastre
On Sat, Oct 30, 2010 at 12:37:09AM -0700, KeithLaw wrote: > > Hi, > > I have set up the ssh server(cygwin) and it works fine for "ssh > [userna...@localhost" in my command prompt at server but it doesn't work > for "ssh [userna...@192.168.x.xx" which is also localhost. I have turned off > all th

Re: Connection timed out

2010-10-30 Thread David Sastre
On Sat, Oct 30, 2010 at 07:41:39AM -0700, KeithLaw wrote: > > 1. can ping 192.168.x.xx. > 2. I didn't install telnet program. > 3. There are many entries for listening and here are the main entries > TCP 0.0.0.0:22 0.0.0.0:0 LISTENING > TCP 192.168.x.xx:22 0.0.0.0:0 LISTENING > > 5. I modified th

Re: Connection timed out

2010-10-30 Thread David Sastre
On Sat, Oct 30, 2010 at 09:38:05AM -0700, KeithLaw wrote: > > This is the output. > > 6. Here is the debug messages. > debug1: Reading configuration data /etc/ssh_config > debug1: Applying options for * > debug2: ssh_connect: needpriv 0 > debug1: Connecting to 192.168.x.xx [192.168.x.xx] port

Re: [patch 0/8] Bash improvements

2010-11-02 Thread David Sastre
On Tue, Nov 02, 2010 at 12:01:16PM +0100, Gary wrote: > Dan wrote: > > > This is a series of patches that tries to improve the user experience in > > Cygwin. > > Love both of these, and have wanted somethnig like them for ages :) I > hope they get adopted! I can't see attachments and those e-mai

Re: [patch 0/8] Bash improvements

2010-11-02 Thread David Sastre
On Tue, Nov 02, 2010 at 12:20:24PM -0700, Steven Monai wrote: > On 2010/11/02 12:02 PM, David Sastre wrote: > > On Tue, Nov 02, 2010 at 12:01:16PM +0100, Gary wrote: > >> Dan wrote: > >> > >>> This is a series of patches that tries to improve the user exp

Re: Cygwin Filesystem (reported by 'df') Out of Date

2010-11-12 Thread David Sastre
On Fri, Nov 12, 2010 at 10:56:13AM -0800, Bruce Bailey wrote: > > Hi > > When I run 'df' there is a long pause and the returned list of drives > reflects previously mounted Win network drives. > > $ df > Filesystem   1K-blocks  Used Available Use% Mounted on > C:/cygwin/bin    2

Re: Python: subprocess running rsync causes broken socket in telnetlib

2010-11-16 Thread David Sastre
On Wed, Nov 17, 2010 at 09:39:38AM +1300, David Antliff wrote: > On Mon, Nov 15, 2010 at 10:00, David Antliff wrote: > > Can anyone else see the fault if they run the script I posted? > > It would be great to know if this fault exists only at my site, or if > other sites can also demonstrate this

Re: /etc/profile optimization and correctness

2010-11-29 Thread David Sastre
On Mon, Nov 29, 2010 at 05:22:56AM -0800, Daniel Colascione wrote: > Starting a login shell on my system takes a painfully long time, mostly > because fork() is pretty slow on WOW6432 systems. I've taken a look at > the shell initialization routines and identified some potential savings: > > - Can

Re: Problem with lls command in nccftp

2010-12-03 Thread David Sastre
On Thu, Dec 02, 2010 at 11:51:25PM +0100, gialloporpora wrote: > Risposta al messaggio di gialloporpora : > > >I am using the ncftp (version 3.2.1) client installed with the Cygwin > >environment and I have this problem. > > > >The FTP client works nice for me, I have only this little issue. When

Re: Problem with Bash regex test case sensitivity

2010-12-04 Thread David Sastre
On Sat, Dec 04, 2010 at 10:05:42AM -0400, Lee wrote: > > On 12/03/2010 07:11 PM, Lee wrote: > > why put the local > defaults in ~/.bashrc? My understanding is that ~/.bashrc is called > at every shell startup. Seems like that's one of those things that > just needs to be set in the login shell,

Re: problem with sshd

2010-12-22 Thread David Sastre
On Wed, Dec 22, 2010 at 01:17:11PM +0300, Vasya Pupkin wrote: > On Wed, Dec 22, 2010 at 12:41 PM, Thorsten Kampe > wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR > > * Vasya Pupkin (Wed, 22 Dec 2010 09:26:29 +0300) > >> I have a problem running cygwin sshd. I often end up with a lot of > >> bash

Re: Proper Setting of mkpasswd and mkgroup

2011-01-11 Thread David Sastre
On Tue, Jan 11, 2011 at 10:55:09AM -0700, Gary Furash wrote: > Problem: > 1. When I create a file or such using cygwin, it says that the group is > "mkpasswd". This usually indicates that the Cygwin profile I'm logged on is > not setup properly > 2. My work PC is part of a windows group. That same

Re: Proper Setting of mkpasswd and mkgroup

2011-01-11 Thread David Sastre
On Tue, Jan 11, 2011 at 02:09:40PM -0700, Gary Furash wrote: > > On Tue, Jan 11, 2011 at 10:55:09AM -0700, Gary Furash wrote: > > > Problem: > > > 1. When I create a file or such using cygwin, it says that the group > > > is "mkpasswd". > > > > > > What's the proper combination of MKPASSWD and MK

Re: to generate disassemble blink code

2011-01-18 Thread David Sastre
On Tue, Jan 18, 2011 at 08:47:05AM -0800, lellone88 wrote: > avr-objdump utility. > avr-objdump -zhD blink.elf > blink.od > avr-gcc -o executablefile.elf(or.exe) blink.c You are using AVR executables, not cygwin's. > and the terminal return me > this application has requested the runtime to termi

Re: Howto install freetype2?

2011-01-22 Thread David Sastre
On Sat, Jan 22, 2011 at 06:52:10PM +0100, Gyurmo wrote: > Hello, How can I install freetype2? > I have many files in /usr/src. > I have cygport and patch files. How can I use these? > I wait for your fast answer. Hello, Try reading the manpage for the cygport command, the README and html manual u

Re: CUPS development for cygwin

2011-01-26 Thread David Sastre
On Wed, Jan 26, 2011 at 08:07:16AM +0100, Gyurmo wrote: > Hello; > I can see the http://cygwin-ports.git.sourceforge.net/git/gitweb-index.cgi > CUPS. Hello, Questions regarding cygwinports should go to the cygwin-ports-general maillist: Thanks. -- Huella de clave primaria: 0FDA C36F F110 54

Re: libglade error during cygwin installation

2011-01-27 Thread David Sastre
On Thu, Jan 27, 2011 at 06:41:18PM +, Joe Crepeau wrote: > I am getting the following error when installing the latest version of Cygwin > on a Windows 7 machine. > > 2011/01/21 16:02:23 running: C:\cygwin\bin\bash.exe --norc --noprofile > /etc/postinstall/libglade2.0.sh > add command failed

Re: libglade error during cygwin installation

2011-01-28 Thread David Sastre
On Fri, Jan 28, 2011 at 10:03:54PM +, Joe Crepeau wrote: > > On Thu, Jan 27, 2011 at 06:41:18PM +, Joe Crepeau wrote: > > > I am getting the following error when installing the latest version of > > > Cygwin on a Windows 7 machine. > > > > > > 2011/01/21 16:02:23 running: C:\cygwin\bin\ba

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread David Sastre
On Sun, Feb 06, 2011 at 01:33:37PM -0500, Gerry Reno wrote: > What is the proper method to set the PATH variable on a system-wide > basis in Cygwin? > > Right now in the Cygwin Bash shell the PATH is set to: > > bash-4.1$ echo $PATH > > /cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/c

Re: 1.7.7: PATH in Bash shells

2011-02-06 Thread David Sastre
On Sun, Feb 06, 2011 at 03:43:42PM -0500, Gerry Reno wrote: > On 02/06/2011 02:16 PM, David Sastre wrote: > > On Sun, Feb 06, 2011 at 01:33:37PM -0500, Gerry Reno wrote: > > > >> What is the proper method to set the PATH variable on a system-wide > >> basis i

Re: 1.7.7: Postgresql 8.2: no postgres user

2011-02-07 Thread David Sastre
On Sun, Feb 06, 2011 at 05:20:16PM -0500, Gerry Reno wrote: > I installed PostgreSQL 8.2. > So should there have been a 'postgres' user created by the installation? No. > If not, what are the procedures to setting up PostgreSQL with a server > process user and then running it as a service? Try t

Re: Script to Auto CYGWIN -U all environment varialbes

2011-02-07 Thread David Sastre
On Mon, Feb 07, 2011 at 03:36:26PM -0700, Gary Furash wrote: > Has anyone written anything into their bash profile or whatever that goes > through each windows environment variable currently extant, and resets them > via CYGPATH > > Before, @ start of .bashrc > ETC=C:\WINDOWS\ETC > > After run of

Re: base-files-4.1-2

2013-07-12 Thread David Sastre Medina
On Fri, Jul 05, 2013 at 02:09:44PM +0200, Corinna Vinschen wrote: > On Jul 5 07:33, Ken Brown wrote: > > base-files-4.1-2 was released as a test version in March 2012. Is > > there a plan to promote it to current? I'm not aware of any > > problems with it. > > I just tried it on 64 bit, and I s

Re: rsync 3.0.9 fails when over ssh: connection unexpectedly closed / error in rsync protocol data stream

2012-01-01 Thread David Sastre Medina
On Sun, Jan 01, 2012 at 09:27:26PM +0100, Ludovic Aelbrecht wrote: > Any help on this would be most appreciated, as I'm really stuck on > this. Even just confirmations that rsync over ssh is working for > someone (and on what versions of rsync/ssh) would be helpful. $ rsync -av -e ssh test.file.tx

[ANNOUNCEMENT] Updated: base-files-4.0-7

2012-02-10 Thread David Sastre Medina
Version 4.0-6 of base-files has been uploaded. Base-files is a set of system configuration and setup files. Change Log -- 4.0-7 * Environment variable SHELL is now exported from /etc/profile. Improved profile_d() function in /etc/profile - Cyrille Lefevre cygwin.com/ml/cyg

Re: [ANNOUNCEMENT] Updated: base-files-4.0-7

2012-02-12 Thread David Sastre Medina
On Sat, Feb 11, 2012 at 11:11:21PM +1100, Mike Kaganski wrote: > new .bash_profile, line 27: > > export LANG=${locale -uU} > looks like it should be > export LANG=$(locale -uU) Thanks for reporting, and sorry for the inconvenience. Fixed in base-files-4.0-8. -- Huella de clave primaria: AD8F BD

Re: bad substitution for LANG in .profile

2012-02-12 Thread David Sastre Medina
On Sat, Feb 11, 2012 at 09:56:58AM -0700, Tom Schutter wrote: > With a fresh install of cygwin, this is what I get when I start mintty: > -bash: LANG=${locale -uU}: bad substitution > > The bad parameter substitution has been introduced into: > etc/defaults/etc/skel/.profile > etc/defaults/e

  1   2   >