RE: wip/kegs

"Jeremy C. Reed" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Mon, 4 May 2009, Larson, Timothy E. wrote:

> Thanks!  I know I've seen that, just never used it before, so it slipped 
> my mind.  So I did that and confirmed it still builds on my Solaris 
> system.  However, on my NB box it says that it still can't find the X11 
> headers (e.g. "error: X11/Xlib.h: No such file or directory"), even 
> though it uses -I/usr/X11R7/include during compilation.  I have verified 
> that /usr/X11R7/include/X11/Xlib.h does, in fact, exist.

That goes back to the previous email:

>> You forget to .include x11/xproto/buildlink3.mk,
>> x11/libX11/buildlink3.mk, x11/xextproto/buildlink3.mk and probably
>> others.
>
> It only depends on those if using modular Xorg from pkgsrc--those are 
> not dependencies when using the system headers/libs.  What is the best 
> way for dealing with this?

The buildlink builtin.mk system will handle that even if you don't use 
modular X.org. It will end up using your x11-links package headers. So 
still include the include of the packages buildlink3.mk files listed 
above.

And the reason why it doesn't see your headers is because pkgsrc does a 
good job at hiding includes that aren't specifically known to be used by 
the package. 

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.