Subject: Re: Debugging a buildlink wrapper problem?
To: None <>
From: walt <>
List: tech-pkg
Date: 08/07/2005 13:45:34
On Sun, 2005-08-07 at 21:13 +0200, Dieter Baron wrote:
> In article <1123441256.17995.21.camel@k9.localnet> walt wrote:
> : I'm trying to help Geert get the jdk14 package working, and I have
> : this puzzle:
> : /usr/pkgsrc/wip/jdk14/work/.wrapper/bin/g++
> : -I/usr/pkg/include/mozilla/nspr <other-flags-snipped> foo.cpp
> : The above command gives me a missing header error for a header
> : which *absolutely* exists in the specified 'nspr' directory.
> : In other words:  the error is completely bogus.  But why?
>   Does the header exist in ${WRKDIR}/.buildlink/include/mozilla/nspr?

Yes!  That was the problem.

This is exactly what I did to fix it:

# cd /usr/pkgsrc/wip/jdk14/work/.buildlind/include
# mkdir mozilla
# cd mozilla
# ln -s /usr/pkg/include/mozilla/nspr nspr

Given the information above, can you suggest what changes should
be made to the jdk14 package?  (Is it really as simple as including
the buildlink file from mozilla?  I can't see how it would help, but
please 'splain it to me :o)