Re: boost
Peter Bex <[email protected]>
| Newsgroups | gmane.os.netbsd.help |
|---|---|
| Message-ID | <[email protected]> |
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
signature.asc
(application/pgp-signature, 478 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (NetBSD) iQEVAwUBRV4ZANOrBFwYag3gAQLTPgf/crWTHwgfbNxStlnHMNyaEVYYmn/CR+OM IiDPFhxNyxuZDFtnAaj3GpUZjsXx5gAzZ9paFwl2NSAnqHBbjuX+LvrdgxThLNpO HRX2wczhPFIaDMBnTGwWgaKAuZ1BvBz//9HjlG1pC2lSb9n070cPYG5qWXd/sZKb zuaO1sGRoOl2VXetP4LCoabKb2+Y2e3zN6UAjcAddEyr5eaqr2kvQf9TQMBDSq6/ k+G+LORGYcoqqt/dyK4e5p7J+2rkUurr9qx+4pWZ39u3McdWaqm5XahsN8kLkgNy 8sWWSAyBDb2KcEbozBxcnd3HETDrsHiyCDtoA7EczfRYrwNzbdiHng== =/tLM -----END PGP SIGNATURE-----