Opened 12 years ago

Last modified 12 years ago

#36978 closed defect

hadoop: needs build dependency on automake — at Version 1

Reported by: afveitch@… Owned by: hum@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: hadoop

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Install progresses until this.

:info:build compile-native:
:info:build 
:info:build create-native-configure:
:info:build      [exec] Can't exec "aclocal": No such file or directory at /opt/local/share/autoconf/Autom4te/FileUtils.pm line 326.
:info:build      [exec] autoreconf: failed to run aclocal: No such file or directory
:info:build 
:info:build BUILD FAILED
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_hadoop/hadoop/work/hadoop-1.0.4/build.xml:611: The following error occurred while executing this line:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_hadoop/hadoop/work/hadoop-1.0.4/build.xml:618: exec returned: 1
:info:build 
:info:build Total time: 4 seconds
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_hadoop/hadoop/work/hadoop-1.0.4" && ant compile-native compile-c++-libhdfs -Dcompile.native=true -Dsnappy.prefix=/opt/local -Dcompile.c++=true -Dlibhdfs=true 
:info:build Exit code: 1

aclocal is installed -

bash-3.2$ which aclocal
/usr/local/bin/aclocal


bash-3.2$ aclocal --version
aclocal (GNU automake) 1.12.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.

I earlier had a problem with autoreconf not being found - It was there, due to a homebrew install in the past. I decided to execute a "port install" of automake and that seemed to clear that problem (not sure why.) I did not see anything clearly related to this in the ticket archives. I am new to working with macports. Any thoughts? Thanks

Andy

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: aclocal removed
Owner: changed from macports-tickets@… to hum@…
Port: hadoop added
Summary: hadoop install - aclocal not found though installedhadoop: needs build dependency on automake

Please remove /usr/local/bin/aclocal, and anything else you have in /usr/local; it is not supported to have things in /usr/local while using MacPorts because it can interfere.

You shouldn't try to use two package managers, such as Homebrew and MacPorts, at the same time because they might interfere with one another. Pick one package manager to use, and uninstall the other and any packages it installed.

If hadoop needs aclocal, then the hadoop port needs a build dependency on the automake port. This was probably not noticed before because Xcode used to include a copy of automake, but the most recent version of Xcode no longer does.

Note: See TracTickets for help on using tickets.