When doing a 'make' in java/eclipse (I pulled the files for the port manually from CVSWeb since it wasn't available via FTP or cvsup.freebsd.org yet), it returns a series of errors when trying to: "===> Building libupdate.so" The source of the error seems to be in plugins/org.eclipse.update.core.freebsd/src/update.h where it complains that it cannot find jni.h, which then causes the compilation of plugins/org.eclipse.update.core.freebsd/src/update.cpp to fail miserably. The entire output of the 'make' command is included in the uu-encoded file within the fix section called eclipse-2.1_build. I'm using the stock GCC in 5.1-RELEASE and the Java port that I have installed in the system is jdk-1.3.1p8_2. The same thing happens when CFLAGS is defined with or without "-O2 -pipe" in /etc/make.conf. Also all of the dependent ports for java/eclipse are built and installed. Fix: I haven't found a fix yet. Attached below is a uu-encoded file containing the output of trying to build the port. How-To-Repeat: Pull the port files, version 1.1, from CVSWeb for java/eclipse and run 'make' on the port.
Responsible Changed From-To: freebsd-ports-bugs->java Over to new maintainer.
State Changed From-To: open->feedback Can you please try the latest version and see if the problem still occurs? I've removed the hardcoding of the JAVA_HOME setting and uncommented the USE_JAVA setting.
On 2003-06-17 16:17 -0700, Greg Lewis <glewis@FreeBSD.org> wrote: # Can you please try the latest version and see if the problem # still occurs? I've removed the hardcoding of the JAVA_HOME # setting and uncommented the USE_JAVA setting. Pulling down version 1.3 of the Makefile seems to do the trick. I was able to build and install the port without any fatal errors. Thanks. -- Linh Pham question@closedsrc.org Webmaster and FreeBSD Geek http://closedsrc.org Apprentice Manager Editor and Writer http://www.daemonnews.org Courage: The things I do for love | And So Western Civilization Crumbles
State Changed From-To: feedback->closed Originator has confirmed the fix, thanks!