NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to get pkgsrc to use builtin/native libraries?
On Mon, 27 Apr 2026, Monica Vaida wrote:
I am not very familiar with NetBSD or pkgsrc, so I might be
misunderstanding the way you do things, but I think the problem was in
the package `pkgtools/x11-links`. It is supposed to contain symlinks
to the built-in X, right? But, at least on my VAX, the links to
freetype2 were all missing; the libraries, headers, and the pkgconf
`.pc` files.
Eh, I've seen this troublesome behaviour with x11-links too. What I do is
`cd' into the `x11-links' pkgsrc dir., run a `make distclean', then come back
to whatever I was trying to build.
The pkgsrc people might have a better solution.
Now, I am trying to build libxslt, xmlto, and opensp, so that I can
compile CDE. Building libxslt failed due to NAN not being defined on
VAX. I added `#define NAN 0.0` to the two files causing the errors,
`libexslt/math.c` and `libexslt/date.c`, and was able to install
libxslt. Trying to build xmlto with the modified libxslt failed with a
floating point exception in `xsltproc`. Would any of you know how to
get it to build?
I don't think the VAX has NAN (nor even IEEE-754 floating point capability).
Try either
#define NAN nan("") // #include <math.h> needed
or
#define NAN (0.0f / 0.0f)
Also ask on port-vax@ to see how they handle the lack of IEEE floats.
-RVP
Home |
Main Index |
Thread Index |
Old Index