View previous topic :: View next topic |
Author |
Message |
Onip Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/14414636074b138f3ed54ce.png)
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Mon Jul 24, 2006 2:03 pm Post subject: Emergere freecol (problema java) [SOLVED] |
|
|
Code: | >>> Compiling source in /var/tmp/portage/freecol-0.5.0/work/freecol ...
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
!!! ERROR: games-strategy/freecol-0.5.0 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
freecol-0.5.0.ebuild, line 43: Called die
!!! ant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Hal9000 ~ # java-config -L
[blackdown-jre-1.4.2.03] "Blackdown JRE 1.4.2.03" (/etc/env.d/java/20blackdown-jre-1.4.2.03)
[blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" (/etc/env.d/java/20blackdown-jdk-1.4.2.03) *
Hal9000 ~ # eix -Ic ant-core
[I] dev-java/ant-core (1.6.2-r5): Java-based build tool similar to 'make' that uses XML configuration files.
|
Questo è il problema e, siccome di java non so proprio niente, non so dove mettere le mani. Spero in un qualche aiuto. Ho provato a cercare l'errore ma ho trovato tanti problemi simili, ma non lo stesso. Quindi non saprei proprio come "adattare" le soluzioni proposte...
Aiuti?
Grazie
P.S. sto provando con la versione 0.5.0, che non è in portage, ma lo stesso medesimo errore ce l'ho con la 0.4.0. Tanto vale che metto a posto la versione più aggiornata, così magari metto l'ebuild su bugzilla _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Last edited by Onip on Mon Jul 24, 2006 3:50 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
!equilibrium Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/10751772074409c2c3ce8ec.png)
Joined: 06 Jun 2004 Posts: 2109 Location: MI/BG/LC
|
Posted: Mon Jul 24, 2006 2:33 pm Post subject: |
|
|
https://bugs.gentoo.org/show_bug.cgi?id=138589
hai due soluzioni:
1- usare la versione ~arch di ant/ant-core
2- se stai usando il portage-bashrc-ng, disattivalo, riemergi ant/ant-core
se nonostante questo il problema persiste, allora è un problema con ant/ant-core a cui mancano degli eseguibili (infatti se provi a lanciare ant da shell vedrai che ti da lo stesso errore riportato dall'ebuild) _________________ Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe
all my contents are released under the Creative Commons Licence by-nc-nd 2.5 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Onip Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/14414636074b138f3ed54ce.png)
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Mon Jul 24, 2006 3:49 pm Post subject: |
|
|
!equilibrium wrote: |
1- usare la versione ~arch di ant/ant-core
|
Thanks, SOLVED.
Ora ho un problema con una missing dep di freecol, ma questa è un'altra storia ![Wink :wink:](images/smiles/icon_wink.gif) _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|