pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/39591: devel/apache-ant: ant does not work
The following reply was made to PR pkg/39591; it has been noted by GNATS.
From: Antoine Reilles <Antoine.Reilles%loria.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/39591: devel/apache-ant: ant does not work
Date: Sun, 21 Sep 2008 19:59:27 +0200
On Sep 21, 2008, at 5:55 AM, hira%po6.nsk.ne.jp@localhost wrote:
>> Description:
> `ant' command in devel/apache-ant does not work.
>
> * @PREFIX@/bin/java is not installed.
> * JAVA_HOME seems not to be work.
>
> # cd /usr/pkgsrc/devel/apache-ant && make && make install && exit
> [snip]
> $ ant
> Error: JAVA_HOME is not defined correctly.
> We cannot execute /usr/pkg/bin/java
> $ JAVA_HOME=/usr/pkg/java/sun-1.5 ant
> Error: JAVA_HOME is not defined correctly.
> We cannot execute /usr/pkg/bin/java
> $
Can you try to install and configure pkgtools/pkg_alternatives, and
setup the alternatives for a java compiler ?
I guess it should resolve the issue.
Cheers,
antoine
Home |
Main Index |
Thread Index |
Old Index