Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2008 11:58:00 +0300
From:      Eugeny N Dzhurinsky <bofh@redwerk.com>
To:        freebsd-eclipse@freebsd.org
Subject:   Re: Eclipse Ganymede port
Message-ID:  <20080805085800.GA79093@office.redwerk.com>
In-Reply-To: <48973E35.1090108@FreeBSD.org>
References:  <48973E35.1090108@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 04, 2008 at 01:36:53PM -0400, Stephane E. Potvin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi,
>=20
> A port of Eclipse Ganymede can be found at the following location:
>=20
> 	http://people.freebsd.org/~sepotvin/eclipse-ganymede.tbz
>=20
> 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.
>=20
> 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?

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
     [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=20
     [exec] xpcom_structs.h:17: error: `nsID' has not been declared^M
     [exec] xpcom_structs.h:17: error: ISO C++ forbids declaration of `lpSt=
ruct' with no type^M
     [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozi=
lla_XPCOM_Call(JNIEnv*, _jclass*, jint, jint, jint, _jbyteArray*, jint, jin=
t, _jintArray*)':^M
     [exec] xpcom.cpp:29: error: `nsWriteSegmentFun' was not declared in th=
is scope^M
     [exec] xpcom.cpp:29: error: expected primary-expression before ')' tok=
en^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 ')' tok=
en^M
     [exec] xpcom.cpp:29: error: `PRUint32' was not declared in this scope^M
     [exec] xpcom.cpp:29: error: expected primary-expression before ')' tok=
en^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_mozi=
lla_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 ')' tok=
en^M
     [exec] xpcom.cpp:47: error: expected `;' before "NS_GetComponentManage=
r"^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_mozi=
lla_XPCOM_NS_1GetServiceManager(JNIEnv*, _jclass*, _jintArray*)':^M
     [exec] xpcom.cpp:64: error: `nsIServiceManager' was not declared in th=
is 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 ')' tok=
en^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_mozi=
lla_XPCOM_NS_1InitXPCOM2(JNIEnv*, _jclass*, jint, jint, jint)':^M
     [exec] xpcom.cpp:79: error: `nsIServiceManager' was not declared in th=
is scope^M
     [exec] xpcom.cpp:79: error: `nsIFile' was not declared in this scope^M
     [exec] xpcom.cpp:79: error: `nsIDirectoryServiceProvider' was not decl=
ared in this scope^M
     [exec] xpcom.cpp:79: error: `NS_InitXPCOM2' was not declared in this s=
cope^M
     [exec] xpcom.cpp:79: error: expected primary-expression before ')' tok=
en^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

=2E...

     [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' fr=
om 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 libupd=
ate.so^M
    [apply] In file included from /usr/include/sys/mount.h:36,^M
    [apply]                  from /usr/ports/java/eclipse-ganymede/work/plu=
gins/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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D

Looks like it misses some include files, and I didn't find them in my syste=
m.
May the Firefox version ( I am using 2.0.0.14 ) cause such error?

--=20
Eugene N Dzhurinsky

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkiYFhcACgkQy/i/DoZLbHwL5gCggSsvThfhCoMfc6JOfxIy5Ugo
09sAoIJeMZhFuZ4G9bKi/Qten0aX5Oeu
=cx6w
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080805085800.GA79093>