Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tevion5

macrumors 68000
Original poster
Jul 12, 2011
1,967
1,603
Ireland
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
 
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 \
 
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 \

Oh gosh I knew it must be something stupid! Thanks, I'll give that a go :)
 
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 \

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
 
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.
 
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. :/
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/.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.