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

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

by chella2104@gmail.com (Sexton)
on Apr 07, 2016 at 12:43 UTC ( [id://1159802]=perlquestion: print w/replies, xml ) Need Help??

chella2104@gmail.com 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 + 'CLuceneWrap.so'. 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 'CLuceneWrap.so'
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 'CLuceneWrap.so'
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 'CLuceneWrap.so'
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/libclucene.so.0. 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 http://sourceforge.net/projects/clucene using "rpm -i" command
    which gives you
            /usr/include/clucene_dllh.h
            /usr/include/clucene_dllp.h
            /usr/lib/clucene_dll.o
            /usr/lib/libclucene.a
            /usr/lib/libclucene.la
            /usr/lib/libclucene.so
            /usr/lib/libclucene.so.0
            /usr/lib/libclucene.so.0.0.0
    
    1b. Download CPAN archive CLucene from http://search.cpan.org/~pedwards/
    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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-12-08 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (50 votes). Check out past polls.