Opened 11 years ago
Closed 11 years ago
#41332 closed defect (fixed)
hadoop @1.2.1: build failure on 10.9
Reported by: | lcopps@… | Owned by: | humem (humem) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks | Cc: | |
Port: | hadoop |
Description
Hadoop fails final build on OSX 10.9 Mavericks on late 2013 MBP.
Attachments (2)
Change History (5)
Changed 11 years ago by lcopps@…
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Keywords: | mavericks added; Hadoop Mavericks removed |
---|---|
Owner: | changed from macports-tickets@… to hum@… |
Port: | hadoop added |
Summary: | Hadoop fails to build on OSX 10.9 Mavericks. → hadoop @1.2.1: build failure on 10.9 |
comment:2 Changed 11 years ago by d5nguyenvan@…
Replying to lcopps@…:
Hadoop fails final build on OSX 10.9 Mavericks on late 2013 MBP.
I think you use Java 1.7 or greater when trying to install hadoop 1.2.1, I trace the build log, then change java to 1.6 and build complete. Using these steps to install the hadoop:
- Change to root user (sudo su)
- Change to java 1.6 (export JAVA_HOME=
/usr/libexec/java_home -v 1.6
) - port install hadoop (if fail when verify the checksum, please clean and try again)
Hope you install hadoop successfully.
comment:3 Changed 11 years ago by humem (humem)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I found the same problem on Mavericks, and have modified the Portfile to set JAVA_HOME in the build phase. Committed in r117032.
Note: See
TracTickets for help on using
tickets.
In the future, please Cc relevant port maintainers (e.g.,
port info --maintainers hadoop
).This is not a complete log. Please clean, try again, and attach the new
main.log
if you experience another failure.