[MacPorts] #36978: hadoop: needs build dependency on automake (was: hadoop install - aclocal not found though installed)
MacPorts
noreply at macports.org
Tue Nov 13 11:26:06 PST 2012
#36978: hadoop: needs build dependency on automake
-------------------------+-------------------
Reporter: afveitch@… | Owner: hum@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: hadoop |
-------------------------+-------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => hum@…
* keywords: aclocal =>
* port: => hadoop
Old description:
> 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 at redhat.com>
> and Alexandre Duret-Lutz <adl at 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
New description:
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 at redhat.com>
and Alexandre Duret-Lutz <adl at 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
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/36978#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list