Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 10:45:54 -0400
From:      Adam K Kirchhoff <adamk@voicenet.com>
To:        Adam K Kirchhoff <adamk@voicenet.com>
Cc:        freebsd-ports@freebsd.org, past@ebs.gr
Subject:   Re: Building eclipse.
Message-ID:  <20060411104554.b8a35fc4.adamk@voicenet.com>
In-Reply-To: <20060411102009.b1fd42f9.adamk@voicenet.com>
References:  <20060411075502.b094d131.adamk@voicenet.com> <443BB1EE.4000000@ebs.gr> <20060411095604.520a0f8b.adamk@voicenet.com> <443BB9BD.4090309@ebs.gr> <20060411102009.b1fd42f9.adamk@voicenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Apr 2006 10:20:09 -0400
Adam K Kirchhoff <adamk@voicenet.com> wrote:

> On Tue, 11 Apr 2006 17:14:21 +0300
> Panagiotis Astithas <past@ebs.gr> wrote:
> 
> > Adam K Kirchhoff wrote:
> > > On Tue, 11 Apr 2006 16:41:02 +0300
> > > Panagiotis Astithas <past@ebs.gr> wrote:
> > > 
> > >> Adam K Kirchhoff wrote:
> > >>> FYI,
> > >>>
> > >>> 	The eclipse port appears to be broken at the moment.  About forty five minutes in, the build fails.  The problem appears to have originated with:
> > >>>
> > >>>     [javac] The method processUpdate(Attributes) from the type JNLPGenerator is never used locally
> > >>>     [javac] ----------
> > >>>     [javac] ----------
> > >>>     [javac] 2. WARNING in /usr/ports/java/eclipse/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/PluginVersionReplaceTask.java
> > >>>     [javac]  (at line 157)
> > >>>     [javac]     private static void transferStreams(InputStream source, OutputStream destination) throws IOException {
> > >>>     [javac]                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > >>>     [javac] The method transferStreams(InputStream, OutputStream) from the type PluginVersionReplaceTask is never used locally
> > >>>     [javac] ----------
> > >>>     [javac] 2 problems (2 warnings)
> > >>>      [exec] In file included from xpcom_structs.h:29,
> > >>>      [exec]                  from xpcom.cpp:30:
> > >>>      [exec] xpcom.h:21:21: nsXPCOM.h: No such file or directory
> > >>>      [exec] xpcom.h:22:25: nsEmbedAPI.h: No such file or directory
> > >>>      [exec] xpcom.h:23:27: nsEmbedString.h: No such file or directory
> > >>>      [exec] xpcom.h:24:28: nsIInputStream.h: No such file or directory
> > >>>      [exec] xpcom.h:25:30: nsISupportsUtils.h: No such file or directory
> > >>>      [exec] In file included from xpcom.cpp:30:
> > >>>      [exec] xpcom_structs.h:33: error: expected constructor, destructor, or type conversion before '*' token
> > >>>      [exec] xpcom_structs.h:33: error: expected `,' or `;' before '*' token
> > >>>      [exec] xpcom_structs.h:34: error: `nsID' has not been declared
> > >>>      [exec] xpcom_structs.h:34: error: ISO C++ forbids declaration of `lpStruct' with no type
> > >>>
> > >>>
> > >>> And it continues on till it gets to:
> > >>>
> > >>>      [exec] xpcom.cpp: In function `jint Java_org_eclipse_swt_internal_mozilla_XPCOM_strlen(JNIEnv*, _jclass*, jint)':
> > >>>      [exec] xpcom.cpp:2023: error: `strlen' undeclared (first use this function)
> > >>>      [exec] gmake: *** [xpcom.o] Error 1
> > >>>
> > >>> BUILD FAILED
> > >>> /usr/ports/java/eclipse/work/build.xml:53: exec returned: 2
> > >> You appear to be missing the mozilla/firefox headers. Do you have any oh
> > >> these installed? If you specifically don't want the browser widget, you
> > >> could build eclipse with WITHOUT_MOZILLA.
> > >>
> > >> Cheers,
> > >>
> > >> Panagiotis
> > >>
> > >>
> > >>
> > > 
> > > I have both firefox and mozilla installed from ports.  The headers it's failing on are located in both /usr/X11R6/include/firefox and /usr/X11R6/include/mozilla-devel
> > 
> > Are you using a particular WITH_MOZILLA setting when building eclipse?
> > 
> 
> Nope, I don't have that defined at all, but I'll set it to mozilla and try again, just to see what happens.
> 

And even with WITH_MOZILLA set to 'mozilla', it fails at the same point.

Adam



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