Power PC Build

Andrew John Hughes gnu_andrew at member.fsf.org
Mon Dec 29 00:18:20 PST 2008


2008/12/29 Eric Richardson <ekrichardson at gmail.com>:
> Michael,
>
> I know it is not generally good to cross post. Should this be targeted
> towards distro-pkg-dev? Since I'm new to this I really want to stay in good
> standing.
>
> On Sun, Dec 28, 2008 at 7:52 PM, Michael Franz <mvfranz at gmail.com> wrote:
>>
>> Eric,
>>
>> This is what I did the last time I attempted to build IcedTea on OS X
>> (Intel).
>>
>> I use MacPorts for the dependencies.  At one time I had a Portfile for
>> this, but it got lost in the computer shuffle.
>>
>> Edit configure.ac to change ALSA missing to be a warning instead of an
>> error
>> Installed the following ports:
>> findtuils - use the prefix variant  +with_default_names
>> coreutils - use the prefix variant +with_default_names
>> gsed - use the prefix variant +with_default_names
>> nawk -- not needed if openjdk/jdk/make/common/shared/Defs-utils.gmk is
>> patched
>> eclipse-ecj32
>> jpeg
>> xercesj
>> xalanj
>> freetype
>>
>> export LDFLAGS='-L/opt/local/lib'
>
>
> I got past most of the dependencies so far.
>
> I used the LDFLAGS and it works to find the added libraries.  (was thinking
> LD_LIBRARY_PATH)
>
> Now I found something a breaking which is on line 285 of configure.ac
>
> ./configure: line 11156: syntax error near unexpected token `XPROTO,'
> ./configure: line 11156: `PKG_CHECK_MODULES(XPROTO,
> xproto,XPROTO_FOUND=yes,XPROTO_FOUND=no)'
>
> return from the shell,   echo $? 2
> from config.log,   configure: exit 258
>
> I don't see anything obvious and am really not all that familiar yet with
> these configuration scripts.
>

This line shouldn't be in the configuration script.  Something went
wrong when you ran ./autogen.sh.

>>
>> maybe this too: export
>> PKG_CONFIG_PATH='/opt/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig'
>>
>> I used OpenJDK to bootstrap Icedtea6 - previously  I used Apple's JDK 6.
>>
>> ./configure --enable-zero
>> --with-ecj-jar=/opt/local/share/java/eclipse-ecj.jar
>> --with-libgcj-jar=/Volumes/Leopard/developer/openjdk-bsd/bin/openjdk7-darwin-i386-20080820/jre/lib/rt.jar
>> --with-xalan2-jar=/opt/local/share/java/xalan.jar
>> --with-xalan2-serializer-jar=/opt/local/share/java/serializer.jar
>> --with-xerces2-jar=/opt/local/share/java/xercesImpl.jar --without-rhino
>> --disable-liveconnect
>> --with-gcj-home=/Users/mfranz/developer/openjdk-bsd/bin/openjdk7-darwin-i386-20080820/
>>
>> then make
>>
>> I was taking things from the OpenJDK 7 BSD port to get around missing make
>> files, but mixing OpenJDK 6 and OpenJDK 7 is probably not a good idea.
>>
>> Michael
>>
>> On Sun, Dec 28, 2008 at 7:54 PM, Eric Richardson <ekrichardson at gmail.com>
>> wrote:
>>>
>>> Hi Michael,
>>>
>>> On Sun, Dec 28, 2008 at 8:52 AM, Michael Franz <mvfranz at gmail.com> wrote:
>>>>
>>>> Eric,
>>>>
>>>> I have looked at compiling IcedTea for OS X prior to the BSD port being
>>>> public.  I was not successful.  I use Macports and had some of the necessary
>>>> dependencies added to it (eclipse-ecj).  I also only have Intel macs so I
>>>> can use the OpenJDK BSD port to bootstrap.
>>>
>>> Thanks for this MacPorts tip as this helped me past my eclipse-ecj
>>> hurdle.
>>>
>>>>
>>>>
>>>> I don't have my notes handy, but I was using Java 6 (at the time Apple's
>>>> Java 6 was not complete) and had some issues with compling some classes.  I
>>>> tried to get Red Hat's modified gcc/gcj but it would not compile.  GCC 4.3
>>>> was not released yet, but I think it is now.  Gcc 4.3 should work as an
>>>> alternative - no guarentees.  Will Java 5 work?  I don't know.
>>>>
>>>> I was recently looking at using the zero port in Icedtea, but never
>>>> completed the build process either.
>>>
>>>
>>> I read some more on the IceTea site and it looks like this should be
>>> possible.
>>>
>>>>
>>>>
>>>> I can post my configure script when I have access if you are still
>>>> interested.
>>>>
>>>> Michael
>>>
>>> Eric
>>
>
>
>
>
>



-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list