|
|
Tried first by compiling a custom libboost to no avail. Fortunately the boost
libraries from the NetBSD package works. However, I've found that if installing
the libboost package from NetBSD, it's easiest to just copy the libboost*,
libpng, libjpeg, and libtiff files from /usr/pkg/lib to /usr/lib and
/usr/local/lib . Also copy those respective header files in /usr/pkg/include to
/usr/include and /usr/local/include . It's a little wacky, but the mini programs
that the configure script compiles will look in either /usr/pkg/lib,
/usr/local/lib, or /usr/lib for libraries, and if it doesn't find it in the
directory it looks, it will just fail. It's rather annoying.
Once that's all done, compiling issues are now similar to FreeBSD.
Post a reply to this message
|
|
|
|
Compiling on an old Pentium !!! laptop so it's slow going. Well, found some
NetBSD specific issues. Fortunately I found this:
http://bugs.povray.org/task/195
These are what I encountered so far (still compiling):
1) vfe/unix/platformbase.cpp uses CLOCK_THREAD_CPUTIME_ID, which is not provided
course not a correct fix).
2) vfe/unix/platformbase.cpp uses CLOCK_PROCESS_CPUTIME_ID, which is not
just add defined(NetBSD) to the FreeBSD case, except for point 3.
3) vfe/unix/vfeplatform.cpp uses WEXITSTATUS. For this, sys/wait.h should be
included. The obvious fix is
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
Post a reply to this message
|
|