Eugeny N Dzhurinsky wrote:

On Thu, Aug 17, 2006 at 09:13:43AM -0700, Greg Lewis wrote:
  

On Wed, Aug 16, 2006 at 12:16:10PM -0400, David Sledge wrote:
    

BUILD_DEPENDS=  javac:${PORTSDIR}/java/jdk15 \
                ant:${PORTSDIR}/devel/apache-ant \
      

Picking a message somewhat at random...

The first line is correctly written:

USE_JAVA=yes
JAVA_VERSION=1.5
JAVA_OS=native
JAVA_VENDOR=bsdjava

You can also probably write the second line better as

USE_ANT=yes
    

I installed diablo-jdk15, and now I have some weird issues when compiling:

     [exec] In file included from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] xpcom.h:34:21: nsXPCOM.h: No such file or directory
     [exec] xpcom.h:35:25: nsEmbedAPI.h: No such file or directory
     [exec] xpcom.h:36:27: nsEmbedString.h: No such file or directory
     [exec] xpcom.h:37:28: nsIInputStream.h: No such file or directory
     [exec] In file included from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:45:20: ns
core.h: No such file or directory
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:49:29: ns
ISupportsBase.h: No such file or directory
     [exec] In file included from /usr/local/include/mozilla-1.0.0/xpcom/nsISup
portsUtils.h:53,
     [exec]                  from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsError.h:292: error: `NS_CO
M' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsISupportsUtils.h:57:21: ns
Debug.h: No such file or directory
     [exec] In file included from /usr/local/include/mozilla-1.0.0/nspr/pratom.
h:43,
     [exec]                  from /usr/local/include/mozilla-1.0.0/xpcom/nsISup
portsImpl.h:48,
     [exec]                  from /usr/local/include/mozilla-1.0.0/xpcom/nsISup
portsUtils.h:61,
     [exec]                  from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/nspr/prtypes.h:484:31: obsolete/pr
otypes.h: No such file or directory
     [exec] In file included from /usr/local/include/mozilla-1.0.0/xpcom/nsISup
portsImpl.h:49,
     [exec]                  from /usr/local/include/mozilla-1.0.0/xpcom/nsISup
portsUtils.h:61,
     [exec]                  from xpcom.h:38,
     [exec]                  from xpcom_structs.h:29,
     [exec]                  from xpcom.cpp:30:
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:149: error: 
`nsrefcnt' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:150: error: 
`nsrefcnt' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:151: error: 
`nsrefcnt' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:152: error: 
`nsrefcnt' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:180: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:180: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:182: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:184: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:189: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:189: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:193: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:193: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:199: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:199: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:203: error: 
`NS_COM' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:208: error: 
`NS_COM' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:213: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:213: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:216: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:216: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:219: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:219: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:221: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:221: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:228: error: 
`NS_COM' does not name a type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:231: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:231: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:233: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:233: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:236: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:236: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:239: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:239: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:243: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:243: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:245: error: 
ISO C++ forbids declaration of `NS_COM' with no type
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:245: error: 
expected `;' before "void"
     [exec] /usr/local/include/mozilla-1.0.0/xpcom/nsTraceRefcnt.h:252: error: 
ISO C++ forbids declaration of `NS_COM' with no type


etc

the thing is I issued make with arguments

make -DWITHOUT_GNOMEVFS -DWITHOUT_CAIRO -DWITHOUT_MOZILLA

but it still wants Mozilla to be installed?

  

   I am not sure what is going on. I do not have
   /usr/local/include/mozilla* on my computer and I can build with
    "make -DWITHOUT_GNOMEVFS -DWITHOUT_CAIRO -DWITHOUT_MOZILLA" on my
   i386 and amd64 computers without any problems. Has anyone else built
   eclipse3.2 with the previous args?
_______________________________________________
freebsd-eclipse@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to