Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

No rule to make target '/usr/lib/clucene_dll.o', needed by ''

by (Sexton)
on Apr 07, 2016 at 12:43 UTC ( #1159802=perlquestion: print w/replies, xml ) Need Help?? has asked for the wisdom of the Perl Monks concerning the following question:

when I am install CLusene following error occur

Reading '/root/.local/share/.cpan/Metadata' Database was generated on Thu, 07 Apr 2016 10:17:02 GMT Running install for module 'CLucene' Checksum for /root/.local/share/.cpan/sources/authors/id/P/PE/PEDWARDS +/CLucene-1.00.tar.gz ok Scanning cache /root/.local/share/.cpan/build for sizes ...................................................................... +......DONE Configuring P/PE/PEDWARDS/CLucene-1.00.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for CLucene Writing MYMETA.yml and MYMETA.json PEDWARDS/CLucene-1.00.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK Running make for P/PE/PEDWARDS/CLucene-1.00.tar.gz make: *** No rule to make target '/usr/lib/clucene_dll.o', needed by + ''. Stop. PEDWARDS/CLucene-1.00.tar.gz /usr/bin/make -- NOT OK Failed during this command: PEDWARDS/CLucene-1.00.tar.gz : make NO

I am install using this command

 cpan>install CLucene

anyone can help me?

Replies are listed 'Best First'.
Re: No rule to make target '/usr/lib/clucene_dll.o', needed by ''
by Your Mother (Archbishop) on Apr 07, 2016 at 14:12 UTC

    CLucene has 100% Fail/Unknown on CPANtesters. I had never heard of it till you asked about it. I recommend going with Lucy instead; née KinoSearch.

Re: No rule to make target '/usr/lib/clucene_dll.o', needed by ''
by marto (Cardinal) on Apr 07, 2016 at 12:49 UTC

    "make: *** No rule to make target '/usr/lib/clucene_dll.o', needed by..."

    Did you follow the instructions in the INSTALL file?

      s but not work

        "does not work" does not help :)

        It sounds like you're saying "I couldn't get the INSTALL instructions to work, so I'm asking what this make install error means. Instead, if the INSTALL instructions did not work, we need to know why. We would need to see what INSTALL step you were on when it failed, what you expected to happen, and what actually happened. Sharing the error messages will help tremendously.

        Good luck!

Re: No rule to make target '/usr/lib/clucene_dll.o', needed by ''
by spazm (Monk) on Apr 07, 2016 at 21:06 UTC
    The INSTALL doc appears built around a redhat machine, and requires you to install the clucene rpm, which provides /usr/lib/ You will also need swig-1.3 installed.

    From the INSTALL:

    1) EASIEST - Install using RPM and CPAN archives
    1a. Download and install binary clucene RPM from using "rpm -i" command
    which gives you
    1b. Download CPAN archive CLucene from
    and build with
    # tar xfz CLucene-1.00.tar.gz
    # cd CLucene-1.00
    # perl Makefile.PL
    # make test
    # make install
    The INSTALL directions were last updated a decade ago -- 2005-May-11.

    I installed the ubuntu package for libclucene, and it didn't install the .o, or any library files.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1159802]
Approved by GrandFather
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2023-06-06 20:22 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (29 votes). Check out past polls.