Installing the Win32:: modules for Cygwin Perl

2003-01-11 Thread Rafael Kitover
, the line ends will get converted and the patch will fail.   Everything should work. If something fails, please send me an error report using this method:   make test makelog gzip -9 makelog   and mail makelog.gz to [EMAIL PROTECTED] so I can figure out what went wrong.   Enjoy.   -- Rafael

PATCH: libwin32 0.191 builds and tests on Visual Studio, Cygwin, MinGW and Borland5.5.1

2003-01-12 Thread Rafael Kitover
this a reality, please let me know. -- Rafael Kitover (Caelum on EfNet #perl) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

PROPOSAL: translate '::' to '.' in arguments to the man command

2003-01-24 Thread Rafael Kitover
I have noticed that some man pages, for example perl modules below the root namespace, are installed as Foo.Bar instead of Foo::Bar because apparently windows file names cannot contain ::. Eg. $ touch 'Foo::Bar' touch: creating `Foo::Bar': Invalid argument This is sufficiently different from

idea for a new project, libntcmd

2003-01-24 Thread Rafael Kitover
Currently there is a fundamental divide between the cmd.exe shell and a unix shell, even on windows with Cygwin. A source project can of course support a native windows build using a makefile with make --win32, or using dmake (http://search.cpan.org/author/GSAR/dmake-4.1pl1-win32). Or configure

RE: idea for a new project, libntcmd

2003-01-24 Thread Rafael Kitover
-Original Message- From: Max Bowsher [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 1:38 PM 2) support cmd.exe builtins like del/copy/exists/etc, and execute dos batch files. Things like if and goto, because they're only useful in batch, would present little problem as

RE: idea for a new project, libntcmd

2003-01-24 Thread Rafael Kitover
From: Brian Kelly brian dot m dot kelly at verizon dot net To: cygwin at cygwin dot com Boy I just don't GET IT!! Anyone who wants to use ANY cmd.exe command, including start just needs to use cmd /c ANY-WINDOWS-CMD-COMMAND-HERE Assuming cmd.exe is available, and it's not under windows

Patch for mpg123 on Cygwin

2002-10-24 Thread Rafael Kitover
This patch will allow you to build mpg123 for cygwin using just make cygwin, it works for the CVS and development version, and probably other versions as well. Get mpg123 here: http://www.mpg123.de/ And the patch here: http://www.io.com/~rkitover/mpg123-cygwin.patch It has been submitted to

Screen for cygwin

2002-10-24 Thread Rafael Kitover
My version of screen for cygwin, which I actually finished putting together a month ago is here: http://www.io.com/~rkitover/screen-3.9.13.tar.gz It will configure and compile on cygwin with no tweaking. It will support detach and attach, however the terminal size issue is still there and I

w32api/sql.h broken?

2003-12-03 Thread Rafael Kitover
Greetings, Using the latest packages from cygwin, and gcc 3.3.1, and I checked that sql.h/sqltypes.h are the same in the CVS tree, the following program: #include windows.h #include w32api/sql.h int main() { return 0; } Compiled as gcc try.cc -o try fails with a bunch of errors like: In file

RE: w32api/sql.h broken?

2003-12-03 Thread Rafael Kitover
. This is for my libwin32 for cygwin perl project, just need to fix ODBC and it will work again. Much appreciated. -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 2:29 PM To: Rafael Kitover; [EMAIL PROTECTED] Subject: Re: w32api/sql.h broken? At 05:04

RE: Cygwin port of Perl broken on Win32? Or does Cygwin not run on win32?

2003-12-03 Thread Rafael Kitover
If you just need to use the Win32:: Perl modules, use the ActiveState Perl at: http://aspn.activestate.com/ASPN/docs/ActivePerl/install.html#installing %20activeperl%20on%20windows%20(x86) If you specifically need the Win32:: modules on Cygwin, please check my project page in a few days at:

postgresql /usr/include/sqltypes.h conflicts with /usr/include/w32api/sqltypes.h (was RE: w32api/sql.h broken?)

2003-12-04 Thread Rafael Kitover
Looks like /usr/include/w32api/sql.h does an #include sqltypes.h, which if you have postgresql installed, will read postgres's version when building under cygwin. Any chance the postgres /usr/include/sqltypes.h could be moved to /usr/include/postgresql/sqltypes.h or something along those lines?

RE: w32api/sql.h broken?

2003-12-04 Thread Rafael Kitover
I just tried compiling: #include windows.h #include sql.h int main() { return 0; } with: gcc -mno-cygwin and it worked fine. So it's a conflict with the cygwin headers sqltypes.h somewhere, I'll try to figure it out. -- Rafael -- Unsubscribe info:

[ANNOUNCEMENT] Win32:: Perl library updated for latest Cygwin

2003-12-05 Thread Rafael Kitover
It's been almost a year, and I've received some reports about builds failing. I've resolved a few problems and everything should be working. Hoping to pick this up a bit again and maybe make a Cygwin package. This project provides the core Win32:: and libwin32 ability for Cygwin Perl. It is

rebaseall breaks zsh?

2003-12-10 Thread Rafael Kitover
I noticed that the rebaseall scripts rebases /usr/bin/libzsh-4.0.4.dll and the modules in /usr/lib/zsh/4.1.1/zsh/*.dll, and that this breaks zsh. Rebasing libzsh stops zsh from starting, and rebasing the modules stops them from loading. If this is the case, and not just something messed up on my

Question about default base address and offset for rebasing DLLs

2003-12-10 Thread Rafael Kitover
I noticed that the /bin/rebaseall script assumes the following: DefaultBaseAddress=0x7000 DefaultOffset=0x1 Is this going to be the standard base and offset for DLLs in Cygwin? Is this then a reasonable thing to include in the Cygwin hints file for my Perl project: package MY; sub

Re: is there a screen for cygwin?

2003-12-12 Thread Rafael Kitover
Try my extremely modified version here: http://www.io.com/~rkitover/screen-3.9.13.tar.gz I haven't worked on it in quite a while, detach is still broken and it's a few versions behind now, but you will have working screen sessions. -- Rafael -- Unsubscribe info:

[ANNOUNCEMENT] Win32::GUI Perl module available for Cygwin and MinGW

2003-12-14 Thread Rafael Kitover
I've added the Win32::GUI module to libwin32, which allows you to do...Win32 GUI stuff in Perl. Download it here: http://sourceforge.net/projects/libwin32-exp/ -- Rafael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: Tool to decrease a size of jpg file

2003-12-20 Thread Rafael Kitover
You should be able to compile imagemagick without much problem, get the unix source from: http://www.imagemagick.org/www/archives.html? You could also just install the windows binaries and put them in your Cygwin PATH. -- Rafael -- Unsubscribe info:

Re: Tool to decrease a size of jpg file

2003-12-21 Thread Rafael Kitover
Sorry for failing to RTFM, but apparently there is an ImageMagick package in Cygwin already: http://cygwin.com/cgi-bin2/package-cat.cgi?file=ImageMagick/ImageMagick- 5.5.7-1grep=image So you don't need to compile anything. Once you have ImageMagick installed, to reduce the size of a jpg file, a

RE: Python 2.3 Cygwin and SIP and PyQT

2004-01-15 Thread Rafael Kitover
Those files would be in the Python library, see if you have a file such as: /lib/python2.3/config/libpython2.3.dll.a Then add something like the following to the link command in your Makefile: -L/lib/python2.3/config/ -lpython2.3.dll Also check ./configure --help, there might an option like

RE: bug in cygwin build of Make

2004-01-15 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Pearce Sent: Thursday, January 15, 2004 1:25 PM To: [EMAIL PROTECTED] Subject: Re: bug in cygwin build of Make [SNIP] CVSVIEW= $(shell if [ -e CVS/Repository ]; then echo ${CURDIR} | sed -e

RE: deleting a file ending with a dot

2004-01-16 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew DeFaria Sent: Friday, January 16, 2004 12:39 PM To: [EMAIL PROTECTED] Subject: Re: deleting a file ending with a dot (It'd be nice if fuser worked under Cygwin but I realize that might be a

RE: Cygwin/DBD::ODBC issue

2004-01-16 Thread Rafael Kitover
Hi Tommie, DBD::ODBC seems like a very useful module to have available for Cygwin. Could you post the patch you ended up having? I'll try to get it to the maintainer(s). Also, what ODBC driver manager did you use? What is your ODBCHOME environment variable set to? Thanks! -Original

RE: deleting a file ending with a dot

2004-01-16 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor Sent: Friday, January 16, 2004 1:58 PM To: [EMAIL PROTECTED] Subject: Re: deleting a file ending with a dot On Fri, Jan 16, 2004 at 12:37:01PM -0800, Andrew DeFaria wrote: (It'd be nice if

RE: Cygwin/DBD::ODBC issue

2004-01-17 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerrit P. Haase Sent: Saturday, January 17, 2004 9:17 AM To: Rafael Kitover Cc: [EMAIL PROTECTED] Subject: Re: Cygwin/DBD::ODBC issue Hallo Rafael, Am Freitag, 16. Januar 2004 um 23:56 schriebst du: Hi

Re: package conffiles (was: man 1.5k-2 is broken)

2004-01-19 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alejandro Lopez-Valencia Sent: Monday, January 19, 2004 11:08 AM To: Cygwin List Subject: Re: man 1.5k-2 is broken On Sunday, January 18, 2004 8:44 PM [GMT-5], Larry Hall wrote: At 11:03 AM 1/18/2004,

RE: cygwin-1.5.6-1 Vim now broken

2004-01-19 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor Sent: Monday, January 19, 2004 8:37 PM To: [EMAIL PROTECTED] Subject: Re: cygwin-1.5.6-1 Vim now broken And, no, screen becoming screwed up in an rxvt session is not a show stopper. I'll

RE: HEADSUP: Apache maintainer wanted!

2004-01-20 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen Sent: Tuesday, January 20, 2004 5:54 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: HEADSUP: Apache maintainer wanted! Hi, The apache package is without maintainer for two weeks

some notes on debugging screen (long) (was: cygwin-1.5.6-1 Vim now broken)

2004-01-20 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor Sent: Tuesday, January 20, 2004 9:11 AM To: [EMAIL PROTECTED] Subject: Re: cygwin-1.5.6-1 Vim now broken [SNIP] I guess it'd be a show stopper if screen were part of Cygwin. Still, I

RE: Question regarding perl and perl-libwin32 using the latest cygwin ... and an anomaly

2004-01-21 Thread Rafael Kitover
Hi Alan, My apologies for not sending out an announcement about this package, was waiting for the 1.5.7 stuff to die down a bit first, but I will shortly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Miles Sent: Tuesday, January 20, 2004 9:26 PM

[ANNOUNCEMENT] New Package Available: perl-libwin32-0.191-1

2004-01-21 Thread Rafael Kitover
Description = The libwin32 Perl library that provides access to the Win32 API, and is installed by default with ActivePerl, is now available as a Cygwin package. The CORE Win32 methods in ActivePerl such as Win32::GetLastError() (see man Win32 or perldoc

RE: [ANNOUNCEMENT] New Package Available: perl-libwin32-0.191-1

2004-01-22 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward S. Peschko Sent: Wednesday, January 21, 2004 4:58 PM To: [EMAIL PROTECTED] Subject: Re: [ANNOUNCEMENT] New Package Available: perl-libwin32-0.191-1 exceedingly cool... Just curious, but are the code

RE: grep doesn't work w/ latest cygwin

2004-01-22 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of stillwater269 Sent: Wednesday, January 21, 2004 8:08 PM To: [EMAIL PROTECTED] Subject: grep doesn't work w/ latest cygwin I've downloaded the latest cygwin for the first time yesterday (1/20/04). Downloaded

RE: bash, dircolors, setsid and a stackdump

2004-01-22 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rothenberger Sent: Thursday, January 22, 2004 10:32 AM To: [EMAIL PROTECTED] Subject: bash, dircolors, setsid and a stackdump I've just encountered a very strange problem involving setsid, rxvt, bash

RE: bash, dircolors, setsid and a stackdump

2004-01-27 Thread Rafael Kitover
I just compiled the cygwin dll from latest CVS, and the problem reported in this thread, ie the script: -- #!/bin/bash echo foo sleep 10 -- When run with setsid bash script.sh no longer produces a stackdump and works correctly. -- Rafael -- Unsubscribe info:

RE: perlcc does not work on my cygwin-please help

2004-01-27 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pinhas Krengel Sent: Tuesday, January 27, 2004 9:09 AM To: [EMAIL PROTECTED] Subject: perlcc does not work on my cygwin-please help perlcc does not work on my cygwin (win XP). I have tried to re-install

Insecure Dependency in Net::DNS with Cygwin (WAS: Cygwin, win98, SA, Perl IO::Socket (Insecure dependency))

2004-01-28 Thread Rafael Kitover
Here's some information about a bug with Net::DNS when running under taint mode, previously reported here: http://www.cygwin.com/ml/cygwin/2004-01/msg01062.html #!/usr/bin/perl -T use strict; use warnings; use Net::DNS; use Carp; $SIG{__DIE__} = sub { confess @_ };

RE: Installation on Windows 2K server

2004-01-28 Thread Rafael Kitover
Question, is there a way to get the latest version on a CD or a way to download packages to another machine so that I can copy them to a cd to install. I'm interested in all of the packages. Run http://www.cygwin.com/setup.exe and choose download download from internet on the first screen.

RE: What is wrong with my bison

2004-01-28 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pinhas Krengel Sent: Wednesday, January 28, 2004 8:21 AM To: [EMAIL PROTECTED] Subject: What is wrong with my bison While tring to build some CPAN module it yells: Do I need to update mycygwin installation

RE: Insecure Dependency in Net::DNS with Cygwin (WAS: Cygwin, win98, SA, Perl IO::Socket (Insecure dependency))

2004-01-29 Thread Rafael Kitover
Chris Reinhardt fixed the problem, which turned out to be something related to the configuration parser in Net/DNS/Resolver/Cygwin.pm, and it works now! If you were having problems with SpamAssassin+Cygwin before, or other strange Net::DNS problems, please try this snapshot:

RE: Rsync, Cygwin and ACL support

2004-01-29 Thread Rafael Kitover
It seems there's no posix acl support in Cygwin, as far as I could see. The libraries are here if anyone wants to try porting them to Win32 acls: ftp://oss.sgi.com/projects/xfs/latest/cmd_tars/acl-2.2.15.src.tar.gz ftp://oss.sgi.com/projects/xfs/latest/cmd_tars/attr-2.4.8.src.tar.gz --

RE: verilator on cygwin - unexplained errors

2004-01-30 Thread Rafael Kitover
I went into perl -MCPAN -e shell, typed install SystemC::Parser and it installed fine for me... -- Rafael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pinhas Krengel Sent: Friday, January 30, 2004 11:10 AM To: [EMAIL PROTECTED] Subject: Re: verilator

RE: Problems with tcl exec command and sh in Cygwin.

2004-01-31 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gancho Tenev Sent: Friday, January 30, 2004 7:51 PM To: [EMAIL PROTECTED] Subject: Problems with tcl exec command and sh in Cygwin. [SNIP] script: 1.tcl -- #!/bin/sh # \ exec

RE: FlexLexer.h

2004-01-31 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pinhas Krengel Sent: Saturday, January 31, 2004 12:08 AM To: [EMAIL PROTECTED] Subject: FlexLexer.h Is this files suppose to come with any package of cygwin. This page: http://cygwin.com/packages/ Will

RE: verilator on cygwin - unexplained errors

2004-01-31 Thread Rafael Kitover
:\pini_prog\xilinx\bin\nt You are trying to use MinGW gcc to compile a module for Cygwin Perl. This won't work. The Cygwin gcc must be first in your path. Since you already have Cygwin, you can just remove MinGW and use gcc -mno-cygwin when you need to compile a MinGW app. -- Rafael Rafael

RE: Text entry to command line program

2004-02-03 Thread Rafael Kitover
Try something like: CYGWIN=notty sqlplus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Boulet Sent: Monday, February 02, 2004 2:12 PM To: [EMAIL PROTECTED] Subject: RE: Text entry to command line program -Original Message- From: [EMAIL

RE: Program randomly hangs after upgrading to cygwin 1.5.7

2004-02-03 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volker Quetschke Sent: Tuesday, February 03, 2004 1:12 PM To: [EMAIL PROTECTED] Subject: Re: Program randomly hangs after upgrading to cygwin 1.5.7 Hi Rafael, Are you using a win32 native compiled dmake or

RE: Segmentation fault (core dumped)

2004-02-03 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eva Bordeaux Sent: Tuesday, February 03, 2004 4:40 PM To: [EMAIL PROTECTED] Subject: Segmentation fault (core dumped) Hello, I try to run my program on Windows machine using Cygwin. $ make clean all gcc

RE: Text entry to command line program

2004-02-03 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Boulet Sent: Tuesday, February 03, 2004 4:28 PM To: [EMAIL PROTECTED] Subject: RE: Text entry to command line program Try something like: CYGWIN=notty sqlplus Is that saying notty for sqlplus and

RE: update via setup.exe removed NTFS junction?

2004-02-03 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Collins Sent: Tuesday, February 03, 2004 4:36 PM To: Robert R Schneck Cc: [EMAIL PROTECTED] Subject: Re: update via setup.exe removed NTFS junction? On Wed, 2004-02-04 at 11:25, Robert R Schneck

RE: compile needs netfilter_ipv4.h

2004-02-05 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henning Sent: Thursday, February 05, 2004 2:18 PM To: [EMAIL PROTECTED] Subject: compile needs netfilter_ipv4.h Hi I just installed cygwin and am trying to compile 'reaim' which requires 'netfilter_ipv4.h'

RE: 1.5.7: make hangs on XP (with HT)

2004-02-06 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rolf Campbell Sent: Thursday, February 05, 2004 8:40 AM To: [EMAIL PROTECTED] Subject: 1.5.7: make hangs on XP (with HT) I've been trying to narrow the problem I've been having with make (-j) and processes

RE: [Fwd: Bug: Perl:IsWinNT undefined RFE, only use / in reg values, not names..?]

2004-02-12 Thread Rafael Kitover
Please try installing perl-libwin32 package, and set: export PERL5OPT=-MWin32 in your environment. HTH -- Rafael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of linda w Sent: Thursday, February 12, 2004 10:08 AM To: [EMAIL PROTECTED] Subject: [Fwd:

RE: localtime_r not returning local time

2004-02-12 Thread Rafael Kitover
Would it be a lot of overhead to have something like tzset be called in the bootstrap code for launching Cygwin programs? Or maybe just have a DLL global default, based on windows time zone, and just allow processes to reset it for themselves (and any children.) -- Rafael -Original

RE: DBD::Pg - $dbh-quote() causes core dump

2004-02-17 Thread Rafael Kitover
Hi Ian, There was some memory allocation related funkiness in DBD::Pg that the attached patch fixes. You can apply it to both 1.31 and 1.32_1. Bug posted on CPAN: http://rt.cpan.org/NoAuth/Bug.html?id=5357 -- Rafael -Original Message- From: Ian Sealy Sent: Monday, February 16, 2004

RE: search and replace tool

2004-02-18 Thread Rafael Kitover
Not really cygwin specific, you can do something like: perl -pi -e 's/old text/new text/' `find /where -name '*.txt'` note those are backticks surrounding the find. Use -pi.bak to make backup files in case you screw up. You will of course need to know how to use regular expressions (see man

RE: problem extending perl-5.8.2-1 via CPAN: Storable.dll

2004-02-18 Thread Rafael Kitover
This is an issue related to rebasing DLLs. There's a rebaseall utility in Cygwin to fix this, unfortunately it does not pick up non-package DLLs, including Perl extensions installed from CPAN shell. I've made some changes to that script so that it does...which reminds me I need to send out a

RE: piping problems with cron+4nt

2004-02-18 Thread Rafael Kitover
Perhaps try using the cygstart utility, in conjunction with --hide? -Original Message- From: Mironov, Leonid {PBG} Sent: Wednesday, February 18, 2004 12:59 AM Subject: piping problems with cron+4nt I've got a bunch of legacy 4NT batches I want to run from cygwin cron. When run from 4NT

RE: cygrunsrv feature request

2004-02-20 Thread Rafael Kitover
-Original Message- From: Richard Duran Sent: Friday, February 20, 2004 1:28 AM Subject: cygrunsrv feature request Sorry if this is the wrong list, but is there any chance an option/flag could be added to cygrunsrv -I that would allow the program to show up (in ps) under a name other than

RE: Assembler

2004-02-20 Thread Rafael Kitover
-Original Message- From: Krzysztof Duleba Sent: Thursday, February 19, 2004 4:11 PM Subject: Re: Assembler Krzysztof Duleba wrote: Googling brought me to http://line.sourceforge.net, which may be more along the lines of what you seek. I tried it out, with no success. Binary version

RE: Tk usage with / from perl in Cygwin env

2004-02-20 Thread Rafael Kitover
-Original Message- From: linda w Sent: Thursday, February 19, 2004 5:24 PM Subject: Tk usage with / from perl in Cygwin env Has anyone tried using Tk from perl? [SNIP] According to Gerrit, http://anfaenger.de/cygwin-1.5/perl/ -- Rafael -- Unsubscribe info:

RE: WML (perl-based program) segfaults

2004-02-20 Thread Rafael Kitover
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang Schnerring Sent: Tuesday, February 10, 2004 7:27 AM To: [EMAIL PROTECTED] Subject: WML (perl-based program) segfaults [SNIP] Starting program: /cygdrive/d/wosc/install/Cygwin/wml-

Re: new cygwin window from script?

2004-02-21 Thread Rafael Kitover
cygstart /cygwin.bat -- Rafael - Original Message - From: linux dr. usenetathaughtmail.com To: cygwinatcygwin.com Sent: Saturday, February 21, 2004 5:29 PM Subject: new cygwin window from script? Sorry if this is a repost... didn't seem to post through nntp. I'm trying to

[PATCH] building epic4 (CVS version 1.39) in Cygwin

2006-09-29 Thread Rafael Kitover
This is a minor fix for building epic4 from CVS on Cygwin cleanly. Please CC: me on responses, if possible. Thank you! Index: configure === RCS file: /home/cvs/repository/epic4/configure,v retrieving revision 1.39 diff -u -3 -p

[PATCH] building epic5 (cvs version) in cygwin

2006-09-29 Thread Rafael Kitover
Minor changes for building epic5 in Cygwin. Change to perl.c based on http://www.mail-archive.com/modperl@perl.apache.org/msg09457.html I would be happy to move the checks for static XS incompatibility and AF_INET6 support into proper autoconf tests, if you guys would prefer. Please CC: me

perl module .dll rebasing issues

2011-01-11 Thread Rafael Kitover
Hello, it seems the 'perlrebase' script does not fix my DLL mapping errors that I see when trying to install modules from the CPAN shell. This is what I see: CPAN.pm: Going to build A/AR/ARCANEZ/DBIx-Class-0.08126.tar.gz 3 [main] perl 3164 C:\cygwin\bin\perl.exe: *** fatal error -

CPAN::Reporter with metabase on cygwin

2011-01-11 Thread Rafael Kitover
Hello, I've configured CPAN::Reporter and Test::Reporter::Transport::Metabase as per http://wiki.cpantesters.org/wiki/QuickStart But sometimes I see this really weird error message: (./Build test exited with 0) CPAN::Reporter: Test result is 'pass', All tests successful. CPAN::Reporter:

Re: CPAN::Reporter with metabase on cygwin

2011-01-13 Thread Rafael Kitover
:) On 1/12/2011 4:44 PM, Reini Urban wrote: 2011/1/11 Rafael Kitover: I've configured CPAN::Reporter and Test::Reporter::Transport::Metabase as per http://wiki.cpantesters.org/wiki/QuickStart But sometimes I see this really weird error message: (./Build test exited with 0) CPAN::Reporter: Test

More Weird Perl .dll Errors

2011-01-14 Thread Rafael Kitover
Something weird happened to my Class::MOP .dll : $ perl -MClass::MOP -le 1 Can't load '/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Class/MOP/MOP.dll' for module Class::MOP: No such fi le or directory at /usr/lib/perl5/5.10/i686-cygwin/XSLoader.pm line 70. at

Re: More Weird Perl .dll Errors

2011-01-14 Thread Rafael Kitover
/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll) failed with last error = 13 This is Windows 7 64bit On 1/14/2011 4:35 AM, Matthias Andree wrote: Am 14.01.2011 10:21, schrieb Rafael Kitover: Something weird happened to my Class::MOP .dll : $ perl -MClass::MOP -le 1 Can't load '/usr/lib

Re: More Weird Perl .dll Errors

2011-01-15 Thread Rafael Kitover
/c/Windows/SysWOW64/ntdll.dll (0x7748) kernel32.dll = /cygdrive/c/Windows/syswow64/kernel32.dll (0x7553) KERNELBASE.dll = /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x74d7) On 1/14/2011 12:00 PM, Reini Urban wrote: 2011/1/14 Rafael Kitover: I tried both peflagsall

Re: More Weird Perl .dll Errors

2011-01-18 Thread Rafael Kitover
On 1/17/2011 2:28 PM, Reini Urban wrote: 2011/1/15 Rafael Kitover: Hi Reini, I'm not having any luck: $ perl -MClass::XSAccessor -le 1 Can't load '/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Class/XSAccessor/XSAccessor.dll' for module Class::X SAccessor: No such file or directory at /usr

Re: More Weird Perl .dll Errors

2011-01-19 Thread Rafael Kitover
/2011 1:10 PM, Rafael Kitover wrote: On 1/17/2011 2:28 PM, Reini Urban wrote: 2011/1/15 Rafael Kitover: Hi Reini, I'm not having any luck: $ perl -MClass::XSAccessor -le 1 Can't load '/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Class/XSAccessor/XSAccessor.dll' for module Class::X SAccessor

failing to clone a git repo via ssh

2011-01-23 Thread Rafael Kitover
This repo clones fine in msysgit and on linux over ssh, but on cygwin this is what happens: $ git clone dbsrg...@git.shadowcat.co.uk:DBIx-Class.git dbic Cloning into dbic... Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake

Re: failing to clone a git repo via ssh

2011-01-23 Thread Rafael Kitover
dbic_git_url git clone `whoami`@localhost:tmp/dbic_git_url dbic_ssh On 1/23/2011 5:01 AM, Rafael Kitover wrote: This repo clones fine in msysgit and on linux over ssh, but on cygwin this is what happens: $ git clone dbsrg...@git.shadowcat.co.uk:DBIx-Class.git dbic Cloning into dbic... Warning

windows paths in shebang lines

2011-01-23 Thread Rafael Kitover
When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C:\Perl64\bin\perl rkitover@eeebox ~ $ /cygdrive/c/Perl64/site/bin/ack --version Can't open perl script /cygdrive/c/Perl64/site/bin/ack:

Re: windows paths in shebang lines

2011-01-23 Thread Rafael Kitover
On 1/23/2011 5:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C:\Perl64\bin\perl rkitover@eeebox ~ $ /cygdrive/c

Re: windows paths in shebang lines

2011-01-23 Thread Rafael Kitover
On 1/23/2011 6:12 PM, Andrew DeFaria wrote: On 01/23/2011 05:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C

Re: windows paths in shebang lines

2011-01-25 Thread Rafael Kitover
On 1/23/2011 10:26 PM, Rafael Kitover wrote: On 1/23/2011 5:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C

Re: bad PATH conversion under XP

2011-01-25 Thread Rafael Kitover
On 1/25/2011 7:14 PM, Cyrille Lefevre wrote: Hi, v2$ uname -a CYGWIN_NT-5.1 PC213736 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin aka Windows XP Professional Ver 5.1 Build 2600 Service Pack 3 though SSH at least : v2$ regtool get /machine/SYSTEM/CurrentControlSet/Control/Session\

Re: Default state of the desktop shortcut checkbox in setup.exe

2011-02-03 Thread Rafael Kitover
On 2/3/2011 6:26 AM, Bruce Cran wrote: Hi, I'd like to suggest making the default state of the desktop shortcut checkbox in setup.exe unchecked. This would make it follow Microsoft's desktop guidelines at http://msdn.microsoft.com/en-us/library/aa511450.aspx . I don't know about other people

Re: /bin/rebaseall fails

2011-02-09 Thread Rafael Kitover
On 2/8/2011 10:42 AM, David Means wrote: When running rebaseall, I receive a #13 error from FixImage: $ /bin/rebaseall /usr/lib/cygicudata.dll: skipped because nonexistent /usr/lib/cygicui18n.dll: skipped because nonexistent /usr/lib/cygicuio.dll: skipped because nonexistent

ADO does not work from bash

2011-02-09 Thread Rafael Kitover
I first reported this problem to the Win32::OLE Perl module RT queue, but as it turns out, the problem is in the Cygwin shell environment and not in the Cygwin perl or the module. From Cygwin bash: $ perl -MWin32::OLE -wle 'Win32::OLE-new(ADODB.Connection)' Win32::OLE(0.1709) error 0x8007007e:

Re: ADO does not work from bash

2011-02-13 Thread Rafael Kitover
On 2/9/2011 7:30 AM, Rafael Kitover wrote: I first reported this problem to the Win32::OLE Perl module RT queue, but as it turns out, the problem is in the Cygwin shell environment and not in the Cygwin perl or the module. From Cygwin bash: $ perl -MWin32::OLE -wle 'Win32::OLE-new

Re: The tree command

2011-02-15 Thread Rafael Kitover
On 2/14/2011 4:23 PM, Mark Hobley wrote: It would be really useful to have a tree command available from the cygwin shell. has anyone managed to find a working tree command yet? We could really do with this in the cygwin archive. The source is here: ftp://mama.indstate.edu/linux/tree/ edit

Re: The tree command

2011-02-15 Thread Rafael Kitover
On 2/15/2011 4:17 AM, Fergus wrote: The source is here: ftp://mama.indstate.edu/linux/tree/ edit the Makefile to uncomment the Cygwin section and it will build cleanly. Yes, works perfectly. FWIW: I wish I'd edited the Makefile additionally to so that prefix = /usr/local rather than the

Re: ssh ... PTY allocation request failed on channel 0

2011-02-28 Thread Rafael Kitover
On 2/28/2011 8:51 PM, Mirko Vukovic wrote: On Mon, Feb 28, 2011 at 8:45 PM, Mirko Vukovic wrote: Hello, I am trying to ssh to g...@github.com, and I get the error PTY allocation request failed on channel 0 ... That message is coming from github.com, it does not allow opening interactive

ssh and user env vars from control panel

2011-03-01 Thread Rafael Kitover
Hello list, I generally set most of my environment variables in the System control panel for my user, instead of in my .bashrc/.zshrc I noticed that when I log in to Cygwin via ssh, these environment variables are not available. Would this be considered a misfeature? I'll probably hack

Detect mintty in .zshrc?

2011-03-03 Thread Rafael Kitover
Hello, I was wondering if there's a way in my .zshrc to determine if the shell is running in mintty or in a regular windows console. I need to know this to set some environment variables correctly. -- Problem reports: http://cygwin.com/problems.html FAQ:

screen and native win console apps

2011-03-03 Thread Rafael Kitover
It seems when in screen in the console, native windows programs that use the console don't work correctly. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: Detect mintty in .zshrc?

2011-03-03 Thread Rafael Kitover
On 3/3/2011 7:21 AM, Andy Koppe wrote: On 3 March 2011 10:10, Rafael Kitover wrote: I was wondering if there's a way in my .zshrc to determine if the shell is running in mintty or in a regular windows console. Check $TERM. It defaults to 'xterm' in mintty and 'cygwin' in the console. Andy

Re: ssh and user env vars from control panel

2011-03-03 Thread Rafael Kitover
I made this block for my .zshrc and .bashrc : if [ -z $APPDATA ]; then # ssh session, set env vars # this from Corinna at http://cygwin.com/ml/cygwin/2010-08/msg00246.html _sid=$(grep ^$USER: /etc/passwd | sed -e 's/[^:]*:[^:]*:[^:]*:[^:]*:[^:]*,\(S-1-5-[^:]*\):.*/\1/') _prof=$(cat

Re: screen and native win console apps

2011-03-03 Thread Rafael Kitover
On 3/3/2011 1:51 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: Rafael Kitover sent the following at Thursday, March 03, 2011 1:29 PM It seems when in screen in the console, native windows programs that use the console don't work correctly. Not unexpected. See the documentation

Re: winmm.dll error 487 is easily reproducible

2011-03-04 Thread Rafael Kitover
On 3/4/2011 4:52 AM, Corinna Vinschen wrote: On Mar 4 05:09, Andy Koppe wrote: On 2 March 2011 13:08, EXCOFFIER Denis wrote: P.S.: By the way, what is the normal way to install snapshots? It is easy to replace cygwin1.dll (keeping around the working one), but in order to test the cygwin1

Re: winmm.dll error 487 is easily reproducible

2011-03-04 Thread Rafael Kitover
On 3/4/2011 5:13 AM, Corinna Vinschen wrote: On Mar 4 05:03, Rafael Kitover wrote: On 3/4/2011 4:52 AM, Corinna Vinschen wrote: On Mar 4 05:09, Andy Koppe wrote: On 2 March 2011 13:08, EXCOFFIER Denis wrote: P.S.: By the way, what is the normal way to install snapshots? It is easy

Re: Detect mintty in .zshrc?

2011-03-04 Thread Rafael Kitover
On 3/4/2011 7:26 AM, Andy Koppe wrote: On 3 March 2011 18:31, Rafael Kitover wrote: I put this block at the top of my .zshrc: if [ $TERM = cygwin -o $TERM = dumb ]; then export RUNNING_IN_CONSOLE=1 export TERM=cygwin fi later I switch on $RUNNING_IN_CONSOLE to see if I'm in a real

Re: Perl: Operation bool: no method found

2011-03-08 Thread Rafael Kitover
On 3/8/2011 2:14 PM, Ken Brown wrote: I'm trying to build biber (http://biblatex-biber.sourceforge.net/) for Cygwin. It is written in Perl. The documentation says to start by running `perl Build.PL' in order to make sure that I have all the required modules. This fails as follows: $ perl

native console apps from #!/bin/sh scripts

2011-03-11 Thread Rafael Kitover
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 -MCPAN -e shell run from zsh prompt works correctly with readline support. Now if I put that

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

2011-03-11 Thread Rafael Kitover
On 3/11/2011 10:34 AM, 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

  1   2   >