HEADS UP: Eclipse 3.0 updated
Panagiotis Astithas
past at ebs.gr
Tue Jul 27 06:55:22 PDT 2004
Jiawei Ye wrote:
> On Sun, 25 Jul 2004 17:15:44 +0900, Norikatsu Shigemura
> <nork at freebsd.org> wrote:
>
>>Hi eclipse user and maintainer.
>>
>> I updated Eclipse 3.0 and related ports, so then some ports
>> was broken. Please fix these ports! :-)
>>
>> If you find a problem, please report to java@ and nork at .
>
> Hi, I ran into this error while 'make install' on 4.10-stable system:
>
> build:
> [echo] Building libupdate.so
> [echo] gcc33 -o libupdate.so -shared
> -I/home/ports/java/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/../../org.eclipse.update.core.freebsd/src/
> -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd
> libupdate.so -static -lc
> [apply] /home/ports/java/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/update.c:
> In function `Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetFreeSpace':
> [apply] /home/ports/java/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/update.c:52:
> syntax error before `int'
[...]
This was reported a few days ago from Jan-Peter Koopmann (CC'ed). I had
suggested the following crude patch, that seemed to compile for him, but
haven't heard ever since whether ir really worked.
diff -u Makefile Makefile.new
--- Makefile Thu Jul 8 20:19:57 2004
+++ Makefile.new Wed Jul 21 12:47:32 2004
@@ -21,6 +21,7 @@
ONLY_FOR_ARCHS= i386
USE_ZIP= yes
+USE_GCC= 3.3
USE_JAVA= yes
JAVA_VERSION= 1.4+
diff -u files/update-build.xml files/update-build.xml.new ---
files/update-build.xml Tue Jun 22 11:25:45 2004
+++ files/update-build.xml.new Wed Jul 21 18:46:49 2004
@@ -47,9 +47,9 @@
<property name="header-path" value="${jdk-path}/include"/>
<property name="header-freebsd-path" value="${header-path}/freebsd" />
- <echo message="gcc -o ${library-file} -shared -I${src-path}
-I${header-path} -I${header-freebsd-path} ${library-file} -static -lc"/>
+ <echo message="gcc33 -o ${library-file} -shared -I${src-path}
-I${header-path} -I${header-freebsd-path} ${library-file} -static -lc"/>
- <apply executable="gcc" dest="${eclipse-home}/" parallel="false">
+ <apply executable="gcc33" dest="${eclipse-home}/" parallel="false">
<arg value="-o"/>
<arg value="${library-file}"/>
<arg value="-shared"/>
If it turns out OK, we have to replace gcc33 with $(CC) and make sure
this gets correctly propagated down to update-build.xml during building.
I have some more cleanups like that (s/gcc/$(CC)/) but I want to make
sure this on works first.
Let me know if it works for you.
--
Panagiotis Astithas, PhD
R&D Manager
EBS, Electronic Business Systems Ltd.
18 Evgenidou Street, 115 25, Athens GREECE
Phone: +30 210 674 7631
Fax: +30 210 674 7601
http://www.ebs.gr
More information about the freebsd-java
mailing list