POV-Ray : Newsgroups : povray.unix : Compiling on NetBSD 6.1.3 for i386 Server Time
21 Dec 2024 07:29:39 EST (-0500)
  Compiling on NetBSD 6.1.3 for i386 (Message 1 to 2 of 2)  
From: jhu
Subject: Compiling on NetBSD 6.1.3 for i386
Date: 14 Apr 2014 21:30:00
Message: <web.534c89dbbe2e43b4d19b0ec40@news.povray.org>
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

From: jhu
Subject: Re: Compiling on NetBSD 6.1.3 for i386
Date: 15 Apr 2014 00:25:00
Message: <web.534cb3b83601c7abd19b0ec40@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.