On Sun, 11 Jan 2009, BrianO'Keefe wrote:

> I'm trying to build Chandler from source on Ubuntu PPC, Intrepid.
> when I get to:
> make world
>
> The build fails with:
> g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
> build/temp.linux-ppc-2.5/jcc/sources/jcc.o
> build/temp.linux-ppc-2.5/jcc/sources/JCCEnv.o -o
> build/lib.linux-ppc-2.5/libjcc.so
> -L/usr/lib/jvm/java-6-openjdk/jre/lib/i386 -ljava -Wl,-S
> /usr/bin/ld: cannot find -ljava
> collect2: ld returned 1 exit status
> error: command 'g++' failed with exit status 1
> make[1]: *** [build] Error 1
>
>
> I see that the compiler is looking for an i386 version when I'm on PPC.

As far as I know, Chandler has never been built on Linux/PPC so the build 
may have bugs related to that.

Your build is at the point where it's expecting a Sun OpenJDK 7 build for 
your platform. Given how involved it is to build it, we've provided binaries 
for the platforms we support, even when building Chandler "from scratch": 
Linux i386, Linux x64-64, Windows. On Mac OS X, we use the Apple JDK that 
comes pre-installed.

If there is a build of OpenJDK on Linux PPC (or any build of a Sun JDK 
versions 5, 6, or 7) it would be easiest for you to download it and change 
the Chandler build to make use of it.

Andi..
_______________________________________________
[email protected] mailing list
unsubscribe here: http://lists.osafoundation.org/mailman/listinfo/chandler-users
Chandler wiki: http://chandlerproject.org/wikihome

Reply via email to