View previous topic :: View next topic |
Author |
Message |
Norad n00b
Joined: 07 Nov 2004 Posts: 29
|
Posted: Thu Sep 15, 2005 3:23 pm Post subject: [HELP] Compilazione log4j |
|
|
Salve a tutti, ho un problema con la compilazione di log4j, ecco l'errore:
Code: |
alpha norad # emerge log4j
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/log4j-1.2.12 to /
>>> md5 files ;-) log4j-1.2.9.ebuild
>>> md5 files ;-) log4j-1.2.12.ebuild
>>> md5 files ;-) log4j-1.2.11.ebuild
>>> md5 files ;-) files/digest-log4j-1.2.9
>>> md5 files ;-) files/digest-log4j-1.2.11
>>> md5 files ;-) files/digest-log4j-1.2.12
>>> md5 src_uri ;-) logging-log4j-1.2.12.tar.gz
>>> Unpacking source...
>>> Unpacking logging-log4j-1.2.12.tar.gz to /var/tmp/portage/log4j-1.2.12/work
>>> Source unpacked.
Buildfile: build.xml
init:
build.core:
[mkdir] Created dir: /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
[javac] Compiling 158 source files to /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/dist/classes
[javac] javac: invalid source release: 1.1
[javac] Usage: javac <options> <source files>
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath <path> Specify where to find user class files
[javac] -sourcepath <path> Specify where to find input source files [javac] -bootclasspath <path> Override location of bootstrap class files
[javac] -extdirs <dirs> Override location of installed extensions
[javac] -d <directory> Specify where to place generated class files
[javac] -encoding <encoding> Specify character encoding used by source files
[javac] -source <release> Provide source compatibility with specified release
[javac] -target <release> Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
BUILD FAILED
/var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/build.xml:215: Compile failed; see the compiler error output for details.
Total time: 7 seconds
!!! ERROR: dev-java/log4j-1.2.12 failed.
!!! Function src_compile, Line 44, Exitcode 1
!!! compilation error
!!! If you need support, post the topmost build error, NOT this status message.
alpha norad #
|
La java JDK installata è la [blackdown-jdk-1.4.2.02] "Blackdown JDK 1.4.2.02" (/etc/env.d/java/20blackdown-jdk-1.4.2.02) *
Se avete bisogno di altre info sono a disposizione.... |
|
Back to top |
|
|
N|ghTm4r3 n00b
Joined: 27 Oct 2004 Posts: 70 Location: Urbe(Roma), Italy
|
Posted: Thu Sep 15, 2005 6:12 pm Post subject: |
|
|
Ne sono incappato anche io ieri, stavo aggiornato ant quindi anche ant-core e ant-tasks li sono cominciati i problemi di dipendenze circolari... solo dopo che sono riuscito a installare ant-tasks e le sue dipendende log4j ha smesso di darmi quell'errore.
Code: | emerge -uvpD ant-tasks |
Cosa ti dice? _________________ Gentoo: The Power Of Gods |
|
Back to top |
|
|
Norad n00b
Joined: 07 Nov 2004 Posts: 29
|
Posted: Thu Sep 15, 2005 7:32 pm Post subject: |
|
|
N|ghTm4r3 wrote: | Ne sono incappato anche io ieri, stavo aggiornato ant quindi anche ant-core e ant-tasks li sono cominciati i problemi di dipendenze circolari... solo dopo che sono riuscito a installare ant-tasks e le sue dipendende log4j ha smesso di darmi quell'errore.
Code: | emerge -uvpD ant-tasks |
Cosa ti dice? |
al momento sono occupato nella risoluzione di un'altro problema, che comporta un emerge -e mozilla-firefox, quindi appena ho la cpu libera provo e ti so dire, grazie comunque... |
|
Back to top |
|
|
Norad n00b
Joined: 07 Nov 2004 Posts: 29
|
Posted: Sun Sep 18, 2005 8:46 pm Post subject: |
|
|
mi dice questo:
Code: |
alpha distfiles # emerge -uvpD ant-tasks
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] dev-java/log4j-1.2.12 [1.2.11] -doc -javamail -jikes -jms -jmx -source 2,691 kB
Total size of downloads: 2,691 kB
alpha distfiles #
|
|
|
Back to top |
|
|
N|ghTm4r3 n00b
Joined: 27 Oct 2004 Posts: 70 Location: Urbe(Roma), Italy
|
Posted: Mon Sep 19, 2005 4:30 am Post subject: |
|
|
Prova a ricompilare ant-tasks
Nel mio caso solo dopo aver compilato ant-tasks sono riuscito a far andare log4j _________________ Gentoo: The Power Of Gods |
|
Back to top |
|
|
Norad n00b
Joined: 07 Nov 2004 Posts: 29
|
Posted: Fri Sep 23, 2005 12:28 pm Post subject: |
|
|
Eccomi qui...ricompilato ant-tasks ma log4j non ne vuole sapere.... |
|
Back to top |
|
|
|