I was installing a package, emboss, and got the following error:

...
checking for socket in -lc... yes
checking for main in -lm... yes
checking if png driver is wanted... yes
checking for inflateEnd in -lz... yes
checking for png_destroy_read_struct in -lpng... yes
checking for gdImageCreateFromPng in -lgd... yes
PNG libraries found in standard system locations
checking if java include directory given... yes
Java directory /Library/Java/Home exists
checking for javac... yes
checking if java OS include directory given... yes
Javaos directory /Library/Java/Home/include does not exist
make
make: *** No targets specified and no makefile found. Stop.
### execution of make failed, exit code 2
Failed: compiling emboss-2.5.1-1 failed

Upon searching the forums, I found the following thread in fink-devel:

A Java SDK virtual pkg seems to be needed. Apple's 1.4.1 update did not install the headers, causing any package that uses /Library/Java/Home/include or /Library/Java/Home/Headers to fail for any user that installed Java 1.4.1 from software update, but not the Java SDK from connect.apple.com. (Headers are not included with the non-SDK pkg)

Any java experts care to tackle this? Need to detect the latest version of java, as well as the latest version of java-with-headers..

Or maybe we could get apple to ship headers with the user package.

-Ben


So yes, I did install Java 1.4.1 from software update a couple of days ago, so I assume this is my problem. Is downloading 1.4.1 from Apple's website and re-installing the best fix?

Thanks,
Brian

Reply via email to