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



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.



Home | Main Index | Thread Index | Old Index