Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[installation eclipse]Pb de compil dev-java/avalon-logkit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Fifre
n00b
n00b


Joined: 29 Jul 2003
Posts: 61

PostPosted: Fri Mar 03, 2006 3:39 pm    Post subject: [installation eclipse]Pb de compil dev-java/avalon-logkit Reply with quote

Bonjour, j'essai d'installer eclipse-sdk, et lors de la compilation, j'ai une erreur :
Code:
>>> Source unpacked.
Buildfile: build.xml

optional-tests:

BUILD FAILED
java.lang.UnsupportedClassVersionError: org/apache/log4j/Appender (Unsupported major.minor version 49.0)

Total time: 2 seconds

!!! ERROR: dev-java/avalon-logkit-1.2 failed.
!!! Function src_compile, Line 68, Exitcode 1
!!! Compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


Je pense que c'est un probleme de machine virtuelle, j'ai la sun 1.5 et blackdown 1.4 sur le meme systeme.
J'essai de compiler eclipse avec la blackdown 1.4. Apparement il faudrait que je recompile un paquet avec cette meme vm, mais je ne sais pas lequel :(

Si quelqu'un pouvait m'aider ....
Merci :)
Back to top
View user's profile Send private message
avendesora
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1739
Location: Betelgeuse vicinity

PostPosted: Sat Mar 04, 2006 4:47 pm    Post subject: Reply with quote

C'est un des gros soucis en ce moment pour les gens qui utilisent à la fois une 1.4 et une 1.5.
La règle à suivre est la suivant: ne JAMAIS positionner la VM de root sur un JDK 1.5.

Y'a pas à ma connaissance de façon simple de rebuilder les .jar compilés en 1.5 sur ta machine.
Pour ton erreur précise, c'est le package log4j qui coince. Re-emerge le en faisant bien attention
que root a un JDK 1.4.
Back to top
View user's profile Send private message
Fifre
n00b
n00b


Joined: 29 Jul 2003
Posts: 61

PostPosted: Wed Mar 08, 2006 11:38 am    Post subject: Ca avance ... Reply with quote

Bon, en recompilant pas mal de paquet, ca avance, mais la j'ai une erreur, et ne ne sais pas quel paquet a mal été compilé, lors de la compilation de dev-java/log4j
Code:

>>> Source unpacked.
Buildfile: build.xml

init:

build.core:
    [mkdir] Created dir: /var/tmp/portage/log4j-1.2.9/work/logging-log4j-1.2.9/dist/classes    [javac] Compiling 158 source files to /var/tmp/portage/log4j-1.2.9/work/logging-log4j-1.2.9/dist/classes
    [javac] /var/tmp/portage/log4j-1.2.9/work/logging-log4j-1.2.9/src/java/org/apache/log4j/net/SimpleSocketServer.java:16: cannot access org.apache.log4j.xml.DOMConfigurator
    [javac] bad class file: /usr/share/log4j/lib/log4j.jar(org/apache/log4j/xml/DOMConfigurator.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [javac] import org.apache.log4j.xml.DOMConfigurator;
    [javac]                             ^
    [javac] 1 error

BUILD FAILED
/var/tmp/portage/log4j-1.2.9/work/logging-log4j-1.2.9/build.xml:190: Compile failed; see the compiler error output for details.

Total time: 5 seconds

!!! ERROR: dev-java/log4j-1.2.9 failed.
!!! Function src_compile, Line 44, Exitcode 1
!!! compilation error
!!! If you need support, post the topmost build error, NOT this status message.


Une idée ?? :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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