hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3123) Build native libraries on Solaris
Date Fri, 28 Mar 2008 20:36:24 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tom White updated HADOOP-3123:

    Attachment: solaris.patch

This patch fixes most of the portability problems of the current build scripts. I can build
the native libraries on Solaris 10 using the following:

export LDFLAGS="-L /usr/local/lib"
ant -Dcompile.native=true -Dnonspace.os=SunOS -Dmake.cmd=gmake clean tar

{{-Dnonspace.os=SunOS}} is needed since the code in build.xml doesn't work on Solaris (I haven't
figured out why). And I couldn't get the build to work with regular {{make}}, so I used {{gmake}}.

I haven't yet tested whether the build still works on Linux with these changes.

(Even with these changes native builds on Mac OS X don't work - but they are getting closer.)

> Build native libraries on Solaris
> ---------------------------------
>                 Key: HADOOP-3123
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3123
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: build
>         Environment: Solaris
>            Reporter: Tom White
>             Fix For: 0.17.0
>         Attachments: solaris.patch
> The current native build scripts need to be changed to run on Solaris.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message