SELinux!! WOW On Wed, Jul 29, 2009 at 6:22 PM, Andrew Myers <am2...@gmail.com> wrote:
> Thanks Charles. After reading your message I deleted cpptasks.zip and > cpptasks.jar, ran the build again and it has worked. Perhaps it file only > partially downloaded the first time through or something. > > I can now get the build to complete successfully but I am still having > issues. I expect these are probably more Fedora specific issues I need to > try and work out somehow though.. > > First one I encountered was an SELinux message: > > SELinux is preventing java from loading > /usr/local/harmony-jdk-798489/jre/bin/libhythr.so which requires text > relocation. > > I disabled this and java -version now reports this which is encouraging: > > [and...@fedora11 helloworld]$ /usr/local/harmony-jdk-798489/bin/java > -version > Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software > Foundation or its licensors, as applicable. > java version "1.5.0" > Apache Harmony (1.5.0) > DRLVM (11.2.0) > pre-alpha : not complete or compatible > svn = r798489, (Jul 29 2009), Linux/ia32/gcc 4.4.0, release build > http://harmony.apache.org > [and...@fedora11 helloworld]$ > > But if I try and run or compile anything with it, it just spews out a whole > lot of stuff ad infinitum such as: > > [and...@fedora11 helloworld]$ /usr/local/harmony-jdk-798489/bin/java > HelloWorld > > Signal reported: GENERAL_PROTECTION_FAULT > Registers: > EAX: 0x092f6ff0, EBX: 0x006b5684, ECX: 0x092f6d6c, EDX: 0x00000013 > ESI: 0x092f6d70, EDI: 0x092f7230, ESP: 0xbf87e874, EBP: 0xbf87e92c > EIP: 0x006ace5d > > Command line: > /usr/local/harmony-jdk-798489/jre/bin/java HelloWorld > > Working directory: > /home/andrew/projects/helloworld > > Environment variables: > ORBIT_SOCKETDIR=/tmp/orbit-andrew > HOSTNAME=fedora11.localdomain > IMSETTINGS_INTEGRATE_DESKTOP=yes > TERM=xterm > SHELL=/bin/bash > > Any ideas? > -- Yours sincerely, Charles Lee