in reply to Re: perl module problem
in thread perl module problem

[First i want to tell u about the steps what i have taken to install perl and modules.]

1.Download the activeperl5.8.8.817MSwin32-x86-257965.

2.Runt it and got installed it on my system.

3.then i download the kinosearch0.12 and do this :- perl Build.pl then got error

can't locate module::build.

4.to remove that error i did following(suggested at install all perl module)

C:/>ppm s Module-Build searching in active repository 1.Module-Build [0.2801] Module-Build 2.Module-Build-Convert [0.21] Module-Build-Convert 3.Module-Build-JSAN [0.01] module-Build-JSAN
ppm> i 1 install 'Module-Build' Version 0.2801 in ActivePerl 5.8.8.817.

hence it install it.

Again i run

c:/kinosearch-0.12>perl Build.pl

then it inform me to install

1.Lingua-StopWords 2.Lingua-Stem-Snowball 3.Clone

I installed it with the help of PPM

now again

C:/kinosearch-0.12>perl Build.pl

it created new Build and wrote all files in src but gave one warning and that is..

Warning: this distribution contains XS files,but Module::Build is not configured with C_support at C:/per/site/lib/module/build/base.pm line 1125.

now how can i resolve this problem

Thanks

Mohit

Edited by planetscape - linkified link; added code tags and rudimentary formatting

( keep:0 edit:18 reap:0 )

Replies are listed 'Best First'.
Re^3: perl module problem
by syphilis (Archbishop) on Jul 28, 2006 at 10:15 UTC
    Warning: this distribution contains XS files,but Module::Build is not configured with C_support at C:/per/site/lib/module/build/base.pm line 1125

    As far as I can tell KinoSearch-0.12 contains no XS files. At least there's none listed at http://search.cpan.org/~creamyg/KinoSearch-0.12/MANIFEST.

    And I don't really understand the part about Module::Build not being configured with C support. (I haven't used Module::Build very much.) Do you have a C compiler ? You will need one if you want to build perl extensions (ie modules whose source contains XS files). With ActiveState build 817 you could use either Visual Studio or (the freely available) MinGW and dmake.

    However, if it's just a matter of installing KinoSearch you could run:

    ppm install http://theoryx5.uwinnipeg.ca/ppms/KinoSearch.ppd

    That would give you version 0.11 of that module. Is that ok ? The same repository can provide you with the KinoSearch pre-requisites (eg Lingua-Stem-Snowball). I expect you will be prompted to install the pre-requisites when you install the KinoSearch ppm. If you browse to http://theoryx5.uwinnipeg.ca/ppms/ you can see the list of ppm's that are available there.

    Cheers,
    Rob
      hi
      In my last post i wrote the complet flow what i used so i got that error.
      i have perl and c compiler both.
      i don't just want to install the kinosearch even i want to make a small search engine.
      http://www.rectangular.com/kinosearch/docs/stable/KinoSearch/Docs/Tutorial.html

      u can see the example given at this link...so i want to use this but i don't know how to proceed...

      plz if you can help me...
      Thanks
      Mohit