----- Original Message ----- From: "Scott Kaplan" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]> Cc: <inline@perl.org> Sent: Tuesday, January 10, 2006 5:24 AM Subject: Re: Errors when attempting to install Inline.pm
> I apologize, but I still must be missing something here. > > OK, here is a recap of what I just did. > > 1) I wipped out all copies of Perl distributions on my machine and > freshly downloaded ActivePerl and successfully installed it. What shell (console) are you using ? I assume it's 'cmd.exe' .... not 'command.com'. What do you get when you run: perl -V >From this (and subsequent posts) it looks like you might not have not properly installed ActivePerl. (If ppm aint there, it's not right :-) Which package did you download - the '.msi' or the '.zip' ? I usually choose the '.zip' package. Just download, unzip, and then run 'install.bat' - which is one of the files contained in the package. I don't normally use the '.msi' package - and am not sure of the details, but the msi package installer should handle it correctly. > 2) I wipped out all copies of inline (the entire unzipped package) on > my machine and freshly unzipped it to a newly created directory called > (C:\my_build_dir) > 3) typed: cd C:\my_build_dir > 4) typed: perl Makefile.PL > > And here is the entire output: > > C:\my_build_dir>perl Makefile.PL When you uinzipped it to C:\my_build_dir, it should have created a folder called 'Inline-0.44', and placed the files in there. You then simply leave all of those files where they landed, and cd to C:\my_build_dir\Inline-0.44 and run 'perl Makefile.PL', etc. Apparently there's a Makefile.PL in C:\my_build_dir. There shouldn't be one there. How did it get there ? > Can't locate Inline/MakeMaker.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/sit > e/lib .) at Makefile.PL line 1. > BEGIN failed--compilation aborted at Makefile.PL line 1. > > So, Rob you suggested that the next step is for me to try to build > Math::FFT. Is there some special way that I am to perform this? > It's done the same way - download, unzip, cd to 'my_build-dir\Math-FFT-1.28' and run 'perl Makefile.PL', 'nmake test' and 'nmake install'. It's often easier to work out what's going wrong if you try to build a simpler extension such as Math::FFT. It doesn't have to be Math::FFT - I always specify it simply because: a) it builds quickly and flawlessly; b) it has no pre-requisite modules that you don't already have; c) it's an extension (ie needs compilation). With the errors you're reporting it probably wouldn't help all that much - something is fundamentally wrong. Others have suggested using ppm to install Inline. I've nothing against that in general - or even using ppm to install Inline in particular. However, if you can't *build* Inline yourself, then it's highly probable that the Inline ppm won't work. (That's because the configurational issues that have prevented you from successfully building Inline will almost certainly prevent you from using the ppm'd Inline successfully.) Whichever path you take, it should simply be just not *this* hard :-) Cheers, Rob