Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: perl module problem
by planetscape (Chancellor) on Jul 27, 2006 at 13:29 UTC
      hi thanks.. it was really interesting... but could not resolve my problem.. i had given the exact error ...so want to resolve it.. let me know if you want to know more in detail... Mohit
Re: perl module problem
by chromatic (Archbishop) on Jul 27, 2006 at 14:17 UTC

    What do you mean when you say that you pasted those new version files?

    If you copied and pasted the files that PPM installed, you may have missed some or put them in the wrong place. Unless you know intimate details about how Perl looks up modules and how the distribution you're installing works, that's probably what broke things.

    Did installing the distribution through PPM not work for you?

      ppm install version.pm file at c:/per/site/lib/version.pm but whe i run perl Build.pl thenit say it din't get version.pm at c:/perl/lib/ so gave error but when i copy that thenit din't give that error but gave new error what i wrote in last post.

        Do you have multiple versions of Perl installed? Is the ppm binary in the same directory as the perl binary? What is the result of perl -V?

Re: perl module problem
by ww (Archbishop) on Jul 27, 2006 at 14:35 UTC

    Mohit

    Inferentially, you seem to be talking about a "standard install" of a beta. Is this so? Or is the beta a second version on a single system? or ????

    Please note also that your reference to pasting new modules you're installing with PPM is a bit of a mystery. Why do you do that? PPM handles all the install you need for a standard install of ActiveState's perl.

    Others may achieve a reasonable understanding but -- for me -- your question makes me wonder about the above... and/or the possibility that your copy of M::B::V is borked

      [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

        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
Re: perl module problem
by CountZero (Bishop) on Jul 27, 2006 at 20:25 UTC
    How did you install Module::Build::Version? It requires a C-compiler to do. Did the install of Module::Build::Version finish without errors?

    When you copied version.pm, did you also copy Version::vxs.pm and all the files in the lib\site\auto\version\vxs-folder?

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

      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 lin +e 1125.

      now i want to resolve this prob.. plz help me to resolve it..

      Thanks
      mohit

      20060728 Janitored by Corion: Added formatting, code tags, lists, linkified link, as per Writeup Formatting Tips and Writeup Formatting Tips

        Do you have a C-compiler installed and configured on your system?

        Update: I saw your answer in another part of this thread and you have a C-complier installed. Still it is much easier to install the modules which need to be compiled by using ppm

        CountZero

        "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law