[MacPorts] #53595: hadoop fails to install before and after selfupdate to 2.40
MacPorts
noreply at macports.org
Sat Feb 18 05:08:57 UTC 2017
#53595: hadoop fails to install before and after selfupdate to 2.40
------------------------------+-------------------
Reporter: TheLastLovemark | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.0
Resolution: | Keywords:
Port: hadoop |
------------------------------+-------------------
Comment (by kencu):
OK. you need to get ant to work. let's see what's going on. Try this:
{{{
which ant
}}}
I get `/usr/bin/ant`. Then see what that is:
{{{
ls -la /usr/bin/ant
}}}
I get this:
{{{
lrwxr-xr-x 1 root wheel 22 1 Sep 13:52 /usr/bin/ant ->
/usr/share/ant/bin/ant
}}}
OK. A link. Let's see what that points to:
{{{
ls -la /usr/share/ant/bin/ant
-rwxr-xr-x 1 root wheel 9973 1 Sep 13:52 /usr/share/ant/bin/ant
}}}
all right. Go there:
{{{
cd /usr/share/ant/bin/
}}}
and see what's up
{{{
$ ls -la
total 0
drwxr-xr-x 8 root wheel 272 3 Jun 2011 .
drwxr-xr-x 7 root wheel 238 3 Jun 2011 ..
-rwxr-xr-x 1 root wheel 9973 1 Sep 13:52 ant
-rwxr-xr-x 1 root wheel 861 1 Sep 13:52 antRun
-rwxr-xr-x 1 root wheel 2199 1 Sep 13:52 antRun.pl
-rwxr-xr-x 1 root wheel 3219 1 Sep 13:52 complete-ant-cmd.pl
-rwxr-xr-x 1 root wheel 4422 1 Sep 13:52 runant.pl
-rwxr-xr-x 1 root wheel 3401 1 Sep 13:52 runant.py
}}}
OK. cat ./ant shows it's just a big long script.
Let's run it
{{{
$ ./ant -version
Apache Ant(TM) version 1.8.2 compiled on June 3 2011
}}}
would you like to try some of these steps and see if your links match up?
In the end, you need to get `ant -version` to give you the expected
output.
--
Ticket URL: <https://trac.macports.org/ticket/53595#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list