* installing Perl module uses wrong make
@ 2011-09-09 18:08 Ivanov Dmitry
2011-09-09 19:00 ` Ronald Blaschke
0 siblings, 1 reply; 2+ messages in thread
From: Ivanov Dmitry @ 2011-09-09 18:08 UTC (permalink / raw)
To: cygwin
I am trying to install a Perl module for cygwin Perl.
I run this command:
cpan Digest::SHA1
after some time it gives me the error:
Writing Makefile for Digest::SHA1
MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
Fatal: '/usr/lib/perl5/5.10/i686-cygwin/Config.pm' does not exist - don't know h
ow to make it
GAAS/Digest-SHA1-2.13.tar.gz
'/cygdrive/c/Program Files/Borland/Delphi7/Bin/make.EXE' -- NOT OK
----------------------------------------------------------------------
Seems, that is uses make from my Delphi instead of cygwins make. But I don't have Delphi in the PATH.
Here is the PATH:
echo $PATH
/cygdrive/c/Program Files/ImageMagick-6.7.1-Q16:/cygdrive/c/Python26/Lib/site-pa
ckages/PyQt4/bin:/cygdrive/c/Program Files/PHP:/cygdrive/c/WINDOWS/system32:/cyg
drive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/usr/bin:/usr/bin:/
cygdrive/d/bin/Graphviz2.26.3/bin:/cygdrive/c/Program Files/Bazaar:/cygdrive/c/P
rogram Files/Microsoft SQL Server/80/Tools/BINN:/cygdrive/c/Program Files/Tesser
act-OCR:/cygdrive/c/Program Files/Tesseract-OCR/training:/cygdrive/d/bin/sbcl:/c
ygdrive/d/bin/miktex/miktex/bin:/cygdrive/d/bin/GnuWin32/bin:/cygdrive/c/Python2
6:/cygdrive/c/Program Files/MySQL/MySQL Server 5.1/bin:/cygdrive/c/Program Files
/Nmap:/cygdrive/d/bin/QtSDK/Desktop/Qt/4.7.3/mingw/bin
----------------------------------------------------------------------
Where should I put the correct make?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: installing Perl module uses wrong make
2011-09-09 18:08 installing Perl module uses wrong make Ivanov Dmitry
@ 2011-09-09 19:00 ` Ronald Blaschke
0 siblings, 0 replies; 2+ messages in thread
From: Ronald Blaschke @ 2011-09-09 19:00 UTC (permalink / raw)
To: cygwin
On 09/09/2011 08:08 PM, Ivanov Dmitry wrote:
> I am trying to install a Perl module for cygwin Perl.
>
> I run this command:
>
> cpan Digest::SHA1
>
> after some time it gives me the error:
>
> Writing Makefile for Digest::SHA1
> MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
> Fatal: '/usr/lib/perl5/5.10/i686-cygwin/Config.pm' does not exist - don't know h
> ow to make it
> GAAS/Digest-SHA1-2.13.tar.gz
> '/cygdrive/c/Program Files/Borland/Delphi7/Bin/make.EXE' -- NOT OK
>
>
> ----------------------------------------------------------------------
> Seems, that is uses make from my Delphi instead of cygwins make. But I don't have Delphi in the PATH.
[snip]
> ----------------------------------------------------------------------
> Where should I put the correct make?
Not sure why it picked up that make. Have you set the MAKE environment
variable?
To use the right make, enter the CPAN shell.
$ cpan
Have a look at your "make" configuration
cpan[1]> o conf make
make [/path/to/wrong/make]
Change the value.
cpan[2]> o conf make /usr/bin/make
make [/usr/bin/make]
You can make the change permanent with "o conf commit," or just keep it
for this session. Either way, you should not be able to install the module.
cpan[3]> install Digest::SHA1
Ron
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-09 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-09 18:08 installing Perl module uses wrong make Ivanov Dmitry
2011-09-09 19:00 ` Ronald Blaschke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).