pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiling Motif on NetBSD/vax fails due to missing freetype2



Hello again,

I just finished successfully compiling Motif. `mwm` runs and works as
expected displaying on an X server over the network (Wayland could
never).

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.

If it's meant to be that way, please tell me, but if it's a real bug,
please report it. As I said above, I am not very familiar with NetBSD,
so it would be better if someone else made the report.

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?

Thank you.

On Sun, 26 Apr 2026 at 12:43, Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
>
>
> Monica Vaida <vaidamonica587%gmail.com@localhost> wrote:
> > I have `mk.conf` set up to use the built in X11, built in freetype2,
> > and built in fontconfig. Doing `make bin-install` in `x11/motif` gives
> > me this error during the `./configure` step:
>
> [snip]
>
> How have you made mk.conf use built in freetype2 and fontconfig, have
> you made changes to the buildlink3.mk files in pkgsrc as well?
>
> From memory, the newer versions of freetype2 and fontconfig that are in
> pkgsrc are needed by harfbuzz which is needed by motif.
>
> What is the problem with just building motif from unmodified pkgsrc on
> vax?


Home | Main Index | Thread Index | Old Index