delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/11/15:19:29

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Ian Puleston" <ian AT underpressuredivers DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Install error on Perl PROC::Background under Cygwin
Date: Thu, 11 Dec 2008 12:17:36 -0800
Message-ID: <047f01c95bcd$850a7c50$8f1f74f0$@com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I'm not sure if this is a Perl module or Cygwin specific problem, so I'll
try here first. Anyone got any idea what's going wrong here?:

I have perl 5.10.0 installed in cygwin, and I'm getting an error trying to
install the Proc::Background module for it. I downloaded the module from
cpan.org, untarred it, ran perl Makefile.pl; make and make test, and those
all ran fine, but then running "make install" reported "ERROR: Can't create
'/usr/bin'; Do not have write permissions on '/usr/bin'"

I hacked the generated Makefile to remove the no-echo to see that its doing:

[Proc-Background-1.08]: make install
/usr/bin/perl.exe -MExtUtils::Install -e 'install({@ARGV}, '\''0'\'', 0,
'\''0'\'');' -- \
                read
/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Proc/Background/.packlist \
                write
/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Proc/Background/.packlist \
                blib/lib /usr/lib/perl5/site_perl/5.10 \
                blib/arch /usr/lib/perl5/site_perl/5.10/i686-cygwin \
                blib/bin /usr/bin \
                blib/script /usr/bin \
                blib/man1 /usr/share/man/man1 \
                blib/man3 /usr/share/man/man3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/bin'
Do not have write permissions on '/usr/bin'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1
make: *** [pure_site_install] Error 2

This is under Vista. I'm using an administrative account and tried running
it from an elevated shell window (run as administrator) which made no
difference. Other perl modules install fine.

Ideas?
Ian



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019