On Mon, Aug 04, 2008 at 01:36:53PM -0400, Stephane E. Potvin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > A port of Eclipse Ganymede can be found at the following location: > > http://people.freebsd.org/~sepotvin/eclipse-ganymede.tbz > > The port should be working for both x86 and amd64 platforms. Just untar > the file into "${PORTSDIR}/java". It will create an "eclipse-ganymede" > directory. The port can cohabit with eclipse and eclipse-devel. > > I've modified a few of the original patches in order to make them (I > hope) more easily acceptable upstream in case someone wants to try to > have them integrated into the main Eclipse project.
Hello, Stephane! Thank you for your awesome job of porting Ganymede! Could you please tell me what do I miss when building the port? ======================================================================================================== [echo] Compiling SWT native libraries...^M [exec] callback.c: In function `Java_org_eclipse_swt_internal_Callback_bind':^M [exec] callback.c:493: warning: unused variable `pad'^M [exec] In file included from xpcom_structs.h:12,^M [exec] from xpcom.cpp:13:^M [exec] xpcom.h:18:21: nsXPCOM.h: No such file or directory^M [exec] xpcom.h:19:27: nsEmbedString.h: No such file or directory^M [exec] xpcom.h:20:28: nsIInputStream.h: No such file or directory^M [exec] xpcom.h:21:30: nsISupportsUtils.h: No such file or directory^M [exec] xpcom.h:22:25: nsXPCOMGlue.h: No such file or directory^M [exec] In file included from xpcom.cpp:13:^M [exec] xpcom_structs.h:16: error: expected constructor, destructor, or type conversion before '*' token^M [exec] xpcom_structs.h:17: error: `nsID' has not been declared^M [exec] xpcom_structs.h:17: error: ISO C++ forbids declaration of `lpStruct' with no type^M [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_Call(JNIEnv*, _jclass*, jint, jint, jint, _jbyteArray*, jint, jint, _jintArray*)':^M [exec] xpcom.cpp:29: error: `nsWriteSegmentFun' was not declared in this scope^M [exec] xpcom.cpp:29: error: expected primary-expression before ')' token^M [exec] xpcom.cpp:29: error: expected `)' before "arg0"^M [exec] xpcom.cpp:29: error: `nsIInputStream' was not declared in this scope^M [exec] xpcom.cpp:29: error: expected primary-expression before ')' token^M [exec] xpcom.cpp:29: error: `PRUint32' was not declared in this scope^M [exec] xpcom.cpp:29: error: expected primary-expression before ')' token^M [exec] xpcom.cpp:29: warning: unused variable 'nsIInputStream'^M [exec] xpcom.cpp:29: warning: unused variable 'PRUint32'^M [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1GetComponentManager(JNIEnv*, _jclass*, _jintArray*)':^M [exec] xpcom.cpp:47: error: `nsIComponentManager' was not declared in this scope^M [exec] xpcom.cpp:47: error: `NS_GetComponentManager' was not declared in this scope^M [exec] xpcom.cpp:47: error: expected primary-expression before ')' token^M [exec] xpcom.cpp:47: error: expected `;' before "NS_GetComponentManager"^M [exec] xpcom.cpp:47: warning: unused variable 'nsIComponentManager'^M [exec] xpcom.cpp:47: warning: unused variable 'NS_GetComponentManager'^M [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1GetServiceManager(JNIEnv*, _jclass*, _jintArray*)':^M [exec] xpcom.cpp:64: error: `nsIServiceManager' was not declared in this scope^M [exec] xpcom.cpp:64: error: `NS_GetServiceManager' was not declared in this scope^M [exec] xpcom.cpp:64: error: expected primary-expression before ')' token^M [exec] xpcom.cpp:64: error: expected `;' before "NS_GetServiceManager"^M [exec] xpcom.cpp:64: warning: unused variable 'nsIServiceManager'^M [exec] xpcom.cpp:64: warning: unused variable 'NS_GetServiceManager'^M [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_NS_1InitXPCOM2(JNIEnv*, _jclass*, jint, jint, jint)':^M [exec] xpcom.cpp:79: error: `nsIServiceManager' was not declared in this scope^M [exec] xpcom.cpp:79: error: `nsIFile' was not declared in this scope^M [exec] xpcom.cpp:79: error: `nsIDirectoryServiceProvider' was not declared in this scope^M [exec] xpcom.cpp:79: error: `NS_InitXPCOM2' was not declared in this scope^M [exec] xpcom.cpp:79: error: expected primary-expression before ')' token^M [exec] xpcom.cpp:79: error: expected `;' before "NS_InitXPCOM2"^M [exec] xpcom.cpp:79: warning: unused variable 'nsIServiceManager'^M [exec] xpcom.cpp:79: warning: unused variable 'nsIFile'^M .... [exec] Result: 1^M [echo] Compiling native launcher...^M [exec] ../eclipseMozilla.c: In function `fixEnvForMozilla':^M [exec] ../eclipseMozilla.c:166: warning: passing arg 3 of `scandir' from incompatible pointer type^M [echo] Compiling liblocalfile...^M [echo] Compiling native update library...^M [echo] Building libupdate.so^M [echo] gcc -o libupdate.so -shared -I/usr/ports/java/eclipse-ganymede/work/plugins/org.eclipse.update.core.freebsd/src/../../org.eclipse.update.core.freebsd/src/ -I/usr/local/jdk1.6.0/jre/../include/freebsd -fPIC libupdate.so^M [apply] In file included from /usr/include/sys/mount.h:36,^M [apply] from /usr/ports/java/eclipse-ganymede/work/plugins/org.eclipse.update.core.freebsd/src/update.c:15:^M [apply] /usr/include/sys/ucred.h:71: error: `NGROUPS' undeclared here (not in a function)^M [apply] Result: 1^M ^M BUILD FAILED^M ======================================================================================================== Looks like it misses some include files, and I didn't find them in my system. May the Firefox version ( I am using 2.0.0.14 ) cause such error? -- Eugene N Dzhurinsky
pgpkebVcw5JO9.pgp
Description: PGP signature