Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2005 15:11:42 -0500
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        openoffice@freebsd.org, adamw@FreeBSD.org
Subject:   unable to build WITHOUT_JAVA
Message-ID:  <41EACA7E.3060600@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
I prefer to build openoffice with the following options:
-DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED -DWITHOUT_JAVA -DWITH_CUPS

However, neither openoffice-1.1 nor openoffice-2.0-devel with build in 
this case on my 5-STABLE box. I'll send you the 2.0 error now, and I'll 
send the 1.1 error later. Is building without java simply unsupported 
now? That'd be a shame, because having java enabled by default serves 
such little purpose for openoffice...

------------------------------
Making: ../../../../../../unxfbsd.pro/obj/akmngr.obj
gcc-ooo -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc 
-I../../../../../../inc -I. 
 
tors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc/dont_use_stl 
-I/usr/ports/edito 
 
tors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro/inc 
-I/usr/ports/editors/openoffice 
                                         /solenv/inc 
-I/usr/ports/editors/openoffice-2.0-devel/work/res 
-I/usr/ports/editors/openo 
 
/openoffice-2.0-devel/work/solenv/inc/Xp31 -INO_JAVA_HOME/include 
-INO_JAVA_HOME/include/ 
                                 -I/usr/X11R6/include 
-I/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pr 
 
       ro/inc/mozilla/nspr 
-I/usr/ports/editors/openoffice-2.0-devel/work/solver/680/unxfbsd.pro 
 
        ict-aliasing   -DHAVE_CONFIG_H -DPACKAGE=\"xmlsec1\" 
-DXMLSEC_NO_XSLT=1 -D_REENTRANT -DXM 
                                              CL -DGCC -DC300 -DINTEL 
-DGXX_INCLUDE_PATH=/usr/local/lib/gcc-ooo/i386-portbld-freebsd5.3 
 
    DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX 
-DCPPU_ENV=gcc3 -DSU 
                              ONS_OFF -DCUI -DSRC680   -DMULTITHREAD 
-o ../../../../../../unxfbsd.pro/obj/akmngr.o ak
akmngr.c:11:18: nspr.h: No such file or directory
akmngr.c:13:22: pk11func.h: No such file or directory
akmngr.c:14:18: cert.h: No such file or directory
akmngr.c:15:19: keyhi.h: No such file or directory
In file included from akmngr.c:23:
../../include/xmlsec/nss/tokens.h:49: error: parse error before 
"CK_MECHANISM_TYPE_PTR"
../../include/xmlsec/nss/tokens.h:49: warning: no semicolon at end of 
struct or union
../../include/xmlsec/nss/tokens.h:50: warning: data definition has no 
type or storage cla
../../include/xmlsec/nss/tokens.h:51: error: parse error before '}' token
../../include/xmlsec/nss/tokens.h:56: error: parse error before 
"CK_MECHANISM_TYPE_PTR"
../../include/xmlsec/nss/tokens.h:62: error: parse error before 
"CK_MECHANISM_TYPE"
../../include/xmlsec/nss/tokens.h:68: error: parse error before 
"CK_MECHANISM_TYPE"
../../include/xmlsec/nss/tokens.h:72: error: parse error before 
"xmlSecNssKeySlotGetMechL
../../include/xmlsec/nss/tokens.h:74: warning: data definition has no 
type or storage cla
../../include/xmlsec/nss/tokens.h:79: error: parse error before 
"PK11SlotInfo"
../../include/xmlsec/nss/tokens.h:85: error: parse error before 
"PK11SlotInfo"
../../include/xmlsec/nss/tokens.h:93: error: parse error before '*' token
../../include/xmlsec/nss/tokens.h:96: warning: data definition has no 
type or storage cla
../../include/xmlsec/nss/tokens.h:120: error: parse error before 
"CK_MECHANISM_TYPE"
../../include/xmlsec/nss/tokens.h:126: error: parse error before 
"CK_MECHANISM_TYPE"
../../include/xmlsec/nss/tokens.h:163: error: parse error before '*' token
../../include/xmlsec/nss/tokens.h:163: error: parse error before "type"
../../include/xmlsec/nss/tokens.h:163: warning: data definition has no 
type or storage cl
../../include/xmlsec/nss/tokens.h:175: error: parse error before '*' token
In file included from akmngr.c:24:
../../include/xmlsec/nss/akmngr.h:27: error: parse error before '*' token
../../include/xmlsec/nss/akmngr.h:34: error: parse error before "PK11SymKey"
../../include/xmlsec/nss/akmngr.h:40: error: parse error before 
"SECKEYPublicKey"
../../include/xmlsec/nss/akmngr.h:46: error: parse error before 
"SECKEYPrivateKey"
In file included from akmngr.c:25:
../../include/xmlsec/nss/pkikeys.h:24: error: parse error before '*' token
../../include/xmlsec/nss/pkikeys.h:27: error: parse error before '*' token
../../include/xmlsec/nss/pkikeys.h:27: warning: data definition has no 
type or storage cl
../../include/xmlsec/nss/pkikeys.h:29: error: parse error before '*' token
../../include/xmlsec/nss/pkikeys.h:29: warning: data definition has no 
type or storage cl
../../include/xmlsec/nss/pkikeys.h:31: error: parse error before 
"xmlSecNssPKIKeyDataGetK
../../include/xmlsec/nss/pkikeys.h:31: warning: data definition has no 
type or storage cl
In file included from akmngr.c:26:
../../include/xmlsec/nss/ciphers.h:22: error: parse error before 
"PK11SymKey"
../../include/xmlsec/nss/ciphers.h:24: error: parse error before '*' token
../../include/xmlsec/nss/ciphers.h:26: error: parse error before '*' token
../../include/xmlsec/nss/ciphers.h:26: warning: data definition has no 
type or storage cl
akmngr.c:40: error: parse error before '*' token
akmngr.c:184: error: parse error before "PK11SymKey"
akmngr.c: In function `xmlSecNssAppliedKeysMngrSymKeyLoad':
akmngr.c:190: error: `mngr' undeclared (first use in this function)
akmngr.c:190: error: (Each undeclared identifier is reported only once
akmngr.c:190: error: for each function it appears in.)
akmngr.c:191: error: `symKey' undeclared (first use in this function)
akmngr.c: At top level:
akmngr.c:251: error: parse error before "SECKEYPublicKey"
akmngr.c: In function `xmlSecNssAppliedKeysMngrPubKeyLoad':
akmngr.c:257: error: `mngr' undeclared (first use in this function)
akmngr.c:258: error: `pubKey' undeclared (first use in this function)
akmngr.c: At top level:
akmngr.c:318: error: parse error before "SECKEYPrivateKey"
akmngr.c: In function `xmlSecNssAppliedKeysMngrPriKeyLoad':
akmngr.c:324: error: `mngr' undeclared (first use in this function)
akmngr.c:325: error: `priKey' undeclared (first use in this function)
dmake:  Error code 1, while making 
'../../../../../../unxfbsd.pro/obj/akmngr.obj'
'---* tg_merge.mk *---'
dmake:  Error code 255, while making 
'./unxfbsd.pro/misc/build/so_built_so_xmlsec1'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making 
/usr/ports/editors/openoffice-2.0-devel/work/lib
dmake:  Error code 1, while making 'instsetoo_native/prj/build_all'
*** Error code 255

Stop in /usr/ports/editors/openoffice-2.0-devel.


-- 
Adam Weinberger
adamw@magnesium.net || adamw@FreeBSD.org
adamw@vectors.cx    ||   adamw@gnome.org
http://www.vectors.cx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41EACA7E.3060600>