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 Fri, 24 Apr 2026, Monica Vaida wrote:

I applied your patch and did `make clean clean-depends`, but the
compilation failed again. During the `./configure` step of the build I
get these errors:
```
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
```


Did you install all the X11 sets during install?

-RVP

PS. You might need to force `libjpeg' to be used instead of `libjpeg-turbo'
'cause the latter compiles `cmake' to compile itself. Add something like this
to `/etc/mk.conf':

JPEG_DEFAULT=	jpeg

Ask on pkgsrc-users@ for fine tuning all this...

-RVP


Home | Main Index | Thread Index | Old Index