You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by stan lee <le...@gmail.com> on 2010/05/24 12:15:47 UTC

No rule to make target `impl/lzo/.deps/LzoDecompressor.Plo' error when trying to build lzo native library

I tried to build lzo native library following below steps:

1. Install
lzo2-2.02-3.el5.rf.x86_64.rpm 和 lzo2-devel-2.02-3.el5.rf.x86_64.rpm

2. download hadoop-lzo and compile it using ant compile-native tar, I met
below error:

 [ exec] checking lzo/lzo2a.h usability... which: no otool in
(/home/xapuser/apache-ant-1.8.1/bin:/opt/sunjdk1.6.0_05/bin/:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/xapuser/bin)
[exec] yes
[exec] checking lzo/lzo2a.h presence... yes
[exec] checking for lzo/lzo2a.h... yes
[exec] checking Checking for the 'actual' dynamic-library for '-llzo2'...
"liblzo2.so.2"
[exec] checking for special C compiler options needed for large files... no
[exec] checking for _FILE_OFFSET_BITS value needed for large files... no
[exec] checking for stdbool.h that conforms to C99... yes
[exec] checking for _Bool... yes
[exec] checking for an ANSI C-conforming const... yes
[exec] checking for off_t... yes
[exec] checking for size_t... yes
[exec] checking whether strerror_r is declared... yes
[exec] checking for strerror_r... yes
[exec] checking whether strerror_r returns char *... yes
[exec] checking for mkdir... yes
[exec] checking for uname... yes
[exec] checking for memset... yes
[exec] checking for JNI_GetCreatedJavaVMs in -ljvm... no
[exec] checking jni.h usability... yes
[exec] checking jni.h presence... yes
[exec] checking for jni.h... yes
[exec] configure: creating ./config.status
[exec] config.status: creating Makefile
[exec] config.status: creating impl/config.h
[exec] config.status: impl/config.h is unchanged
[exec] config.status: executing depfiles commands
[exec] config.status: executing libtool commands
[exec] Makefile:325: impl/lzo/.deps/LzoCompressor.Plo: No such file or
directory
[exec] Makefile:326: impl/lzo/.deps/LzoDecompressor.Plo: No such file or
directory
[exec] make: *** No rule to make target
`impl/lzo/.deps/LzoDecompressor.Plo'. Stop.

BUILD FAILED
/home/xapuser/hadoop-lzo/build.xml:248: exec returned: 2

So have any one met this problem before? Is there anything I missed to build
it successfully?

Re: No rule to make target `impl/lzo/.deps/LzoDecompressor.Plo' error when trying to build lzo native library

Posted by stan lee <le...@gmail.com>.
This problem has been solved. Thanks!

On Mon, May 24, 2010 at 6:15 PM, stan lee <le...@gmail.com> wrote:

> I tried to build lzo native library following below steps:
>
> 1. Install
> lzo2-2.02-3.el5.rf.x86_64.rpm 和 lzo2-devel-2.02-3.el5.rf.x86_64.rpm
>
> 2. download hadoop-lzo and compile it using ant compile-native tar, I met
> below error:
>
>  [ exec] checking lzo/lzo2a.h usability... which: no otool in
> (/home/xapuser/apache-ant-1.8.1/bin:/opt/sunjdk1.6.0_05/bin/:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/xapuser/bin)
> [exec] yes
> [exec] checking lzo/lzo2a.h presence... yes
> [exec] checking for lzo/lzo2a.h... yes
> [exec] checking Checking for the 'actual' dynamic-library for '-llzo2'...
> "liblzo2.so.2"
> [exec] checking for special C compiler options needed for large files... no
> [exec] checking for _FILE_OFFSET_BITS value needed for large files... no
> [exec] checking for stdbool.h that conforms to C99... yes
> [exec] checking for _Bool... yes
> [exec] checking for an ANSI C-conforming const... yes
> [exec] checking for off_t... yes
> [exec] checking for size_t... yes
> [exec] checking whether strerror_r is declared... yes
> [exec] checking for strerror_r... yes
> [exec] checking whether strerror_r returns char *... yes
> [exec] checking for mkdir... yes
> [exec] checking for uname... yes
> [exec] checking for memset... yes
> [exec] checking for JNI_GetCreatedJavaVMs in -ljvm... no
> [exec] checking jni.h usability... yes
> [exec] checking jni.h presence... yes
> [exec] checking for jni.h... yes
> [exec] configure: creating ./config.status
> [exec] config.status: creating Makefile
> [exec] config.status: creating impl/config.h
> [exec] config.status: impl/config.h is unchanged
> [exec] config.status: executing depfiles commands
> [exec] config.status: executing libtool commands
> [exec] Makefile:325: impl/lzo/.deps/LzoCompressor.Plo: No such file or
> directory
> [exec] Makefile:326: impl/lzo/.deps/LzoDecompressor.Plo: No such file or
> directory
> [exec] make: *** No rule to make target
> `impl/lzo/.deps/LzoDecompressor.Plo'. Stop.
>
> BUILD FAILED
> /home/xapuser/hadoop-lzo/build.xml:248: exec returned: 2
>
> So have any one met this problem before? Is there anything I missed to
> build it successfully?
>