Subject: Re: CVS commit: pkgsrc/www/mozilla
To: None <lha@stacken.kth.se>
From: Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>
List: tech-pkg
Date: 06/23/2004 08:49:06
From: Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>
Subject: Re: CVS commit: pkgsrc/www/mozilla
Date: Tue, 22 Jun 2004 23:28:04 +0900 (JST)

> (2)explicitly set GSSAPI_LIBS and GSSAPI_INCLUDES
> 
> .if ${OPSYS} == "NetBSD"
> CONFIGURE_ENV+=	GSSAPI_LIBS="-lgssapi -lkrb5 -lasn1 -lcom_err -lcrypto -lroken -lcrypt"
> CONFIGURE_ENV+=	GSSAPI_INCLUDES="-I/usr/include/gssapi -I/usr/include/krb5"
> .endif

I've tried this one.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/mozilla/Makefile,v
retrieving revision 1.134
diff -u -u -r1.134 Makefile
--- Makefile	21 Jun 2004 14:14:00 -0000	1.134
+++ Makefile	22 Jun 2004 23:46:09 -0000
@@ -15,3 +15,9 @@
 BUILD_CALENDAR=	# defined
 
 .include	"../../www/mozilla/Makefile.common"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ENV+=	GSSAPI_LIBS="-lgssapi -lkrb5 -lasn1 -lcom_err -lcrypto -lroken  -lcrypt"
+CONFIGURE_ENV+=	GSSAPI_INCLUDES="-I/usr/include/gssapi -I/usr/include/krb5"
+.endif
+

configure succeeded, but compilation failed like below.

gmake[3]: Leaving directory `/export/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla/work.mmgserv/mozilla/extensions/spellcheck'
gmake[3]: Entering directory `/export/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla/work.mmgserv/mozilla/extensions/negotiateauth'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "ja_JP.eucJP"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
nsHttpGssapiAuth.cpp
g++ -o nsHttpGssapiAuth.o -c -DOSTYPE=\"NetBSD2\" -DOSARCH=\"NetBSD\" -DHAVE_DEPENDENT_LIBS -I/usr/include/gssapi -I/usr/include/krb5 -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/negotiateauth -I../../dist/include -I/export/NetBSD/NetBSD-current/work/pkgsrc/www/mozilla/work.mmgserv/mozilla/dist/include/nspr  -I/usr/pkg/include -I/usr/pkg/include  -I. -I/usr/X11R6/include   -fPIC -DPIC  -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/include -Dunix -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2  -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gdk-p!
 ixbuf-1.0 -I/usr/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsHttpGssapiAuth.pp nsHttpGssapiAuth.cpp
nsHttpGssapiAuth.cpp:104: error: `OM_uint32' was not declared in this scope
nsHttpGssapiAuth.cpp:104: error: parse error before `,' token
nsHttpGssapiAuth.cpp: In function `void LogGssError(...)':
nsHttpGssapiAuth.cpp:106: error: `OM_uint32' undeclared (first use this 
   function)
nsHttpGssapiAuth.cpp:106: error: (Each undeclared identifier is reported only 
   once for each function it appears in.)
nsHttpGssapiAuth.cpp:106: error: parse error before `;' token
nsHttpGssapiAuth.cpp:108: error: `gss_buffer_desc' undeclared (first use this 
   function)