Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emergere freecol (problema java) [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Mon Jul 24, 2006 2:03 pm    Post subject: Emergere freecol (problema java) [SOLVED] Reply with quote

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
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Mon Jul 24, 2006 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Mon Jul 24, 2006 3:49 pm    Post subject: Reply with quote

!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:
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
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