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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2008/09/30 21:13:44 UTC

[jira] Issue Comment Edited: (HADOOP-3659) Patch to allow hadoop native to compile on Mac OS X

    [ 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.