Re: Proposal to add and maintain the w3m package

2005-02-27 Thread Bob Heckel
On Sat, Feb 26, 2005 at 03:20:33PM -0500, Christopher Faylor wrote:
 On Sat, Feb 26, 2005 at 02:32:20PM -0500, Bob Heckel wrote:
 Here are preliminary setup.hint's
 
 @ w3m
 
 Can you explain what in the documentation suggested to you that you
 needed to use this @ w3m tag?  I have read the setup.html web page
 repeatedly and it seems really clear to me that it isn't required but
 you are at least the third person who has recently submitted a
 setup.hint with this.
 
 I'd like to correct the documentation so that I don't have to keep
 making this observation over and over again.

The template's use of italics (http://cygwin.com/setup.html#setup.hint)
confused me.  I knew I had to enter some text and guessed that because
package was italicized too, I needed to enter that.  Plus, as Igor said
(thanks for the helpful comments, Igor), I needed a way to distinguish w3m and
gc hints.

Maybe bolding the user entries and italicizing the autofills/optionals or
adding an example to the documentation would help?  These use Igor's
suggestions:

# w3m package prototype for submission to cygwin-apps@cygwin.com
sdesc: A text based Web browser and pager
ldesc: w3m is a pager/text-based WWW browser. It is similar to Lynx,
but handles some things like page navigation differently. It can 
render tables and frames (by converting frames into tables) or 
display a document given from standard input.  And it is small.
category: Text Web
requires: gc ncurses openssl cygwin

# libgc package prototype for submission to cygwin-apps@cygwin.com
sdesc: The Boehm-Demers-Weiser conservative garbage collector
for C/C++
ldesc: The Boehm-Demers-Weiser conservative garbage collector can
be used as a garbage collecting replacement for C malloc or C++ new.
It allows you to allocate memory basically as you normally would,
without explicitly deallocating memory that is no longer useful. The
collector automatically recycles memory when it determines that it
can no longer be otherwise accessed.
category: Libs
requires: cygwin


Re: Proposal to add and maintain the w3m package

2005-02-27 Thread Jason Tishler
Bob,

On Sat, Feb 26, 2005 at 02:32:20PM -0500, Bob Heckel wrote:
 Based on suggestions from http://cygwin.com/setup.html, I'm announcing
 my willingness to be the package maintainer for the w3m browser
 (http://sourceforge.net/projects/w3m).  I haven't found any mention of
 an existing w3m package in any Cygwin mailing list nor web searches.

+1.

 Before I proceed any further, I wanted to make sure the license for
 the GC library won't cause any problems.  
 Overview -- http://www.hpl.hp.com/personal/Hans_Boehm/gc/ 
 License -- http://www.hpl.hp.com/personal/Hans_Boehm/gc/license.txt

BTW, when did w3m become dependent on the above?  I've been using w3m
for a long time and never noticed this dependency.  However, I haven't
built a version since 0.3.2.2+cvs-1.697 (i.e., from CVS after 0.3.2.2
but before 0.4).

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6


Re: Proposal to add and maintain the w3m package

2005-02-27 Thread Bob Heckel
On Sun, 27 Feb 2005 09:17:20 -0500, Jason Tishler wrote:

 BTW, when did w3m become dependent on the above?  I've been using w3m
 for a long time and never noticed this dependency.  However, I haven't
 built a version since 0.3.2.2+cvs-1.697 (i.e., from CVS after 0.3.2.2
 but before 0.4).

I am not a long time w3m user, I've only recently realized how useful
it is.  This is what appears to be the first mention of gc:

   2000/11/19
   From: Okabe Katsuya [EMAIL PROTECTED]
 gc6 support.

The version I'm proposing is w3m-0.5.1 and I can't get it to compile
w/o gc (so far, at least).  Any suggestions are always welcome.


Re: Proposal to add and maintain the w3m package

2005-02-27 Thread Christopher Faylor
On Sun, Feb 27, 2005 at 09:15:13AM -0500, Bob Heckel wrote:
On Sat, Feb 26, 2005 at 03:20:33PM -0500, Christopher Faylor wrote:
 On Sat, Feb 26, 2005 at 02:32:20PM -0500, Bob Heckel wrote:
 Here are preliminary setup.hint's
 
 @ w3m
 
 Can you explain what in the documentation suggested to you that you
 needed to use this @ w3m tag?  I have read the setup.html web page
 repeatedly and it seems really clear to me that it isn't required but
 you are at least the third person who has recently submitted a
 setup.hint with this.
 
 I'd like to correct the documentation so that I don't have to keep
 making this observation over and over again.

The template's use of italics (http://cygwin.com/setup.html#setup.hint)
confused me.  I knew I had to enter some text and guessed that
because package was italicized too, I needed to enter that.  Plus, as
Igor said (thanks for the helpful comments, Igor), I needed a way to
distinguish w3m and gc hints.

You were taking something as a template which was just a list of all of
potential fields available in setup.hint.  I think you needed to read
the surrounding text.

Maybe we need to add a Read This section underneath or something.

cgf


Re: New procps release

2005-02-27 Thread Corinna Vinschen
On Feb 26 13:11, Chris January wrote:
  On Feb 21 21:21, Chris January wrote:
   I've finally found time to update the procps package. The 
  new version 
   is based off procps 3.2.5 from procps.sourceforge.net.
   
   Download links: 
   http://www.atomice.com/downloads/procps-3.2.5-1-bin.tar.bz2

If at all possible, please name the file correctly.  It makes uploading
simpler.  Thanks.

   http://www.atomice.com/downloads/procps-3.2.5-1-src.tar.bz2
   [...]
  If Cygwin 1.5.13 is required, this should be marked as test release.
 
 Sure. Are you implying I need to send a setup.hint

That's what I was implying but...

 or is it good to be
 uploaded as-is?

...I've uploaded it now as is and changed setup.hint accordingly.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.


Re: Update: perl-Win32-GUI, perl-libwin32

2005-02-27 Thread Gerrit P. Haase
Reini Urban wrote:
Ok, I fixed all cygwin issues. vendor, pid's, rebased, better pm_to_blib
patch.
http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-Win32-GUI/perl-Win32-GUI-1.0-2.tar.bz2 
http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-Win32-GUI/perl-Win32-GUI-1.0-2-src.tar.bz2 
http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-libwin32/perl-libwin32-0.191-3.tar.bz2 
http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-libwin32/perl-libwin32-0.191-3-src.tar.bz2 

This can go out. No GTG?
Sorry, I was on a business trip for two weeks...
I tried to rebuild:
$ ./perl-libwin32-0.191-3.sh prep
patching file perl-libwin32-0.191/APIFile/File.pm
Hunk #1 FAILED at 5.
Hunk #2 FAILED at 41.
Hunk #3 FAILED at 198.
Hunk #4 FAILED at 289.
Hunk #5 FAILED at 310.
Hunk #6 FAILED at 339.
Hunk #7 FAILED at 535.
Hunk #8 FAILED at 815.
Hunk #9 FAILED at 859.
Hunk #10 FAILED at 1594.
Hunk #11 FAILED at 1898.
Hunk #12 FAILED at 2024.
Not setting time of file perl-libwin32-0.191/APIFile/File.pm (contents 
mismatch)
12 out of 12 hunks FAILED -- saving rejects to file 
perl-libwin32-0.191/APIFile/File.pm.rej
patching file perl-libwin32-0.191/APIFile/File.xs
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 110.
Hunk #3 FAILED at 134.
Hunk #4 FAILED at 457.
Hunk #5 FAILED at 500.
Not setting time of file perl-libwin32-0.191/APIFile/File.xs (contents 
mismatch)
5 out of 5 hunks FAILED -- saving rejects to file 
perl-libwin32-0.191/APIFile/File.xs.rej
patching file perl-libwin32-0.191/APIFile/MANIFEST
Hunk #1 FAILED at 8.
Not setting time of file perl-libwin32-0.191/APIFile/MANIFEST (contents 
mismatch)
1 out of 1 hunk FAILED -- saving rejects to file 
perl-libwin32-0.191/APIFile/MANIFEST.rej
patching file perl-libwin32-0.191/APIFile/Makefile.PL
Hunk #1 FAILED at 74.
Hunk #2 FAILED at 96.
Hunk #3 FAILED at 124.
Not setting time of file perl-libwin32-0.191/APIFile/Makefile.PL 
(contents mismatch)
3 out of 3 hunks FAILED -- saving rejects to file 
perl-libwin32-0.191/APIFile/Makefile.PL.rej
patching file perl-libwin32-0.191/APIFile/ppport.h
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 
perl-libwin32-0.191/APIFile/ppport.h.rej
patching file perl-libwin32-0.191/APIFile/t/tie.t
patching file perl-libwin32-0.191/APIFile/test.pl
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 22.
Hunk #3 FAILED at 48.
[...continues...]

What goes wrong?  I have no idea, but I havn't looked closer at this.
Gerrit
--
=^..^=


Setup.exe: Installing Packages

2005-02-27 Thread Steve Holmes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there any way to install individual packages other than the package
selection menu?

I personally am quite mouse impaired and wanna use the keyboard to do
such things.  Any way to pass it via a command line to setup.exe?

As a separate idea, I could just untar the package manually and run
the post install scripts by hand.  Do you think that would be my best
bet since I can't use the selection menu in its present form?

Thanks for any ideas.
- -- 
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCIhxwWSjv55S0LfERAgB0AKCTBcLpflpoGA1MEFScURaCXuz8qgCgnQ1G
Ti97H6OpKW9o32gNfJjejbc=
=aBaE
-END PGP SIGNATURE-


Re: Update: perl-Win32-GUI, perl-libwin32

2005-02-27 Thread Reini Urban
Gerrit P. Haase schrieb:
Reini Urban wrote:
Ok, I fixed all cygwin issues. vendor, pid's, rebased, better pm_to_blib
patch.
http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-Win32-GUI/perl-Win32-GUI-1.0-2.tar.bz2 
http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-Win32-GUI/perl-Win32-GUI-1.0-2-src.tar.bz2 
http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-libwin32/perl-libwin32-0.191-3.tar.bz2 
http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-libwin32/perl-libwin32-0.191-3-src.tar.bz2 
Sorry, I was on a business trip for two weeks...
I tried to rebuild:
$ ./perl-libwin32-0.191-3.sh prep
patching file perl-libwin32-0.191/APIFile/File.pm
Hunk #1 FAILED at 5.
...
Hunk #2 FAILED at 22.
Hunk #3 FAILED at 48.
[...continues...]
What goes wrong?  I have no idea, but I havn't looked closer at this.
Oops! Sorry. Stupid doseol issues.
I've updated this package to:
http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-libwin32/perl-libwin32-0.191-4.tar.bz2 

http://xarch.tu-graz.ac.at/publ/cygwin/release/perl-libwin32/perl-libwin32-0.191-4-src.tar.bz2
Binary package and setup.hint is the same.
Just the src patch and the build script fixes the dos eol to \n.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban
http://phpwiki.org


Re: Proposal to add and maintain the w3m package

2005-02-27 Thread Bob Heckel
On Sun, 27 Feb 2005 10:15:59 -0500, Christopher Faylor wrote:
 On Sun, Feb 27, 2005 at 09:15:13AM -0500, Bob Heckel wrote:
 On Sat, Feb 26, 2005 at 03:20:33PM -0500, Christopher Faylor wrote:
  On Sat, Feb 26, 2005 at 02:32:20PM -0500, Bob Heckel wrote:
  Here are preliminary setup.hint's
  
  @ w3m
 
  Can you explain what in the documentation suggested to you that you
  needed to use this @ w3m tag?  I have read the setup.html web page
  repeatedly and it seems really clear to me that it isn't required but
  you are at least the third person who has recently submitted a
  setup.hint with this.
 
  I'd like to correct the documentation so that I don't have to keep
  making this observation over and over again.
 
 The template's use of italics (http://cygwin.com/setup.html#setup.hint)
 confused me.  I knew I had to enter some text and guessed that
 because package was italicized too, I needed to enter that.  Plus, as
 Igor said (thanks for the helpful comments, Igor), I needed a way to
 distinguish w3m and gc hints.
 
 You were taking something as a template which was just a list of all of
 potential fields available in setup.hint.  I think you needed to read
 the surrounding text.

Yes, after re-reading the page, I think, in my haste to get a sample
posted, I skipped over a few parts and misinterpreted that section's
intent.  I also missed the @ issue discussed in a few recent
posts; I should have subscribed to this list a bit longer before
posting.


Re: Startx on Cygwin

2005-02-27 Thread Alexander Gottwald
On Sun, 27 Feb 2005, Milos Puchta wrote:

 Hi Alexander,
 
 I have been searching solution to similar problem you have been asking
 in cygwin.com discussion group. Based on your advice, I have checked
 the mount and find that it is showing correct mount data.
 I have set audit option for all kind of failures and found that there is 
 conflict
 with the rights for Xwin.exe. It seems that Windows security does not 
 follow the virtual unix ones, but it may be clue.

maybe this is an problem with installed personal firewalls or vpn software.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Startup problems with startx/xinit

2005-02-27 Thread Alexander Gottwald
On Sun, 27 Feb 2005, Steve Horne wrote:

 Hi,
 
 I have just installed the full cygwin installation on
 a new machine and am having problems starting xwin 
 (and wmaker). 

If you want to use windowmaker with Xwin you must not 
start XWin with the -multiwindow parameter.

 I do not have Zonealarm installed but I do have McAfee
 VirusScan installed.

Since even the simple startup without internal windowmanager 
and clipboard manager failed I suspect a problem with McAfee.

Does disabling it help?

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


winsup/utils ChangeLog regtool.cc

2005-02-27 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-02-27 17:55:55

Modified files:
utils  : ChangeLog regtool.cc 

Log message:
* regtool.cc (opts): The argument to 'K' is not optional.
(main): Revert previous change.  Just let getopt deal with missing 
argument.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaumr1=1.300r2=1.301
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/utils/regtool.cc.diff?cvsroot=uberbaumr1=1.16r2=1.17



winsup/cygwin ChangeLog

2005-02-27 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-02-28 01:55:46

Modified files:
cygwin : ChangeLog 

Log message:
remove unneeded blank line

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.2739r2=1.2740



Re: mmap and MAP_FIXED

2005-02-27 Thread Evgeny Stambulchik
Tried cygwin1-20050225.dll. Things seem to work fine now.
Thanks, Corinna!
Evgeny
--
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: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-02-27 Thread Jason Pearce

Stephan,
I don't recall -- did you attach the output of cygcheck -svr at some
point (if so, just point to it in the archives, no need to repost)?  My
guess is that this may be a textmode vs. binmode issue.  Try making your
home directory a binmode mount, or setting PERLIO=crlf and see if that
helps with CPAN.
Igor
Actually I think this advice is the wrong way around. Before running 
CPAN, I think you should unset PERLIO if you otherwise have it set. I 
set PERLIO=crlf by default because my perl scripts heavily interact with 
DOS programs. If I run CPAN directly I have problems. But CPAN works 
fine once I unset PERLIO
I run it like this:

unset PERLIO; perl -MCAPN 
FYI - my home directory is a binmode mount.
Regards,
Jason

--
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: regtool - 1.8 - Core dump

2005-02-27 Thread Igor Pechtchanski
On Sun, 27 Feb 2005, Alexander Joerg Herrmann wrote:

  Why aren't you using 'mount' and/or 'umount' to manipulate the mounts?
  There should be no need to modify the registry directly to add or
  remove mounts and doing so may break in the future. Regtool is not the
  proper program to use to modify mounts.

 I'am currently traveling to Thailand accessing the Host computer
 www.felixfrisch.de thru Internet mainly thru a CygWin installed on my
 USB Stick. They allow you here to do a lot of stuff in the Internet Cafe
 on there computer but sometimes regedit is blocked. Same is true for the
 mount command. Dunno why but it's blocked in some places. regtool does
 the job quite well.

That's probably because mount is trying to create system mounts by
default, and the HKLM key has restricted access (as it should).  Try using
mount -u instead, i.e.,

mount -u -b E:/aIEngine/CYGWIN /
mount -u -b E:/aIEngine/CYGWIN/bin /usr/bin
mount -u -b E:/aIEngine/CYGWIN/lib /usr/lib

HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/



getopt required_argument (Was Re: regtool - 1.8 - Core dump)

2005-02-27 Thread Igor Pechtchanski
On Sat, 26 Feb 2005, Brian Dessent wrote:

 Alexander Joerg Herrmann wrote:

  What I was mentioning is that
  regtool -K
  causes a core fault and something similar under windows because the
  argument is broken. I know that the argument is missing and so should
  regtool. It should produce a usage message insteed of a crash imo.

 The program should not core dump on invalid arguments.  That I agree
 with, and it's a bug that should be fixed.

Well, it's just a matter of adding a check for optarg being NULL and
printing an appropriate message (e.g.,
  if (optarg == NULL) {
fprintf(stderr, Missing key-value separator\n);
usage();
  }
).

However, the question is what should getopt's behavior be if something
specified as a required_argument is missing?  Should it simply set
optarg to NULL, just like it does with optional_argument, or should it
return an error code of some sort?  Any getopt experts out there?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: getopt required_argument (Was Re: regtool - 1.8 - Core dump)

2005-02-27 Thread Igor Pechtchanski
On Sun, 27 Feb 2005, Igor Pechtchanski wrote:

 On Sat, 26 Feb 2005, Brian Dessent wrote:

  Alexander Joerg Herrmann wrote:
 
   What I was mentioning is that
   regtool -K
   causes a core fault and something similar under windows because the
   argument is broken. I know that the argument is missing and so should
   regtool. It should produce a usage message insteed of a crash imo.
 
  The program should not core dump on invalid arguments.  That I agree
  with, and it's a bug that should be fixed.

 Well, it's just a matter of adding a check for optarg being NULL and
 printing an appropriate message (e.g.,
   if (optarg == NULL) {
 fprintf(stderr, Missing key-value separator\n);
 usage();
   }
 ).

 However, the question is what should getopt's behavior be if something
 specified as a required_argument is missing?  Should it simply set
 optarg to NULL, just like it does with optional_argument, or should it
 return an error code of some sort?  Any getopt experts out there?

Whoops, never mind.  It's a bug, pure and simple.  According to
http://refspecs.freestandards.org/LSB_2.0.0/LSB-generic/LSB-generic/libutil-getopt-3.html,
two colons after a character indicate an *optional* argument, and for a
required argument one needs to use only one colon.  The only change needed
is that opts[] needs to only have one colon after K.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: regtool - 1.8 - Core dump

2005-02-27 Thread Christopher Faylor
On Sun, Feb 27, 2005 at 11:04:49AM -0500, Igor Pechtchanski wrote:
On Sun, 27 Feb 2005, Alexander Joerg Herrmann wrote:

  Why aren't you using 'mount' and/or 'umount' to manipulate the mounts?
  There should be no need to modify the registry directly to add or
  remove mounts and doing so may break in the future. Regtool is not the
  proper program to use to modify mounts.

 I'am currently traveling to Thailand accessing the Host computer
 www.felixfrisch.de thru Internet mainly thru a CygWin installed on my
 USB Stick. They allow you here to do a lot of stuff in the Internet Cafe
 on there computer but sometimes regedit is blocked. Same is true for the
 mount command. Dunno why but it's blocked in some places. regtool does
 the job quite well.

That's probably because mount is trying to create system mounts by
default, and the HKLM key has restricted access (as it should).  Try using
mount -u instead, i.e.,

mount -u -b E:/aIEngine/CYGWIN /
mount -u -b E:/aIEngine/CYGWIN/bin /usr/bin
mount -u -b E:/aIEngine/CYGWIN/lib /usr/lib

Use the right tool for the right job?  Understand how the tool works?

No, no.  This is all too confusing.

I'm going to stick with editing the registry with notepad.  That's the
safest way to do things.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-02-27 Thread Gerrit P. Haase
Stephan Petersen wrote:
Hi David,
Please check the validity of the index file by comparing it to more
than one CPAN mirror.

Have you tried this?  E.g. configured CPAN to use another mirror and 
tried
again?

yes, it's the same for every CPAN mirror I've tried. I've deleted CPAN's
config.pm and my .cpan directory several times now, it's the same after
every reconfiguration.
Testing 02packages.details.txt.gz with gzip -t reports:
gzip: 02packages.details.txt.gz: invalid compressed data--format violated
Same with 03modlist.data.gz.
I'm using cygwin on W2k with default text file type DOS, in case
that's relevant.
Yes.  Your .cpan directory needs to be mounted in binmode (Unix).
From /usr/share/doc/Cygwin/perl-5.8.6.README:
- The CPAN repository and build directory *must* reside in a path
  mounted in binmode:
mount -s -b -f c:/cygwin/home/username/.cpan /home/username/.cpan
mount -u -b -f c:/cygwin/home/username/.cpan /home/username/.cpan
  where username is your home path and cygwin / windows username.
  After mounting like this it should work with only few warnings or
  completely without problems, depending on your environment settings
  for the CYGWIN variable.
HTH,
Gerrit
--
=^..^=
--
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: libperl.dll

2005-02-27 Thread Gerrit P. Haase
Ariel Burbaickij wrote:
Hello mailing list participants,
xchat in binary form as provided by cygnome requires libperl.dll  in
some particular
version (5.6.1) in my case. File is not available in my installation
and the version
of perl used is considerably higher 5.8. So well the simple symlink
from libperl.5.8.1.dll.a
work or is the required version the only thing that will be accepted.
If yes, is anyone
aware of any trustworthy places where I can get it?
5.6.x perl releases are outdated and no longer supported.
You cannot copy the 5.8 perl DLL to substitute 5.6 perl because:
 1. the rest of perl-5.6.x is no longer available
 2. 5.6 and 5.8 are not binary compatible
Rebuild xchat against the latest perl.
Gerrit
--
=^..^=
--
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: [ANNOUNCEMENT] Updated: findutils-20041227-1

2005-02-27 Thread Tom Hall
 Date: Sat, 19 Feb 2005 12:50:19 -0500
 From: Christopher Faylor [EMAIL PROTECTED]
 To: cygwin@cygwin.com
 Subject: Re: [ANNOUNCEMENT] Updated: findutils-20041227-1
 
 On Sat, Feb 19, 2005 at 07:33:23AM -0700, Tom Hall wrote:
 On Mon, Dec 27, 2004 at 17:42:11 -, [EMAIL PROTECTED] wrote:
 ^
  I've made a new version of 'findutils' available for installation...
 
 Thanks you !
 
 Did you notice when this announcement went out?

Yes. What's your point ?

 
  Perhaps more importantly, this version includes a patch from Corinna
  Vinschen which should stop the dreaded floppy seek problem that was
  reported on the cygwin mailing list.
 
 This also fixes the manifestation of this problem with df, which was
 actually bothering me more than find. Now they're both back to normal.
 
 No, actually it doesn't.  df has nothing to do with findutils.

You're right. After rebooting, the floppy seek stuff came back with df.
Back to subst a: c: in my cygwin.bat :-( 

- Tom

--
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/



what is ping reponse timeout mean?

2005-02-27 Thread shih lin
dear cygwin user:

  after I connect to aol, I get aol's ip, then I went to www.network-tools.com 
to use its trace and ping to check this address, the result of ping say time 
out.

  the result of trace at last 4 parts always response timeout except one time I 
change my XP home ed window security (firewall setting) (I can not remembered 
which), it success report to host name with that ip without timeout.

   first, what is timeout mean for both ping and trace? 
   and second, should I change my xp's window firewall setting so It won't have 
timeout.  -- and can it finally let outsider see my website's test page by 
typing that aol assigned public?

  highly appreciate your help, and thanks in advance
eric



http://Game.37.com/  --- Free Games
http://newJoke.com/   ---  J O K E S  ! ! !


Re: what is ping reponse timeout mean?

2005-02-27 Thread Christopher Faylor
On Sun, Feb 27, 2005 at 05:37:30PM -0800, shih lin wrote:
after I connect to aol, I get aol's ip, then I went to
www.network-tools.com to use its trace and ping to check this address,
the result of ping say time out.

the result of trace at last 4 parts always response timeout except one
time I change my XP home ed window security (firewall setting) (I can
not remembered which), it success report to host name with that ip
without timeout.

first, what is timeout mean for both ping and trace?  and second,
should I change my xp's window firewall setting so It won't have
timeout.  -- and can it finally let outsider see my website's test page
by typing that aol assigned public?

highly appreciate your help, and thanks in advance

I don't see anything in the above that is remotely related to cygwin.

If you need help setting up some part of XP then you should be seeking
another forum.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: precompiled header status

2005-02-27 Thread Billinghurst, David \(CALCRTS\)
 From: Hans Horn
 Sent: Monday, 24 January 2005 8:02 AM
 
 what is the current status of precompiled headers under cygwin?
 The last post I read about this was 
 http://sources.redhat.com/ml/cygwin/2004-10/msg01318.html - 
 then silence!

I have updated this for gcc mainline (now 4.1) and submitted the patch
http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01765.html today.

If it is accepted, I will see if I can get it into gcc-4.0, although it 
may now be too late for 4.0.0

David


NOTICE
This e-mail and any attachments are private and confidential and may contain 
privileged information. If you are not an authorised recipient, the copying or 
distribution of this e-mail and any attachments is prohibited and you must not 
read, print or act in reliance on this e-mail or attachments.
This notice should not be removed.

--
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: cygcheck -l or -c broken in snapshots

2005-02-27 Thread Yitzchak Scott-Thoennes
On Thu, Aug 26, 2004 at 10:43:30PM +0200, Corinna Vinschen wrote:
 On Aug 26 12:26, Yitzchak Scott-Thoennes wrote:
  Using cygcheck from the 20040825 snapshot, I get
  
  $ cygcheck -lv cygwin
  Can't open file list /etc/setup/cygwin.lst.gz for package cygwin
 
 Thanks for the heads up.  I've screwed my build system.  I'm in the process
 of correcting that so the next snapshot should behave ok again.

I'm seeing this again with the 20050221 and 20050225 snapshots
(Corinna's), but not 20050219 or 20050226 (Christopher's).

I also notice some interesting variation in which files are included:

$ perl snapfiles.pl cygwin-inst-20050219.tar.bz2
cygwin:
   all but /usr/share/info/libc.info
no package:
   /usr/include/cygwin/utmp.h
   /usr/include/sys/string.h
   /usr/include/utmpx.h

[EMAIL PROTECTED] ~/dl
$ perl snapfiles.pl cygwin-inst-20050221.tar.bz2
binutils:
   /usr/lib/libiberty.a
cygwin:
   all but /usr/bin/dumper.exe
libiconv:
   /usr/include/iconv.h
mingw-runtime:
   all
no package:
   /usr/include/cygwin/utmp.h
   /usr/include/sys/string.h
   /usr/include/unctrl.h
   /usr/include/utmpx.h
w32api:
   all but /usr/include/w32api/DbgHelp.h

$ perl snapfiles.pl cygwin-inst-20050225.tar.bz2
binutils:
   /usr/lib/libiberty.a
cygwin:
   all but /usr/bin/dumper.exe
libiconv:
   /usr/include/iconv.h
mingw-runtime:
   all
no package:
   /usr/include/cygwin/utmp.h
   /usr/include/libgen.h
   /usr/include/sys/statvfs.h
   /usr/include/sys/string.h
   /usr/include/unctrl.h
   /usr/include/utmpx.h
w32api:
   all but /usr/include/w32api/DbgHelp.h

$ perl snapfiles.pl cygwin-inst-20050226.tar.bz2
cygwin:
   all
no package:
   /usr/include/cygwin/utmp.h
   /usr/include/libgen.h
   /usr/include/sys/statvfs.h
   /usr/include/sys/string.h
   /usr/include/utmpx.h

--
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/



possible bug in g++ variable alignment

2005-02-27 Thread Ron Kaminsky

When compiling (using g++) and running the following program:

/* start program example */
#include iostream

unsigned char t[1] __attribute__((aligned(16)));

using namespace std;

int main()
{
   static unsigned char s[1] __attribute__((aligned(16))) ;

   cout  s =   ((int) s[0]) % 16  endl;

   return 0;
}
/* end program example */

I get the result:

s = 8

when I would expect (as I get under Linux)

s = 0

I know that g++ is dependent on ld which limits its maximum
alignment, but under Cygwin, it/they only print/s warnings for
alignments which are  16.

Note that all is OK if you don't try to also align the global
variable t.

Also note that if s is not declared static, this doesn't even
work under Linux for me (perhaps with a slightly changed program,
with larger alignment moduli). However, I see no documentation
that automatic variables cannot be aligned using this construct.

Cygwin Configuration Diagnostics
Current System Time: Sun Feb 27 16:49:13 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   U:\kam\bin
U:\kam\bin\cygwin
C:\cygwin\lib\subversion\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Program Files\Intel\IPP41\ia32_itanium\bin
c:\Program Files\Intel\IPP41\ia32_itanium\bin\win32
c:\Program Files\Intel\VTune\CGGlbCache
c:\Program Files\Intel\VTune\Analyzer\Bin
c:\Program Files\Intel\VTune\Shared\Bin
c:\Program Files\Common Files\Intel\Shared Files\Ia32\Bin
c:\Program Files\Intel\EDB
c:\Program Files\Intel\ISelect\Bin
c:\Program Files\Intel\ICID
c:\Program Files\Intel\Compiler60\IA32\Bin
c:\Python23
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\localbin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\WINDOWS\system32\nls
c:\WINDOWS\system32\nls\ENGLISH
c:\Program Files\Microsoft Visual Studio\VC98\Bin
c:\Program Files\Microsoft Visual Studio\VC98\Bin
c:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
c:\Program Files\Common Files\Microsoft Shared\VBA\VBA6
z:\
x:\
c:\Program Files\Common Files\GTK\2.0\bin
c:\Program Files\Common Files\Roxio Shared\DLLShared
c:\matlabR14\bin\win32
c:\Program Files\XEmacs\XEmacs-21.4.13\i586-pc-win32

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1256(kam)   GID: 103(OrboSW)
103(OrboSW)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1256(kam)  GID: 103(OrboSW)
0(root) 513(None)   544(Administrators) 545(Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

CYGWIN = `ntsec tty'
HOME = `u:\kam'
MAKE_MODE = `unix'
PWD = `/home/kam/hw/inbox'
USER = `kam'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\kam\Application Data'
BISTRO_GLOBAL_CACHE_DIR = `C:\Program Files\Intel\VTune\CGGlbCache'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `RON-KM'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOSTNAME = `ron-km'
HTTPS_PROXY = `http://proxy-isl:8080'
HTTP_PROXY = `http://proxy-isl:8080'
INCLUDE = `C:\Program Files\Intel\IPP41\ia32_itanium\include;C:\Program 
Files\Intel\Compiler70\IA32\Include;C:\Program 
Files\Intel\Compiler60\IA32\Include;C:\Program Files\Microsoft Visual 
Studio\VC98\Include;C:\Program Files\Microsoft Visual 
Studio\VC98\atl\include;C:\Program Files\Microsoft Visual 
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual 
Studio\VC98\include;C:\Program Files\Intel\IPP41\ia32_itanium\include'
INCLUDE_IPP = `C:\Program Files\Intel\IPP41\ia32_itanium\include'
INCLUDE_MSVS_OLD = `C:\Program Files\Microsoft Visual 
Studio\VC98\atl\include;C:\Program Files\Microsoft Visual 
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
INTEL_LICENSE_FILE = `C:\Program Files\Common Files\Intel\Licenses'
LIB = `C:\Program Files\Intel\IPP41\ia32_itanium\lib;C:\Program 
Files\Intel\IPP41\ia32_itanium\stublib;C:\Program 
Files\Intel\Compiler70\IA32\Lib;C:\Program Files\Common Files\Intel\Shared 
Files\Ia32\Lib;C:\Program Files\Intel\Compiler60\IA32\Lib;c:\Program 
Files\Microsoft Visual Studio\VC98\Lib;C:\Program Files\Microsoft Visual 
Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual 
Studio\VC98\lib;C:\Program Files\Intel\IPP41\ia32_itanium\lib;C:\Program 
Files\Intel\IPP41\ia32_itanium\stublib'
LIB_IPP = `C:\Program Files\Intel\IPP41\ia32_itanium\lib;C:\Program 
Files\Intel\IPP41\ia32_itanium\stublib'
LIB_MSVS_OLD = `C:\Program Files\Microsoft Visual 
Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib'
LOGONSERVER = `\\RON-KM'
MANPATH =