Subject: Help with missing header error?
To: None <tech-pkg@netbsd.org>
From: walt <wa1ter@myrealbox.com>
List: tech-pkg
Date: 08/06/2005 09:51:34
Geert has got the wip/jdk14 package almost working, except that
the javaplugin for mozilla/netscape won't compile.

This is long, but it is all one big compile statement, with the missing
header error at the end:

/usr/pkg/bin/gmake 
/usr/pkgsrc/wip/jdk14/work/control/build/bsd-i586/plugin/i386/ns610/libjavaplugin_oji.so 
VARIANT=OPT
gmake[4]: Entering directory 
`/usr/pkgsrc/wip/jdk14/work/deploy/make/plugin/ns6'
/usr/pkgsrc/wip/jdk14/work/.wrapper/bin/g++  -W -Wall  -Wno-unused 
-Wno-parentheses  -I../../../src/plugin/oji-plugin/src/motif/navig
5 -I../../../src/plugin/oji-plugin/src/motif/navig5/../common 
-I/usr/pkgsrc/wip/jdk14/work/control/build/bsd-i586/tmp/plugin/ -I/usr/
pkgsrc/wip/jdk14/work/control/build/bsd-i586/tmp/plugin/CClassHeaders 
-I../../../src/plugin/oji-plugin/src/share -I../../../src/plugi
n/src/share/jcomponent 
-I../../../../j2se/make/../src/solaris/javavm/export 
-I../../../../j2se/make/../src/share/javavm/export -I../.
./../../j2se/make/../src/share/javavm/include 
-I../../../../j2se/make/../src/solaris/javavm/include 
-I/usr/X11R6/include -I/usr/pkg/
include -D_GNU_SOURCE -D_BSD_SOURCE -DXP_UNIX 
-DPLUGIN_NODOTVERSION=\"142\" -DPLUGIN_VERSION=\"1.4.2\" 
-DVERSION=\"1.4.2-p7-toor_06_
aug_2005_09_04\" -DARCH=\"i586\" -DLIBARCH=\"i386\" 
-I../../../src/plugin/oji-plugin/include/mozilla_headers_ns610 
-DRAPTOR_API -DNEW
_STREAMING_API -I/usr/pkg/include/mozilla/nspr  -c -o
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/usr/pkgsrc/wip/jdk14/work/control/build/bsd-i586/tmp/plugin/javaplugin_oji/obj
/GetFactory5.o 
../../../src/plugin/oji-plugin/src/motif/navig5/GetFactory5.cpp
In file included from 
../../../src/plugin/oji-plugin/include/mozilla_headers_ns610/nsrootidl.h:11,
                  from 
../../../src/plugin/oji-plugin/include/mozilla_headers_ns610/nsISupports.h:10,
                  from 
../../../src/plugin/oji-plugin/include/mozilla_headers_ns610/nsIComponentManager.h:10,
                  from 
../../../src/plugin/oji-plugin/src/motif/navig5/GetFactory5.cpp:29:
../../../src/plugin/oji-plugin/include/mozilla_headers_ns610/nscore.h:43:21: 
prtypes.h: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Note that prtypes.h *is* really in the /usr/pkg/include/mozilla/nspr
directory where it belongs, and that directory is included in the
statement (see above).

Sorry for the line-wrap, but can anyone tell me why this header can't
be found?  I'm stumped.

Thanks.