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 all,

I have finished compiling CDE for NetBSD/vax.

I didn't feel like patching libxslt and libxml, so I just used `gdb`
to wrap `xsltproc` and `xmllint` and handle the FPE. The FPE only
happened once when either program started, and telling `gdb` to just
ignore the FPE and allow the program to continue running worked.
Someone else can go through the trouble of patching libxml for VAX!

OpenSP compiled successfully as well, but during the build of CDE it
had a few segfaults, so I just copied the man pages and help files
from an i386 package.

CDE only partly works. I can `X -query` into `dtlogin` from a PC with
a screen, but `dtwm` and most other CDE programs fail with this error:
```
Unresolved inheritance operation
```
The stock X.Org app, `xman` fails in the same way when clicking on
"Manual Page".

Also, /usr/pkg/etc/dt mistakenly became /usr/pkg/usr/pkg/etc/dt. I
just linked it to the proper location.

Thank you!

On Mon, 27 Apr 2026 at 21:46, Monica Vaida <vaidamonica587%gmail.com@localhost> wrote:
>
> 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