An alternative Eclipse 3 port

Ethan Killian ethan at hkfanatic.com
Mon Jun 28 21:23:10 PDT 2004


Nice job on the Motif port, I got it compiled after I added the 
gcj/libgcj-config.h file to my build path.  I am pretty sure my gcj 
libraries are where they installed to on my FreeBSD 5.2.1 RELENG system 
by default, I don't normally use gcj.  Note, this is JUST for the Motif 
port, the GTK version compiles and works nicely.

Here is the errors I get:
-----------------------------------------------------------------------
Building FreeBSD version of KDE DLL.
g++ -fno-rtti -c -O -I/usr/local/include -I/usr/X11R6/include 
-I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd 
-I/usr/local/jdk1.4.2/include/freebsd -o kde.o kde.cc
In file included from swt.h:23,
                 from kde.cc:21:
/usr/local/include/jni.h:17:31: gcj/libgcj-config.h: No such file or 
directory
kde.cc: In function `jint
   Java_org_eclipse_swt_internal_motif_KDE_KApplication_1new(JNIEnv*,
   __jclass*, int)':
kde.cc:65: warning: `__comp_ctor' is deprecated (declared at
   /usr/local/include/kapplication.h:172)
gmake: *** [kde.o] Error 1
*** Error code 2

Stop in /usr/ports/eclipse/work.
*** Error code 1

Stop in /usr/ports/eclipse.
-----------------------------------------------------------------------
Here is what I changed to get it to compile:
-----------------------------------------------------------------------
--- plugins/org.eclipse.swt/Eclipse SWT 
PI/motif/library/make_freebsd.mak.orig  Mon Jun 28 22:10:14 2004
+++ plugins/org.eclipse.swt/Eclipse SWT 
PI/motif/library/make_freebsd.mak       Mon Jun 28 22:10:20 2004
@@ -48,7 +48,8 @@
 KDE_LIBS      = -L/usr/local/lib  -L$(QT_HOME)/lib -shared  -lkdecore 
-lqt-mt
 KDE_CFLAGS   = -fno-rtti -c -O -I/usr/local/include -I$(QT_HOME)/include \
                        -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/bsd \
-                       -I$(JAVA_HOME)/include/freebsd
+                       -I$(JAVA_HOME)/include/freebsd \
+                       
-I/usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.3.4/include/

 AWT_PREFIX   = swt-awt
 AWT_LIB      = lib$(AWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
-----------------------------------------------------------------------

Thanks again for the great Port.  The motif version, while not as 
pretty, is a bit faster than the gtk version.

Ethan Killian

Panagiotis Astithas wrote:

> Jean-Baptiste Quenot wrote:
>
>> * Panagiotis Astithas:
>>
>>
>>> I have  once again updated the  port skeleton at the  following URL to
>>> build the already released final 3.0 version of Eclipse:
>>>
>>> http://noc.ntua.gr/~past/freebsd/eclipse3-port.tgz
>>
>>
>>
>> The distfile cannot be fetched...
>
>
> There was a typo, thanks for noticing. I have updated the archive with 
> a working Motif build as a bonus. I have been testing and tweaking the 
> installation procedure for two days now, so if I haven't missed 
> anything, this should be it.
>
> If I feel bored I might try adding an options menu, but no promises 
> there. It ought to be committable as it is.
>
> Cheers,



More information about the freebsd-java mailing list