Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Tony Arnold" To: Subject: RE: Problems with CPAN Date: Wed, 31 Jul 2002 09:40:46 +0100 Organization: University of Manchester Message-ID: <31CB870AD5AA384BB5419025DD9F7A8410435A@dailymail.cfs.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <31CB870AD5AA384BB5419025DD9F7A84104355@dailymail.cfs.ac.uk> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-Authenticated-Sender: Anthony C Arnold from aca-vnt.mcc.ac.uk (acavnt) [130.88.201.150] X-Authenticated-From: tony DOT arnold AT man DOT ac DOT uk X-Scanner: exiscan *17Zp2G-0000oM-00*Bdne/gVp/YY* (Manchester Computing, University of Manchester) Turns out that this problem was due to incorrect permissions and ownership of files in /usr/bin. The perl binary was owned by administrator and had permission of 700. I changed this to 755 and everything worked. Curiusly, I could still run perl from a bash prompt, but the MakeMaker module in Perl could not execute it. I guess this is perl internally only looking at cygwin permissions, but somehow bash looks at the NT permissions. Regards, Tony. > I ran cpan suggested and it immediately told me there was a > new version available and how to install it, so from the cpan > prompt, I typed: > > install Bundle::CPAN > > Part way through it said it could not find a Perl 5 with the following > message: > > Unable to find a perl 5 (by these names: /usr/bin/perl > miniperl perl perl5 perl5.6.1, in these dirs: /usr/local/bin > /usr/local/bin /usr/bin /bin /usr/X11R6/bin > /cygdrive/c/WINNT/system32 /cygdrive/c/WINNT > /cygdrive/c/WINNT/system32/WBEM /cygdrive/c/Perl/bin/ > /usr/bin /cygdrive/c/PROGRA~1/IBM/AFS/DOCUME~1 > /cygdrive/c/PROGRA~1/IBM/AFS/Common /cygdrive/c/Program > Files/Network Associates/PGPcmdln > /cygdrive/c/Progra~1/Hummingbird/Connectivity/7.00/Exceed > /cygdrive/c/PROGRA~1/IBM/AFS/Client/Program > /cygdrive/c/PROGRA~1/IBM/AFS/CONTRO~1 Z . Y . /usr/bin) > > Even though perl is installed. Perl -v gives: > > This is perl, v5.6.1 built for cygwin-multi > > Copyright 1987-2001, Larry Wall > > Perl may be copied only under the terms of either the > Artistic License or the GNU General Public License, which may > be found in the Perl 5 source kit. > > Complete documentation for Perl, including FAQ lists, should > be found on this system using `man perl' or `perldoc perl'. > If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. I tried renaming perl.exe to just perl, but this did not help. Any ideas? Regards, Tony. -- Tony Arnold, Deputy to the Head of COS Division, Manchester Computing, University of Manchester, Oxford Road, Manchester M13 9PL. T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039 E-mail: tony DOT arnold AT man DOT ac DOT uk, Home: http://www.man.ac.uk/Tony.Arnold -- 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/ -- 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/