Thanks for the help. I was able to get past my previous issue, but the
native build is still failing. Here is the end of the log output:
[exec] then mv -f ".deps/LzoCompressor.Tpo" ".deps/
LzoCompressor.Plo"; else rm -f ".deps/LzoCompressor.Tpo"; exit 1; fi
[exec] mkdir .libs
[exec] gcc -DHAVE_CONFIG_H -I. -I/Users/nathan/Downloads/
hadoop-0.18.1/src/native/src/org/apache/hadoop/io/compress/lzo -
I../../../../../../.. -I/Library/Java/Home//include -I/Users/nathan/
Downloads/hadoop-0.18.1/src/native/src -g -Wall -fPIC -O2 -m32 -g -O2 -
MT LzoCompressor.lo -MD -MP -MF .deps/LzoCompressor.Tpo -c /Users/
nathan/Downloads/hadoop-0.18.1/src/native/src/org/apache/hadoop/io/
compress/lzo/LzoCompressor.c -fno-common -DPIC -o .libs/LzoCompressor.o
[exec] /Users/nathan/Downloads/hadoop-0.18.1/src/native/src/org/
apache/hadoop/io/compress/lzo/LzoCompressor.c: In function
'Java_org_apache_hadoop_io_compress_lzo_LzoCompressor_initIDs':
[exec] /Users/nathan/Downloads/hadoop-0.18.1/src/native/src/org/
apache/hadoop/io/compress/lzo/LzoCompressor.c:135: error: syntax error
before ',' token
[exec] make[2]: *** [LzoCompressor.lo] Error 1
[exec] make[1]: *** [all-recursive] Error 1
[exec] make: *** [all] Error 2
Any ideas?
On Sep 30, 2008, at 11:53 AM, Colin Evans wrote:
There's a patch to get the native targets to build on Mac OS X:
http://issues.apache.org/jira/browse/HADOOP-3659
You probably will need to monkey with LDFLAGS as well to get it to
work, but we've been able to build the native libs for the Mac
without too much trouble.
Doug Cutting wrote:
Arun C Murthy wrote:
You need to add libhadoop.so to your java.library.patch.
libhadoop.so is available in the corresponding release in the lib/
native directory.
I think he needs to first build libhadoop.so, since he appears to
be running on OS X and we only provide Linux builds of this in
releases.
Doug