Failing to install

Spiros Papadopoulos spap13 at googlemail.com
Fri Dec 1 03:54:11 PST 2006


Hi all,

I am trying to install eclipse 3.2.1 from the ports
(/usr/ports/java/eclipse)

This is the output from uname -a:
FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Tue Nov 28 19:21:05 GMT 2006
CUSTOM_KERNEL  i386
which i recently upgraded from 5.4 (i had some trouble for some days but now
everything seems to work normally)

diablo-jdk-1.5.0_07-b01 is installed.

the eclipse installation is failing with the following error:

......................
......................
     [exec] xpcom_profile.cpp:45: error: (Each undeclared identifier is
reported only once for each function it appears in.)
     [exec] xpcom_profile.cpp:45: error: `NS_NewProfileDirServiceProvide r'
undeclared (first use this function)
     [exec] xpcom_profile.cpp:45: error: expected primary-expression before
')' token
     [exec] xpcom_profile.cpp:45: error: expected `;' before
"NS_NewProfileDirServiceProvide r"
     [exec] xpcom_profile.cpp: In function `jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_1PROFILE_ProfileDirServiceProvider_1Register(JNIEnv*,
_jclass*, jint)':
     [exec] xpcom_profile.cpp:59: error: `nsProfileDirServiceProvider'
undeclared (first use this function)
     [exec] xpcom_profile.cpp:59: error: expected primary-expression before
')' token
     [exec] xpcom_profile.cpp:59: error: expected primary-expression before
')' token
     [exec] xpcom_profile.cpp: In function `jint
Java_org_eclipse_swt_internal
_mozilla_XPCOM_1PROFILE_ProfileDirServiceProvider_1SetProfileDir(JNIEnv*,
_jclass*, jint, jint)':
     [exec] xpcom_profile.cpp:71: error: `nsProfileDirServiceProvider'
undeclared (first use this function)
     [exec] xpcom_profile.cpp:71: error: expected primary-expression before
')' token
     [exec] xpcom_profile.cpp:71: error: expected primary-expression before
')' token
     [exec] xpcom_profile.cpp:71: error: `nsIFile' undeclared (first use
this function)
     [exec] xpcom_profile.cpp:71: error: expected primary-expression before
')' token
     [exec] xpcom_profile.cpp: In function `jint
Java_org_eclipse_swt_internal_mozilla_XPCOM_1PROFILE_ProfileDirServiceProvider_1Shutdown(JNIEnv*,
_jclass*, jint)':
     [exec] xpcom_profile.cpp:83: error: `nsProfileDirServiceProvider'
undeclared (first use this function)
     [exec] xpcom_profile.cpp:83: error: expected primary-expression before
')' token
     [exec] xpcom_profile.cpp:83: error: expected primary-expression before
')' token

BUILD FAILED
/usr/ports/java/eclipse/work /build.xml:76: exec returned: 1

Total time: 64 minutes 34 seconds
*** Error code 1

Stop in /usr/ports/java/eclipse.

In line 76 of the build.xml file it tries to execute a build.sh script in
~/work/swttmp
The build.sh was not executable, so i chmod it to be. Same failure.

Any ideas??

Thanks in advance
Spiros P.


More information about the freebsd-java mailing list