shadowing Posted March 4, 2007 Share Posted March 4, 2007 bonjour j'esaye d'installer le client bitorrent sur ma gentoo et voila ce que j'obtient quand je fais emerge -atv azureus >>> Emerging (1 of 3) dev-java/commons-logging-1.0.4-r1 to / * commons-logging-1.0.4-src.tar.gz MD5 ;-) ... [ ok ] * commons-logging-1.0.4-src.tar.gz RMD160 ;-) ... [ ok ] * commons-logging-1.0.4-src.tar.gz SHA1 ;-) ... [ ok ] * commons-logging-1.0.4-src.tar.gz SHA256 ;-) ... [ ok ] * commons-logging-1.0.4-src.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking commons-logging-1.0.4-src.tar.gz ;-) ... [ ok ] * There was a problem determining which VM to use for generation-1 * This is because the way Java is handled on Gentoo has drastically changed. * There does not seem to be a 1.4 or 1.3 JDK installed. * You should probably install =virtual/jdk-1.4* or =virtual/jdk-1.3* * It is important to have either a 1.4 or 1.3 JDK installed * in order for the old and new Java systems to coexist * Details about this can be found at: * http://overlays.gentoo.org/proj/java/wiki/Why_We_Need_Java14 * If you wonder why we can't just depend on the needed JDK version, * then read https://bugs.gentoo.org/show_bug.cgi?id=144240 * You should run, and follow the advice of: * /usr/bin/java-check-environment * You will also likely want to follow the Java Upgrade Guide: * http://www.gentoo.org/proj/en/java/java-upgrade.xml * If you have problems with the guide, please see: * http://overlays.gentoo.org/proj/java/wiki/Common_Problems !!! ERROR: dev-java/commons-logging-1.0.4-r1 failed. Call stack: ebuild.sh, line 1630: Called dyn_setup ebuild.sh, line 702: Called qa_call 'pkg_setup' ebuild.sh, line 38: Called pkg_setup ebuild.sh, line 1304: Called java-pkg_pkg_setup java-pkg.eclass, line 61: Called die !!! Expected VMHANDLE to be defined in the env !!! If you need support, post the topmost build error, and the call stack if rel evant. !!! A complete build log is located at '/var/tmp/portage/dev-java/commons-loggin g-1.0.4-r1/temp/build.log'. donc j'ai essayé d'installer uniquement ce qui ne marche pas mais il n'y a rien a faire est ce que quelqu'un a une idee? merci d'avance Link to comment Share on other sites More sharing options...
nonas Posted March 4, 2007 Share Posted March 4, 2007 Regarde les liens donner dans le message d'erreur : http://www.gentoo.org/proj/en/java/java-upgrade.xml (si je prends le temps je proposerai une traduction de cette page cette semaine) En gros, tu n'as pas de JDK en version 1.3 ou 1.4. Link to comment Share on other sites More sharing options...
shadowing Posted March 4, 2007 Author Share Posted March 4, 2007 je fais cela et voila le resultat apres avoir fait # emerge -1 "=java-config-1*" "=java-config-2*" j'obtiens: localhost shadowing # java-check-environment * === Java Environment Checker === * The purpose of this script is to check the sanity of your Java Environment. * We have significantly changed and improved the way Java is handled in many respects. * Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details * Checking vm_environment_files ... [ ok ] * Checking user_settings ... * Running as root. Don't need to check user settings. [ ok ] * Checking generation_1_system_vm ... * No Generation-1 System VM is set! (no /etc/env.d/20java) * It doesn't look like java-config-1 sees any installed VMs. * It is most likely because you don't have a 1.4 JDK installed * This is required for generation-1 to work properly. * You will want to emerge =virtual/jdk-1.4* [ !! ] * Some problems were found. Please follow the instructions above, and rerun java-check-environment localhost shadowing # emerge -1 "=virtual/jdk-1.4*" Calculating dependencies... done! >>> Emerging (1 of 2) dev-java/sun-jdk-1.4.2.13 to / !!! dev-java/sun-jdk-1.4.2.13 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * Please download j2sdk-1_4_2_13-linux-i586.bin from: * http://javashoplm.sun.com/ECom/docs/Welcom...sactionId=noreg * (first select 'Accept License', then click on 'self-extracting file' * under 'Linux Platform - Java 2 SDK, Standard Edition') * and move it to /usr/portage/distfiles Link to comment Share on other sites More sharing options...
olasd Posted March 4, 2007 Share Posted March 4, 2007 * Please download j2sdk-1_4_2_13-linux-i586.bin from: * http://javashoplm.sun.com/ECom/docs/Welcom...sactionId=noreg * (first select 'Accept License', then click on 'self-extracting file' * under 'Linux Platform - Java 2 SDK, Standard Edition') * and move it to /usr/portage/distfiles Je te fais un dessin ? Link to comment Share on other sites More sharing options...
shadowing Posted March 4, 2007 Author Share Posted March 4, 2007 * Please download j2sdk-1_4_2_13-linux-i586.bin from: * http://javashoplm.sun.com/ECom/docs/Welcom...sactionId=noreg * (first select 'Accept License', then click on 'self-extracting file' * under 'Linux Platform - Java 2 SDK, Standard Edition') * and move it to /usr/portage/distfiles Je te fais un dessin ? franchement je risque d'avoir besoin d'explication car sur le coup je suis debutant sur linux et certaine chose m'echape, si j'ai rpis gentoo c'est justement c'est clair et on apprend beaucoup ar les notice sont clair mais la sur le coup y a des choses qui m'echappe car sur le lien tres serieusement je ne sais pas lequel je dois prendre et si je dois utiliser un bin je ne sais pas trop donc je vais te dire oui je veux un dessin I Link to comment Share on other sites More sharing options...
nonas Posted March 4, 2007 Share Posted March 4, 2007 C'est marqué C'est celui-là : self-extracting file j2sdk-1_4_2_13-linux-i586.bin 34.68 MB Link to comment Share on other sites More sharing options...
olasd Posted March 4, 2007 Share Posted March 4, 2007 * Please download j2sdk-1_4_2_13-linux-i586.bin from: * http://javashoplm.sun.com/ECom/docs/Welcom...sactionId=noreg * (first select 'Accept License', then click on 'self-extracting file' * under 'Linux Platform - Java 2 SDK, Standard Edition') * and move it to /usr/portage/distfiles Je te fais un dessin ? franchement je risque d'avoir besoin d'explication car sur le coup je suis debutant sur linux et certaine chose m'echape, si j'ai rpis gentoo c'est justement c'est clair et on apprend beaucoup ar les notice sont clair mais la sur le coup y a des choses qui m'echappe car sur le lien tres serieusement je ne sais pas lequel je dois prendre et si je dois utiliser un bin je ne sais pas trop donc je vais te dire oui je veux un dessin pourtant le message dit bien lequel prendre :) Après avoir cliqué sur "Accept License", il faut récupérer le "self-extracting file" dans la catégorie "Linux Platform - Java 2 SDK, Standard Edition". Ce fichier, après téléchargement, tu le mets dans /usr/portage/distfiles, et tu pourras relancer l'emerge. Ce genre d'ebuild a une restriction de téléchargement (fetch-restriction, un F dans emerge -p) pour un problème de licence la majorité du temps (donc tu l'auras pour java, realplayer je crois, etc.). Link to comment Share on other sites More sharing options...
shadowing Posted March 4, 2007 Author Share Posted March 4, 2007 d'accord par contre ce qui est embettant c'est qu'il faut s'enregistrer sur le site de sun et encore une question bete: on fait coimment pour installer un fichier .bin PS : j'ai mis plus d'un mois pour essayer de comprendre comment la distri marche et pour avoir mon KDE fonctionnelle, donc il y a encore des choses qui m'echappe Link to comment Share on other sites More sharing options...
shadowing Posted March 4, 2007 Author Share Posted March 4, 2007 c'est bon probleme resolu, je vous remercie pour votre aide, pas l'habitude de faire les choses à la mano Link to comment Share on other sites More sharing options...
olasd Posted March 4, 2007 Share Posted March 4, 2007 d'accord par contre ce qui est embettant c'est qu'il faut s'enregistrer sur le site de sunet encore une question bete: on fait coimment pour installer un fichier .bin PS : j'ai mis plus d'un mois pour essayer de comprendre comment la distri marche et pour avoir mon KDE fonctionnelle, donc il y a encore des choses qui m'echappe Heu il y a pas à s'enregistrer sur le site de sun. Juste cliquer sur deux trucs. Et il y a pas à installer le fichier .bin, juste à le copier dans le répertoire distfiles. c'est bon probleme resolu, je vous remercie pour votre aide, pas l'habitude de faire les choses à la mano Mis à part le téléchargement qu'as-tu dû faire à la main ? Link to comment Share on other sites More sharing options...
shadowing Posted March 4, 2007 Author Share Posted March 4, 2007 copier le fichier dans /usr/portage/distfiles d'accord c'est pitoyable je sais Link to comment Share on other sites More sharing options...
Arofarn Posted March 5, 2007 Share Posted March 5, 2007 hum, perso, j'ai le sun-jdk-1.6.0 (de Sun donc) depuis un moment maintenant Et blackdown-jdk-1.4.2.03-r3 Et pas de soucis avec azureus, ni avec le téléchargement du jdk, la dernière version n'étant pas sur une licence aussi restrictive. PS: je suis en ~arch, donc j'ai peut-être des versions d'avance ? mais ça marche très bien. Après vérification, tu devrais pouvoir installer le paquet virtual/jdk-1.5.0 sans problème, il est marqué stable et tu aura probablement un JDK tout propre tout libre ;-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.