OpenJDK7 won't build in Leopard

Discussion in 'PowerPC Macs' started by tevion5, May 20, 2015.

  1. tevion5 macrumors 68000

    tevion5

    Joined:
    Jul 12, 2011
    Location:
    Ireland
    #1
    I am trying to build an image using OpenJDK7 and the method detailed by Landon Fuller here: http://landonf.bikemonkey.org/2009/12/16

    The problem is when I try to do this step (ALT_BOOTDIR=/usr/local/openjdk7-macppc-2009-12-16-b4), it tells me that the file or directory does not exist, when it clearly does. I have tried using different directories to no avail.

    Anybody an expert with a troublesome Terminal here?

    You can clearly see my situation below:

    OpenJDK7.jpg
     
  2. pareis macrumors newbie

    Joined:
    May 4, 2013
    #2
    There is a backslash missing at the end of the line starting with
    Code:
    ALT_BOOTDIR=
    i.e. it should read
    Code:
    ALT_BOOTDIR=/usr/local/openjdk7-macppc-2009-12-16-b4 \
     
  3. tevion5 thread starter macrumors 68000

    tevion5

    Joined:
    Jul 12, 2011
    Location:
    Ireland
    #3
    Oh gosh I knew it must be something stupid! Thanks, I'll give that a go :)
     
  4. tevion5 thread starter macrumors 68000

    tevion5

    Joined:
    Jul 12, 2011
    Location:
    Ireland
    #4
    Well I'm afraid that didn't fix the issue. It seems to work accordingly but can't seem to see the folder I'm pointing it too. But as you can see, it is in the location I'm specifying. :/

    attempt2.jpg
     
  5. sjan macrumors newbie

    Joined:
    Dec 11, 2012
    #5
    From what I can tell from your picture, it seems your terminal is located at a different directory, the directory homeuser, then your jdk source folder.

    The error message you receive from make, says that it cannot find a make file/targets, which I assume is because the current directory doesn't contain a make file.
    I would assume that if you navigate to the jdk source folder in your terminal, and try the make command again it would try to compile the jdk.
     
  6. pareis, May 25, 2015
    Last edited: May 25, 2015

    pareis macrumors newbie

    Joined:
    May 4, 2013
    #6
    The folder /usr/local/openjdk7-macppc-2009-12-16-b4 isn't your problem. You have to cd into your source folder where the Makefile resides before calling make.
    Did you download those sources as described under "Source Access" ?
    Code:
    hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port
    Did you download the Mercurial software (hg) required for that step ?

    PS: Newer images can also be found at www.intricatesoftware.com/OpenJDK/macppc/.
     

Share This Page