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

2005-03-01 Thread John Morrison (Cygwin)
On Mon, February 28, 2005 9:51 pm, Gerrit P. Haase said:

 The user may want to use a different directory as repository and build
 directory.  It should be done during the initial configuration, however
 I'm not sure if is worth the time to implement it.  Since there are two
 or three rreports about this issue in a year shows that Joe User is
 actually reading the README *or* is not using textmode mounts.

Oh well :)  worth the effort of dropping a line - thanks for replying :).

J.


--
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-03-01 Thread Yitzchak Scott-Thoennes
On Mon, Feb 28, 2005 at 10:51:44PM +0100, Gerrit P. Haase wrote:
 John Morrison wrote:
 
 On Mon, February 28, 2005 12:19 pm, Stephan Petersen said:
 
 Hi Gerrit,
 
 thanks for your and all the others' replies.
 
 
 - 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
 
 
 Could something along these lines be done in the postinstall for perl? 
 (Only if the mount doesn't exist of cause...)
 
 The user may want to use a different directory as repository and build
 directory.  It should be done during the initial configuration, however
 I'm not sure if is worth the time to implement it.  Since there are two
 or three rreports about this issue in a year shows that Joe User is
 actually reading the README *or* is not using textmode mounts.

If they want a different directory, it still doesn't hurt to force ~/.cpan
to binmode (except in so far as it uses up the AIUI limited number of
mounts).  I'd advocate putting it in a postinstall script.

 Anyway: PTA,
 Gerrit

/me looks around, certain that that *can't* have been addressed to me :)

--
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-03-01 Thread Igor Pechtchanski
On Tue, 1 Mar 2005, Yitzchak Scott-Thoennes wrote:

 If they want a different directory, it still doesn't hurt to force ~/.cpan
 to binmode (except in so far as it uses up the AIUI limited number of
 mounts).  I'd advocate putting it in a postinstall script.

Yes, it does sometimes.  There used a problem doing rm when a mount
directory doesn't exist -- the root directory was erased.  I don't have a
spare system available to experiment with it now.
I had this problem when I did rm -rf ~/something, where ~/something
was mounted explicitly, but didn't exist.  At a guess, if the mount point
doesn't exist, the directory resolves to /, and that's what is being
erased.

  Anyway: PTA,
  Gerrit

Adverse Aftereffect of an Abundance of Acronyms (). :-)

 /me looks around, certain that that *can't* have been addressed to me :)

I thought the official acronym for *that* was PITA?  Perhaps it's time
to add it to the OLOCA?  Oh, well, perhaps when I see it actually *used*
rather than hinted upon...
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-03-01 Thread John Morrison
On Tue, March 1, 2005 2:47 pm, Igor Pechtchanski said:
 On Tue, 1 Mar 2005, Yitzchak Scott-Thoennes wrote:

 If they want a different directory, it still doesn't hurt to force
 ~/.cpan
 to binmode (except in so far as it uses up the AIUI limited number of
 mounts).  I'd advocate putting it in a postinstall script.

 Yes, it does sometimes.  There used a problem doing rm when a mount
 directory doesn't exist -- the root directory was erased.  I don't have a
 spare system available to experiment with it now.
 I had this problem when I did rm -rf ~/something, where ~/something
 was mounted explicitly, but didn't exist.  At a guess, if the mount point
 doesn't exist, the directory resolves to /, and that's what is being
 erased.

I was thinking more like the perl installer add a .cpan to the skel folder
and a 'post user create' file (to be determined how it gets run ;) which
does the mount then removes itself.

Thing is, it wouldn't help with users which already exist *before* they
install perl.  A different solution would be necessary for them.  Possibly
a profile.d script?

Anyway, just thoughts :)

J.


--
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-02-28 Thread John Morrison
On Mon, February 28, 2005 12:19 pm, Stephan Petersen said:

 Hi Gerrit,

 thanks for your and all the others' replies.

 - 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


Could something along these lines be done in the postinstall for perl? 
(Only if the mount doesn't exist of cause...)

J.


--
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-02-28 Thread Stephan Petersen

Could something along these lines be done in the postinstall for perl? 
(Only if the mount doesn't exist of cause...)
Alternatively, maybe the CPAN module could issue a warning when it's 
running under cygwin using a textmode-mounted .cpan directory.

Stephan

--
Stephan Petersen [EMAIL PROTECTED]
Visit GTT's Technical Thermochemistry Web Page at 
http://www.gtt-technologies.de/

--
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: (RESOLVED) Re: Installing Perl modules with perl -MCPAN -e shell; fails with 02packages.details.txt.gz does not contain a Line-Count header

2005-02-28 Thread Gerrit P. Haase
John Morrison wrote:
On Mon, February 28, 2005 12:19 pm, Stephan Petersen said:
Hi Gerrit,
thanks for your and all the others' replies.

- 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

Could something along these lines be done in the postinstall for perl? 
(Only if the mount doesn't exist of cause...)
The user may want to use a different directory as repository and build
directory.  It should be done during the initial configuration, however
I'm not sure if is worth the time to implement it.  Since there are two
or three rreports about this issue in a year shows that Joe User is
actually reading the README *or* is not using textmode mounts.
Anyway: PTA,
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/