problems with installation of eclipse-3.0_1 at freebsd

Andreas Kohn andreas.kohn at gmx.net
Sun Sep 19 08:53:21 PDT 2004


On Thu, 2004-09-16 at 12:52, Jose Aranes wrote:
>  Hi all
> 
>  I get this output with the installation of eclipse:
> 
>  the ports tree is update this week.
> 
>  make install clean FORCE_PKG_REGISTER=YES
> ===>  Building for eclipse-3.0_1
> ===> Building libswt.
> cd "plugins/org.eclipse.swt/Eclipse SWT
> PI/gtk/library" && \
>         /bin/sh ./build.sh && \
>         /bin/cp *.so
> ../../../../org.eclipse.swt.gtk/os/freebsd/x86/
> gmake[1]: Entering directory
> `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse
> SWT PI/gtk/library'
> c++ -O -fno-rtti -Wall -I./
> -I/usr/local/jdk1.4.2/include
> -I/usr/local/jdk1.4.2/include/bsd
> -I/usr/local/jdk1.4.2/include/freebsd -include
> /usr/X11R6/include/mozilla/mozilla-config.h
> -I/usr/X11R6/include/mozilla
> -I/usr/X11R6/include/mozilla/xpcom
> -I/usr/X11R6/include/mozilla/string
> -I/usr/X11R6/include/mozilla/nspr
> -I/usr/X11R6/include/mozilla/embed_base
> -I/usr/X11R6/include/mozilla/gfx -c xpcom.cpp
> cc1plus: /usr/X11R6/include/mozilla/mozilla-config.h:
> No such file or directory
> xpcom.cpp:32:19: nsCRT.h: No such file or directory
> xpcom.cpp:33:25: nsEmbedAPI.h: No such file or
> directory
> xpcom.cpp:34:19: prmem.h: No such file or directory
> xpcom.cpp:35:19: prenv.h: No such file or directory
> xpcom.cpp:36:22: nsString.h: No such file or directory
> xpcom.cpp:37:31: nsEnumeratorUtils.h: No such file or
> directory
> xpcom.cpp:38:28: nsIInputStream.h: No such file or
> directory
> xpcom.cpp:39:20: nsRect.h: No such file or directory
> xpcom.cpp:48: error: type specifier omitted for
> parameter `P_OLE_FN_16S'
> xpcom.cpp:48: error: ISO C++ forbids declaration of
> `NS_CALLBACK_' with no type
> xpcom.cpp:48: error: `NS_CALLBACK_' declared as
> function returning a function
> xpcom.cpp:49: error: syntax error before `,' token
> xpcom.cpp:50: error: syntax error before `,' token
> xpcom.cpp:51: error: syntax error before `,' token
> xpcom.cpp:52: error: syntax error before `,' token
> xpcom.cpp:53: error: syntax error before `,' token
> xpcom.cpp:54: error: syntax error before `,' token
> xpcom.cpp:55: error: syntax error before `,' token
> xpcom.cpp:56: error: syntax error before `,' token
> xpcom.cpp:57: error: syntax error before `,' token
> xpcom.cpp:58: error: syntax error before `,' token
> xpcom.cpp:59: error: syntax error before `,' token
> xpcom.cpp:60: error: syntax error before `,' token
> xpcom.cpp:61: error: syntax error before `,' token
> xpcom.cpp:62: error: syntax error before `void'
> xpcom.cpp:63: error: syntax error before `,' token
> xpcom.cpp:64: error: syntax error before `,' token
> xpcom.cpp:65: error: syntax error before `,' token
> xpcom.cpp:66: error: syntax error before `,' token
> xpcom.cpp:67: error: syntax error before `void'
> xpcom.cpp:68: error: syntax error before `,' token
> xpcom.cpp:69: error: syntax error before `,' token
> xpcom.cpp:90: error: syntax error before `*' token
> gmake[1]: *** [xpcom.o] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse
> SWT PI/gtk/library'
> gmake: *** [libswt] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/java/eclipse.
> 
> 
>  what would you advise me to do?
> 
>  thanks 
> 
Hi,

what version of Mozilla do you have installed? I can get the same errors
with www/mozilla-devel[1], but everything works fine if I install the
regular www/mozilla[2]. Guess eclipse doesn't the like the 1.8 headers
too much.

HTH,
Andreas

Exact versions:
[1] mozilla-1.8.a3,2
[2] mozilla-1.7.2,2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20040919/9f0642d3/attachment.bin


More information about the freebsd-java mailing list