Building on Mac OS X 10.5.6
garcia at osl.iu.edu
Thu Jan 29 11:27:58 PST 2009
I just recently installed Mercurial, fcloned the BSD port of OpenJDK,
and built it, but I ended up doing a few unexpected things to get
compilation to complete. I suspect I may be messing up some aspect of
the build process given prior reports of successful builds on the
Some info on my setup:
- a recent (circa october 2008) Mac Powerbook running OS X 10.5.6,
with Xcode Developer Tools 3.1.2
First, I modified my make command from that given at the URL:
My build line is as follows:
The particular changes I made:
- added "LANG=C" so as not to clash with Mercurial's documentation
suggesting to set LANG=utf8...
- added "DEVTOOLS_PATH=/usr/bin" because it wasn't set right by
- changed ALT_BINARY_PLUGS_PATH to reflect where I installed it
- changed ALT_BOOTDIR to point to the correct filename for soylatte
As you can see, I used soylatte to bootstrap the build. I was
surprised that building died until I explicitly set
Once I did the above, I found that libsplashscreen would not build.
To get libsplashscreen.dylib to build, I ended up modifying the file:
The command for building it was not including -liconv or the
directory. My changes to the Makefile were essentially as follows.
ifneq ($(PLATFORM), windows)
CFLAGS += -DWITH_X11
ifeq ($(PLATFORM), bsd)
CFLAGS += -DPNG_NO_MMX_CODE
ifeq ($(OS_VENDOR), Apple)
# Begin addition!
ICONV_PATH = /usr
CPPFLAGS += -I$(ICONV_PATH)/include
OTHER_LDLIBS += -L$(ICONV_PATH)/lib -liconv
# End addition!
My question is this: Am I missing something in the build process such
that DEVTOOLS_PATH isn't getting set on its own and that is causing
ICONV to not get included on the build path?
I apologize if this has been addressed before, but I haven't seen any
relevant information while scouring the archives.
More information about the bsd-port-dev