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: Kouichirou Hiratsuka <hira%po6.nsk.ne.jp@localhost>
To: Antoine Reilles <Antoine.Reilles%loria.fr@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost, 
gnats-admin%NetBSD.org@localhost
Subject: Re: pkg/39591: devel/apache-ant: ant does not work
Date: Wed, 24 Sep 2008 03:48:34 +0900

 Hello,
 
 At Sun, 21 Sep 2008 18:10:06 +0000 (UTC),
 Antoine Reilles wrote:
 > 
 > 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.
 
 It works fine if I setup pkg_alternatives by *hand*.
 How to create a package which depends on apache-ant?
 
 best regards.
 -- 
  Kouichirou Hiratsuka
    hira%po6.nsk.ne.jp@localhost
 


Home | Main Index | Thread Index | Old Index