Hi.

I want to build OO (Open Office) with the last BLFS. I had to download OO
2.3, because 2.2 is not available anymore. But I don't think it's an
issue here.

In the build process, I get this error message :

checking if uudecode can decode base 64 file... yes
checking if /opt/jdk/bin/java works... configure: error: The Java
VM /opt/jdk/bin/java failed (see config.log, check the CLASSPATH?)
dmake:  Error code 1, while making
'unxlngi6.pro/misc/build/so_configured_so_berkeleydb' ---* tg_merge.mk
*---

ERROR: Error 65280 occurred while making /sources/OOG680_m5/berkeleydb
dmake:  Error code 1, while making 'build_instsetoo_native'
---*  *---

Checking the log, I saw this :

configure:20762: /opt/jdk/bin/java  Test
Exception in thread "main" java.lang.ClassFormatError: Extra bytes at the
end of class file Test at java.lang.ClassLoader.defineClass1(Native
Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at
java.net.URLClassLoader.access$000(URLClassLoader.java:56) at
java.net.URLClassLoader$1.run(URLClassLoader.java:195) at
java.security.AccessController.doPrivileged(Native Method) at
java.net.URLClassLoader.findClass(URLClassLoader.java:188) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
configure:20765: $? = 1 configure: failed program was:
/* [#]line 20726 "configure" */
public class Test {
public static void main (String args[]) {
        System.exit (0);
} }
configure:20771: error: The Java VM /opt/jdk/bin/java failed (see
config.log, check the CLASSPATH?)

Problem is, my CLASSPATH is up to date before the ". LinuxX86Env.Set.sh"
call, but after this, it's set to just "/opt/jdk/jre/lib/rt.jar:.".

I saw that the "Extra bytes" message may come from the 1.5 version of
Java. I'm quite puzzled there, I just want to use OO to read the silly
Powerpoint some friends send me, and to have a spreadsheet (but I can
live with something else, just this is what we use in my school). I never
use te other apps.

I saw some binaries (beurk), but thay are rpm or deb format, so I don't
know what to do with them. I had no problems compiling OO on my previous
system (LFS too), now it's becoming hard, wouldn't you say ?

For reference, this is my configure command :

./configure --prefix=/opt/openoffice-2.2.1 \
    --enable-libart \
    --disable-fontooo \
    --disable-gnome-vfs \
    --without-fonts \
    --with-system-stdlibs \
    --without-system-jars \
    --with-system-freetype \
    --with-system-expat \
    --with-system-libxml \
    --with-system-zlib \
    --with-system-jpeg \
    --with-system-python \
    --enable-cairo \
    --enable-kde \
    --with-build-version=BLFS \
    --with-package-format=native \
    --disable-binfilter \
    --disable-odk \
    --disable-qadevooo \
    --with-use-shell=bash \
    --with-lang="en fr"  \
    --with-="en fr" \
    --with-system-mozilla=firefox

Thanks for any help.

\bye

-- 

                   Nicolas FRANCOIS
            http://nicolas.francois.free.fr
 A TRUE Klingon programmer does NOT comment his code
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to