Note that there are some explanatory texts on larger screens.

plurals
  1. POError while building Hadoop native library for compression codec on cygwin/windows
    text
    copied!<p>I am trying to use Hadoop compression codec on windows environment. However, as mentioned in haddop documentation, native libraries need to be built for any platform other than linux.</p> <p>I am building native library for compression codec from cygwin following the steps mentioned here: <a href="http://hadoop.apache.org/common/docs/r0.18.3/native_libraries.html#Building+Native+Hadoop+Libraries" rel="nofollow">http://hadoop.apache.org/common/docs/r0.18.3/native_libraries.html#Building+Native+Hadoop+Libraries</a></p> <p>But getting this error: (last few lines of the log)</p> <pre><code> [exec] configure: WARNING: jni.h: present but cannot be compiled [exec] configure: WARNING: jni.h: check for missing prerequisite headers? [exec] configure: WARNING: jni.h: see the Autoconf documentation [exec] configure: WARNING: jni.h: section "Present But Cannot Be Compiled" [exec] configure: WARNING: jni.h: proceeding with the preprocessor's result [exec] configure: WARNING: jni.h: in the future, the compiler will take precedence [exec] configure: WARNING: ## ------------------------------------------ ## [exec] configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## [exec] configure: WARNING: ## ------------------------------------------ ## [exec] checking for jni.h... yes [exec] checking zlib.h usability... yes [exec] checking zlib.h presence... yes [exec] checking for zlib.h... yes [exec] checking Checking for the 'actual' dynamic-library for '-lz'... [exec] checking zconf.h usability... yes [exec] checking zconf.h presence... yes [exec] checking for zconf.h... yes [exec] checking Checking for the 'actual' dynamic-library for '-lz'... (cached) [exec] checking fcntl.h usability... yes [exec] checking fcntl.h presence... yes [exec] checking for fcntl.h... yes [exec] checking for stdlib.h... (cached) yes [exec] checking for string.h... (cached) yes [exec] checking for unistd.h... (cached) yes [exec] checking for an ANSI C-conforming const... yes [exec] checking for memset... yes [exec] checking whether strerror_r is declared... yes [exec] checking for strerror_r... yes [exec] checking whether strerror_r returns char *... no [exec] configure: creating ./config.status [exec] config.status: creating Makefile [exec] config.status: error: cannot find input file: Makefile.in </code></pre> <p>BUILD FAILED C:\cygwin\usr\local\hadoop\build.xml:596: The following error occurred while executing this line: C:\cygwin\usr\local\hadoop\build.xml:645: exec returned: 1</p> <p>I have also renamed all the Makefile to Makefile.in but still cannot get past this error. Can anybody please help me fixing this up.</p> <p>Makefile does exist in the haddop/src/native folder and if I build it using ./configure, it is fine, however, it does not generate any jars. Thanks, - csn</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload