You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Colin Evans (JIRA)" <ji...@apache.org> on 2008/06/27 22:03:45 UTC
[jira] Created: (HADOOP-3659) Patch to allow hadoop native to
compile on Mac OS X
Patch to allow hadoop native to compile on Mac OS X
---------------------------------------------------
Key: HADOOP-3659
URL: https://issues.apache.org/jira/browse/HADOOP-3659
Project: Hadoop Core
Issue Type: Improvement
Components: native
Affects Versions: 0.17.0
Environment: Mac OS X 10.5.3
Reporter: Colin Evans
Priority: Minor
This patch makes the autoconf script work on Mac OS X. LZO needs to be installed (including the optional shared libraries) for the compile to succeed. You'll want to regenerate the configure script using autoconf after applying this patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3659) Patch to allow hadoop native to
compile on Mac OS X
Posted by "Colin Evans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613821#action_12613821 ]
Colin Evans commented on HADOOP-3659:
-------------------------------------
I installed the lzo package from http://www.oberhumer.com/opensource/lzo/ - the MacPorts lzo package drops its libs in /opt/local/include, which isn't in the default lib path. I guess that the configure script should probably support either install..
> Patch to allow hadoop native to compile on Mac OS X
> ---------------------------------------------------
>
> Key: HADOOP-3659
> URL: https://issues.apache.org/jira/browse/HADOOP-3659
> Project: Hadoop Core
> Issue Type: Improvement
> Components: native
> Affects Versions: 0.17.0
> Environment: Mac OS X 10.5.3
> Reporter: Colin Evans
> Assignee: Colin Evans
> Priority: Minor
> Attachments: hadoop-native-mac.patch
>
>
> This patch makes the autoconf script work on Mac OS X. LZO needs to be installed (including the optional shared libraries) for the compile to succeed. You'll want to regenerate the configure script using autoconf after applying this patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (HADOOP-3659) Patch to allow hadoop
native to compile on Mac OS X
Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635813#action_12635813 ]
aw edited comment on HADOOP-3659 at 9/30/08 12:12 PM:
--------------------------------------------------------------------
For completeness, fink uses /sw as its root instead of /opt.
Although we need to be wary about including a *ton* of paths. We might trigger NFS, which would be less than ideal.
Is there some reason that we can't let the user set LDFLAGS, INCLUDE, etc, as env vars and suck them in during the config process? i.e., if I have my lzo set in a weirdo place (i.e., MacPorts, Fink, etc), then I should be able to:
INCLUDE=/sw/include LDFLAGS=-L/sw/lib -R/swlib ant build
... or is ant not smart enough to pass those on?
was (Author: aw):
For completeness, fink uses /sw as its root instead of /opt.
> Patch to allow hadoop native to compile on Mac OS X
> ---------------------------------------------------
>
> Key: HADOOP-3659
> URL: https://issues.apache.org/jira/browse/HADOOP-3659
> Project: Hadoop Core
> Issue Type: Improvement
> Components: native
> Affects Versions: 0.17.0
> Environment: Mac OS X 10.5.3
> Reporter: Colin Evans
> Assignee: Colin Evans
> Priority: Minor
> Attachments: hadoop-native-mac.patch
>
>
> This patch makes the autoconf script work on Mac OS X. LZO needs to be installed (including the optional shared libraries) for the compile to succeed. You'll want to regenerate the configure script using autoconf after applying this patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HADOOP-3659) Patch to allow hadoop native to
compile on Mac OS X
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy reassigned HADOOP-3659:
-------------------------------------
Assignee: Colin Evans
Colin, apologies that this has taken so long...
I installed lzo2 on my Mac via macports and I needed to add '-I /opt/local/include' to configure.ac to get autoconf to find my lzo2 headers... how did you get around it without needing to modify configure.ac?
> Patch to allow hadoop native to compile on Mac OS X
> ---------------------------------------------------
>
> Key: HADOOP-3659
> URL: https://issues.apache.org/jira/browse/HADOOP-3659
> Project: Hadoop Core
> Issue Type: Improvement
> Components: native
> Affects Versions: 0.17.0
> Environment: Mac OS X 10.5.3
> Reporter: Colin Evans
> Assignee: Colin Evans
> Priority: Minor
> Attachments: hadoop-native-mac.patch
>
>
> This patch makes the autoconf script work on Mac OS X. LZO needs to be installed (including the optional shared libraries) for the compile to succeed. You'll want to regenerate the configure script using autoconf after applying this patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3659) Patch to allow hadoop native to
compile on Mac OS X
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614835#action_12614835 ]
Arun C Murthy commented on HADOOP-3659:
---------------------------------------
bq. I guess that the configure script should probably support either install..
Yes, and the configure script also needs to ensure that LDFLAGS also has the right path to find libjvm.so too...
> Patch to allow hadoop native to compile on Mac OS X
> ---------------------------------------------------
>
> Key: HADOOP-3659
> URL: https://issues.apache.org/jira/browse/HADOOP-3659
> Project: Hadoop Core
> Issue Type: Improvement
> Components: native
> Affects Versions: 0.17.0
> Environment: Mac OS X 10.5.3
> Reporter: Colin Evans
> Assignee: Colin Evans
> Priority: Minor
> Attachments: hadoop-native-mac.patch
>
>
> This patch makes the autoconf script work on Mac OS X. LZO needs to be installed (including the optional shared libraries) for the compile to succeed. You'll want to regenerate the configure script using autoconf after applying this patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3659) Patch to allow hadoop native to
compile on Mac OS X
Posted by "Colin Evans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Evans updated HADOOP-3659:
--------------------------------
Attachment: hadoop-native-mac.patch
A patch to acinclude.m4 that supports using otool to find a linked library.
> Patch to allow hadoop native to compile on Mac OS X
> ---------------------------------------------------
>
> Key: HADOOP-3659
> URL: https://issues.apache.org/jira/browse/HADOOP-3659
> Project: Hadoop Core
> Issue Type: Improvement
> Components: native
> Affects Versions: 0.17.0
> Environment: Mac OS X 10.5.3
> Reporter: Colin Evans
> Priority: Minor
> Attachments: hadoop-native-mac.patch
>
>
> This patch makes the autoconf script work on Mac OS X. LZO needs to be installed (including the optional shared libraries) for the compile to succeed. You'll want to regenerate the configure script using autoconf after applying this patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3659) Patch to allow hadoop native to
compile on Mac OS X
Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635813#action_12635813 ]
Allen Wittenauer commented on HADOOP-3659:
------------------------------------------
For completeness, fink uses /sw as its root instead of /opt.
> Patch to allow hadoop native to compile on Mac OS X
> ---------------------------------------------------
>
> Key: HADOOP-3659
> URL: https://issues.apache.org/jira/browse/HADOOP-3659
> Project: Hadoop Core
> Issue Type: Improvement
> Components: native
> Affects Versions: 0.17.0
> Environment: Mac OS X 10.5.3
> Reporter: Colin Evans
> Assignee: Colin Evans
> Priority: Minor
> Attachments: hadoop-native-mac.patch
>
>
> This patch makes the autoconf script work on Mac OS X. LZO needs to be installed (including the optional shared libraries) for the compile to succeed. You'll want to regenerate the configure script using autoconf after applying this patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.