I added prefs folder inside .cpan It worked, that is I was able to download. However, I got some error message toward the end .
Finding dependencies for strGlue.c Cannot find 'tclDecls.h' assume made Cannot find 'tclPlatDecls.h' assume made Finding dependencies for strcasecmp.c Finding dependencies for strdup.c Cannot find 'tkPort.h' assume made Finding dependencies for strtoul.c Finding dependencies for tclDecls_f.c Cannot find 'tclDecls.h' assume made Cannot find 'tclPlatDecls.h' assume made Finding dependencies for tixImgXpm_f.c Cannot find 'tixPort.h' assume made Cannot find 'tixInt.h' assume made Cannot find 'tixImgXpm.h' assume made Finding dependencies for tixInt_f.c Cannot find 'tixInt.h' assume made Finding dependencies for tixVars.c Cannot find 'tixInt.h' assume made Finding dependencies for tix_f.c Cannot find 'tix.h' assume made Finding dependencies for tkDecls_f.c Cannot find 'tk.h' assume made Finding dependencies for tkEvent_f.c Cannot find 'tclDecls.h' assume made Cannot find 'tclPlatDecls.h' assume made Finding dependencies for tkImgPhoto_f.c Cannot find 'tkPort.h' assume made Cannot find 'tkInt.h' assume made Finding dependencies for tkIntDecls_f.c Cannot find 'tkInt.h' assume made Cannot find 'tkIntDecls.h' assume made Finding dependencies for tkIntPlatDecls_f.c Cannot find 'tclDecls.h' assume made Cannot find 'tclPlatDecls.h' assume made Cannot find 'tkWinInt.h' assume made Cannot find 'tkIntPlatDecls.h' assume made Finding dependencies for tkIntXlibDecls_f.c Finding dependencies for tkInt_f.c Cannot find 'tkInt.h' assume made Finding dependencies for tkOption_f.c Cannot find 'tk.h' assume made Cannot find 'tkInt.h' assume made Finding dependencies for tkPlatDecls_f.c Cannot find 'tclDecls.h' assume made Cannot find 'tclPlatDecls.h' assume made Cannot find 'tkWin.h' assume made Cannot find 'tkPlatDecls.h' assume made Finding dependencies for tkProperty.c Cannot find 'tkPort.h' assume made Cannot find 'tkInt.h' assume made Finding dependencies for tk_f.c Cannot find 'tk.h' assume made Writing Makefile for Tk::pTk Writing Makefile for Tk::pod Checking if your kit is complete... Looks good Writing Makefile for Tk::demos Finding dependencies for X.xs Writing Makefile for Tk::X Finding dependencies for Xlib.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::Xlib Writing Makefile for Tk::Tixish Finding dependencies for Pixmap.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tixPort.h' assume made Cannot find 'pTk/tixInt.h' assume made Cannot find 'pTk/tixImgXpm.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Cannot find 'pTk/tixBitmaps.h' assume made Writing Makefile for Tk::Pixmap Finding dependencies for TixGrid.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tixPort.h' assume made Cannot find 'pTk/tixInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::TixGrid Writing Makefile for Tk::TextList Finding dependencies for Text.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::Text Finding dependencies for TList.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tixPort.h' assume made Cannot find 'pTk/tixInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::TList Finding dependencies for Scrollbar.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWin.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::Scrollbar Finding dependencies for Scale.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::Scale Test Compile/Run config/has_png.c 'cl' is not recognized as an internal or external command, operable program or batch file. Building libpng.lib Note (probably harmless): No library found for -lm Note (probably harmless): No library found for oldnames.lib Note (probably harmless): No library found for kernel32.lib Note (probably harmless): No library found for user32.lib Note (probably harmless): No library found for gdi32.lib Note (probably harmless): No library found for winspool.lib Note (probably harmless): No library found for comdlg32.lib Note (probably harmless): No library found for advapi32.lib Note (probably harmless): No library found for shell32.lib Note (probably harmless): No library found for ole32.lib Note (probably harmless): No library found for oleaut32.lib Note (probably harmless): No library found for netapi32.lib Note (probably harmless): No library found for uuid.lib Note (probably harmless): No library found for ws2_32.lib Note (probably harmless): No library found for mpr.lib Note (probably harmless): No library found for winmm.lib Note (probably harmless): No library found for version.lib Note (probably harmless): No library found for odbc32.lib Note (probably harmless): No library found for odbccp32.lib Note (probably harmless): No library found for msvcrt.lib Assuming cl is visual C of some kind Assuming cl is visual C of some kind Finding dependencies for PNG.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Cannot find 'pTk/imgInt.h' assume made Finding dependencies for imgPNG.c Cannot find 'pTk/imgInt.h' assume made Writing Makefile for Tk::PNG Finding dependencies for NBFrame.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tix.h' assume made Cannot find 'pTk/tixInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::NBFrame Finding dependencies for Menubutton.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::Menubutton Finding dependencies for Listbox.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::Listbox Test Compile/Run jpeg/has_jpeg.c 'cl' is not recognized as an internal or external command, operable program or batch file. Building jpeg/libjpeg.lib Assuming cl is visual C of some kind Finding dependencies for JPEG.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Cannot find 'pTk/imgInt.h' assume made Finding dependencies for imgJPEG.c Writing Makefile for Tk::JPEG Finding dependencies for IO.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::IO Finding dependencies for HList.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tixPort.h' assume made Cannot find 'pTk/tixInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::HList Finding dependencies for Event.xs Cannot find 'tclDecls.h' assume made Cannot find 'tclPlatDecls.h' assume made Finding dependencies for eventWin32Dll.c Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for pTkCallback.c Cannot find 'pTk/tkInt.h' assume made Cannot find 'tclDecls.h' assume made Cannot find 'tclPlatDecls.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for tclAsync.c Cannot find '../pTk/tclAsync.c' assume made Finding dependencies for tclEvent.c Cannot find '../pTk/tclEvent.c' assume made Finding dependencies for tclNotify.c Cannot find '../pTk/tclNotify.c' assume made Finding dependencies for tclPlatEvent.c Cannot find '../pTk/exWinHandle.c' assume made Finding dependencies for tclPlatNotfy.c Cannot find '../pTk/tclWinNotify.c' assume made Finding dependencies for tclPlatTime.c Cannot find '../pTk/tclWinTime.c' assume made Finding dependencies for tclTimer.c Cannot find '../pTk/tclTimer.c' assume made Writing Makefile for Tk::Event Finding dependencies for Entry.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::Entry Finding dependencies for Win32Site.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tixPort.h' assume made Cannot find 'pTk/tixInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::DragDrop::Win32Site Writing Makefile for Tk::DragDrop Finding dependencies for Compound.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tixPort.h' assume made Cannot find 'pTk/tixInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::Compound Finding dependencies for Canvas.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Writing Makefile for Tk::Canvas Finding dependencies for Tk.xs Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkFont.h' assume made Cannot find 'pTk/default.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for chnGlue.c Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for encGlue.c Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for evtGlue.c Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for objGlue.c Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for tixGlue.c Cannot find 'pTk/tixInt.h' assume made Cannot find 'pTk/tixImgXpm.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for tkGlue.c Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tix.h' assume made Cannot find 'pTk/imgInt.h' assume made Cannot find 'pTk/tkWin.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Cannot find 'tkPlatDecls.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for tkGlue_f.c Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkInt.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Finding dependencies for tkWin32Dll.c Cannot find 'pTk/tkPort.h' assume made Cannot find 'pTk/tkWinInt.h' assume made Tests in PNG Tests in JPEG Tests in Event Writing Makefile for Tk Could not read 'C:\cygwin\home\rmicro\.cpan\build\Tk-804.029-3vXb8T\META.yml'. F alling back to other methods to determine prerequisites Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'C:\Program' Stop. SREZIC/Tk-804.029.tar.gz nmake.exe -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persistent stat e Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: SREZIC/Tk-804.029.tar.gz : make NO cpan[2]> On Thu, Aug 25, 2011 at 7:29 AM, Emeka <emekami...@gmail.com> wrote: > > > On Wed, Aug 24, 2011 at 12:31 AM, Jim Gibson <jimsgib...@gmail.com> wrote: > >> On 8/23/11 Tue Aug 23, 2011 3:04 PM, "Emeka" <emekami...@gmail.com> >> scribbled: >> >> > Hello All >> > I tried this in order to install Perl-tk cpan>install tk ... But it >> > failed to work. >> >> You need to let us know what exactly what went wrong when you tried to >> install the Tk module. It is next to impossible, otherwise. >> >> However, in this case, I can tell you that case matters, so try installing >> the "Tk" module: >> > > > > > This is what I got > > > rmicro@rmicro-PC ~ > $ perl -MCPAN -e shell > Terminal does not support AddHistory. > > cpan shell -- CPAN exploration and modules installation (v1.9402) > Enter 'h' for help. > > cpan[1]> install Tk > CPAN: Storable loaded ok (v2.21) > Going to read 'C:\cygwin\home\rmicro\.cpan\Metadata' > Database was generated on Thu, 25 Aug 2011 05:28:03 GMT > Running install for module 'Tk' > Cannot create directory C:\Program Files\xampp\perl\bin\.cpan\prefs > cpan[2]> > > And > > Microsoft Windows [Version 6.0.6002] > Copyright (c) 2006 Microsoft Corporation. All rights reserved. > > C:\Users\rmicro>ppm install http://www.bribes.org/perl/ppm/Tk.ppd > Installing package 'http://www.bribes.org/perl/ppm/Tk.ppd'... > mkdir C:\Program Files\xampp\perl\bin\.ppm/Tk-5944: Permission denied; > Access is > denied at C:/Program Files/xampp/perl/site/lib/PPM.pm line 333 > > > Emeka > > > >> cpan> install Tk >> >> Then if that does not work, cut and past the relevant error messages into >> a >> message. >> >> Thanks. Good luck! >> >> >> >> -- >> To unsubscribe, e-mail: beginners-unsubscr...@perl.org >> For additional commands, e-mail: beginners-h...@perl.org >> http://learn.perl.org/ >> >> >> > > > -- > *Satajanus Nig. Ltd > > > * > -- *Satajanus Nig. Ltd *