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,
On Sat, 25 Apr 2026 12:46:32 -0400
Greg Troxel <gdt%lexort.com@localhost> wrote:
> Monica Vaida <vaidamonica587%gmail.com@localhost> writes:
>
> > 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:
> > ```
> > checking for FcInit... yes
> > Package freetype2 was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `freetype2.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'freetype2', required by 'xft', not found
> > Package freetype2 was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `freetype2.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'freetype2', required by 'xft', not found
> > checking jpeglib.h usability... yes
> > ```
> > If I let it keep going it eventually fails during the compilation due
> > to missing freetype2.
>
> Look for "config.log" in the work directory.
>
> Look for freetype2.pc in /usr/pkg/lib/pkgconfig/freetype2.pc and then in
> $WRKDIR/.buildlink/lib/pkgconfig.
>
> Read configure or configure.ac and see if it is looking for a specific
> version. Look in the pkgconfig file and see if that version is high
> enough.
There's PR 60209 'freetype2.pc has invalid Version' - I wonder if
that's what's biting you. I know I built motif from pkgsrc on hppa not
that long ago, with built-in freetype2.
( only mentioning hppa because I'm fairly sure it's about equally
obscure relative to more mainstream hardware )
have fun
Michael
Home |
Main Index |
Thread Index |
Old Index