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")
------------------------------------------------------------------------------------------------------------------------------------

Scott

> > I am trying to install inline.pm on a Windows XP Professional box
> >
> > Here is what I have done so far according to the following:
> > http://search.cpan.org/~ingy/Inline-0.44/Inline-Support.pod
> >
> > 1) successfully installed ActiveState (which supposedly uses Visual
> > C++ to compile Perl).
>
> Yes, it has been compiled with Visual C++ 6.0. The latest AS build (build
> 815) also allows you to use the freely available dmake and MinGW compiler,
> for those who don't have (and don't want to purchase or otherwise acquire)
> Visual C++ 6.0.
>
> > 2) Downloaded inline.pm (from
> > http://search.cpan.org/~ingy/Inline-0.44/Inline.pod)
>
> You probably got it right - the actual file you need to download (and then
> unzip) is:
> http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Inline-0.44.tar.gz
>
> > 3) Unzipped the package and created a directory under (C:/Perl/lib)
> > called Inline where everything was unzipped.
> >
> > > cd c:\Perl\lib\Inline
>
> Unzipping to C:/Perl/lib (which as I mention below is not a good idea)
> should have created a folder named C:/Perl/lib/Inline-0.44, not
> C:/Perl/lib/Inline .
>
> > > perl Makefile.PL
> >
> > This failed with the errors:
> >
> > Can't locate auto/Inline/autosplit.ix in @INC (@INC contains: C:/Perl/lib
> C=
> > :/Per
> > l/site/lib .) at C:/Perl/lib/AutoLoader.pm line 160.
> >  at Inline.pm line 7
> > Can't locate auto/Inline/denter/autosplit.ix in @INC (@INC contains:
> C:/Per=
> > l/lib
> >  C:/Perl/site/lib .) at C:/Perl/lib/AutoLoader.pm line 160.
> >  at C:/Perl/lib/Inline/denter.pm line 5
> > Writing Makefile for Math::Simple
> >
> > Does nyone know what am I doing wrong?
> >
>
> That's a very odd looking error message - Inline normally builds straight
> out of the box with AS perl. (And the Math::Simple Makefile should not be
> written.) Assuming you did download the correct file, I can only think that
> it might have something to do with the fact that you've unzipped the package
> into a folder that's within your perl directory. I don't think that's a good
> idea - it's not the way things are normally done. Normally you would unpack
> into some build directory that is in no way associated with your perl
> directory. eg - unpack into C:/my_build_dir. That would give you a directory
> called C:/my_build_dir/Inline-0.44 . You would then cd to
> C:/my_build_dir/Inline-0.44 and run:
> perl Makefile.PL
> nmake (or whatever flavour of make you're using)
> nmake test
> nmake install
>
> You'll also want to remove those directories and files that were created in
> C:/perl/lib when you unzipped the package. That should really be as simple
> as deleting the C:/Perl/lib/Inline-0.44 folder.
>
> If you still have trouble building it, try building a simpler module such as
> Math::FFT. If you can build that module then we know that  you have
> everything configured correctly - and if it won't build ok, it's going to be
> much easier for us to troubleshoot (and therefore solve your problem with
> inline) with Math::FFT, rather than having to troubleshoot with Inline-0.44.
>
> Cheers,
> Rob
>
>

Reply via email to