On Fri, Nov 17, 2006 at 09:11:49PM +0100, Jan Danielsson
wrote:
> Hello all,
>
> The boost headers are located in
/usr/pkg/include/boost, and the
> sample application expects the headers boost/blah... In
OS/2 I would
> simply have made sure that "/usr/pkg/include"
was in the "INCLUDE"
> environment variable, but I don't know what I need to
do in NetBSD to
> make it work. Shouldn't there be an analogous variable
to the "INCLUDE"
> in NetBSD (read: gcc, I guess), and shouldn't it be
pointing to
> /usr/pkg/include/ ?
Many programs are written using stupid assumptions in their
build process.
With pkgsrc many of these assumptions are invalid, so you
might need
to hack up the build scripts a bit.
For include paths, you'll need to use the -I flag for the
compiler. You
might find http://wiki.netbsd.se/index.php/Basic_Unix_programming
an
interesting read.
HTH,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital
computer
is especially attractive, not only because it can be
economically
and scientifically rewarding, but also because it can be an
aesthetic
experience much like composing poetry or music."
-- Donald Knuth
|