Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2004 22:23:35 -0600
From:      Ethan Killian <ethan@hkfanatic.com>
To:        Panagiotis Astithas <past@noc.ntua.gr>
Cc:        java@freebsd.org
Subject:   Re: An alternative Eclipse 3 port
Message-ID:  <40E0EEC7.1030507@hkfanatic.com>
In-Reply-To: <40E043FC.4090408@noc.ntua.gr>
References:  <40CFFE0F.6040403@noc.ntua.gr> <20040616171610.3ad2fde7.nork@FreeBSD.org> <40D982A5.8050701@noc.ntua.gr> <40DE0929.6040509@noc.ntua.gr> <20040628102239.GF66588@anyware12.anyware> <40E043FC.4090408@noc.ntua.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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,



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