Hi Scott,

Sorry you're having all this trouble, I know it's frustrating. On ActivePerl, usually the easiest way to install complicated modules is to use PPM, because then they're already compiled for you. You should be able to just type "ppm" at a command prompt to get started, and then just type "install Inline" (I think) at the ppm> prompt.

You don't really need to install Math::FFT, that was just an idea from Rob that might help determine what the problem with your setup might have been.

 -Ken


On Jan 9, 2006, at 12:24 PM, Scott Kaplan wrote:

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.
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
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?

Thx, Scott



Rob - I took your advice and got the following:

--------------------------------------------------------------------- -----
----------------------------------------------------------
C:\my_build_dir>perl Makefile.PL
Checking if your kit is complete...
Looks good

Error: Unable to locate installed Perl libraries or Perl source code.

It is recommended that you install perl in a standard location before
building extensions. Some precompiled versions of perl do not contain
these header files, so you cannot build extensions. In such a case,
please build and install your perl from a fresh perl distribution. It
usually solves this kind of problem.

(You get this message, because MakeMaker could not find
"D:\PXPerl\BUILD\PERL-00
000000000000000000000000000000000000000000000000\lib\CORE\perl.h")
--------------------------------------------------------------------- -----
----------------------------------------------------------

As the error message says, you have an incomplete perl installation. They have given you all you need to run perl scripts, but not enough to build a perl extension. Install a *complete* perl (eg Activestate Perl ... or build
and install your own perl) and we might be able to get somewhere.

I get the same error if I remove my lib/CORE folder:
--------------------------------------------------------------
D:\comp58_M\Math-FFT-1.28>perl makefile.pl
Checking if your kit is complete...
Looks good

Error: Unable to locate installed Perl libraries or Perl source code.

It is recommended that you install perl in a standard location before
building extensions. Some precompiled versions of perl do not contain
these header files, so you cannot build extensions. In such a case, please
build and install your perl from a fresh perl distribution. It usually
solves this kind of problem.

(You get this message, because MakeMaker could not find
"D:\perl58_M\5.8.7\lib\CORE\perl.h")
-------------------------------------------------------------

Cheers,
Rob



Reply via email to