View previous topic :: View next topic |
Author |
Message |
102376 l33t
Joined: 19 Mar 2005 Posts: 608
|
Posted: Thu Jul 07, 2005 11:11 am Post subject: Emerge openoffice problemi |
|
|
ho messo solo la parte finale della compilazione!!!
non so che devo fare
Code: | Building project sandbox
=============
/var/tmp/portage/openoffice-1.1.4-r1/work/sandbox/com/sun/star/lib/sandbox
mkout -- version: 1.3
Making dpj...
------------------------------
Making: ../../../../../unxlngi4.pro/misc/lib_sandbox.dpc
dmake subdmake=true -f makefile.mk strip="true" product="full" depend=t ALLDPC
------------------------------
No Dependencies
javac -classpath ".:../../../../../unxlngi4.pro/class:/opt/sun-jdk-1.5.0.03/jre/lib/rt.jar:." -d ../../../../../unxlngi4.pro/class AudioProxy.java Cachable.java ClassContext.java ClassContextImpl.java ClassContextProxy.java CodeSource.java Disposable.java ExecutionContext.java Holder.java ImageProducerProxy.java JarEntry.java JarInputStream.java Permission.java PermissionCollection.java ProtectionDomain.java Resource.java ResourceImpl.java ResourceProxy.java ResourceViewer.java SandboxMessageHandler.java SandboxThreadGroup.java SandboxSecurity.java SandboxSecurityException.java WeakRef.java WeakTable.java WeakEntry.java XImage.java
ClassContextImpl.java:307: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
java.util.Enumeration enum = m_class_path_jars.elements();
^
ClassContextImpl.java:308: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
while (enum.hasMoreElements())
^
ClassContextImpl.java:310: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
ClassContext context = (ClassContext)enum.nextElement();
^
3 errors
dmake: Error code 1, while making '../../../../../unxlngi4.pro/misc/lib_sandbox_dummy.java'
---* TG_SLO.MK *---
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.4-r1/work/sandbox/com/sun/star/lib/sandbox
!!! ERROR: app-office/openoffice-1.1.4-r1 failed.
!!! Function src_compile, Line 425, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message. |
|
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Thu Jul 07, 2005 5:11 pm Post subject: Re: EMERGE OPENOFFICE PROBLEMI |
|
|
come ho già detto in altri thread, openoffice è un programma immenso, ed ha un codice cmolto complesso.
questo porta ad una media molto alta di fallimenti della compilazione, al punto che vengono mascherate le USE, CFLAGS e CXXFLAGS.
spesso però non è sufficiente. prova a postare l'output di emerge info |
|
Back to top |
|
|
Apetrini Veteran
Joined: 09 Feb 2005 Posts: 1158
|
Posted: Thu Jul 07, 2005 6:21 pm Post subject: |
|
|
Tranquillo ...
si capisce benissimo il problema...
hai una versione troppo recente di JDK...
In pratica una variabile usa un nome che nell'ultima versione è protetto poiche "parola chiava" e/o funzione.
Lancia un
Code: |
java-config --list-available-vms
|
e guarda che versioni hai ... probabilmente hai sia la 1.4 che la 1.5 solo che quest'ultima è quella correntemente utilizzata ma che non va bene per OO
quindi
Code: |
java-config --set-system-vm=<vm-id>
|
in <vm-id> mettici il nome della versione 1.4 cosi farai lo switch...
ribattendo
Code: |
java-config --list-available-vms
|
dovrebbe farti vedere che la versione usata ora è la 1.4
Rilancia la compilazione.
Ciao. _________________ Linux ape 2.6.31-vanilla. Paludis since 0.28.0. |
|
Back to top |
|
|
|
|
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
|
|