pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: x11/gtk3 - fatal error: pango/pango.h: No such file or directory
On 23.02.2020 17:50, Sad Clouds wrote:
On Sun, 23 Feb 2020 11:32:26 -0500
Greg Troxel <gdt%lexort.com@localhost> wrote:
Make sure your build path doesn't have a symlink. cd to `pwd -P` to
avoid this.
I have a symlink /usr/pkg -> /opt/pkg, could this cause the issue,
since the headers will be under /usr/pkg/include?
Are there known issues with pkgsrc and symlinks?
Yes, there are known issues, see the lengthy comment in
bootstrap/bootstrap, in the function checkarg_no_symlink_path.
To make sure that everything is ok regarding the symlinks, please
describe your setup in more detail, since you are quite close to a
configuration that is known to not work.
When you say "I have a symlink /usr/pkg -> /opt/pkg", this can mean:
LOCALBASE= /opt/pkg # this is ok
VARBASE= /opt/pkg/var # this is ok
It could also mean:
LOCALBASE= /usr/pkg # this is bad
VARBASE= /usr/pkg/var # this is bad
In the first of these configurations, the whole pkgsrc build process
works whether the symlink exists or not. Therefore everything will be fine.
In the second of these configurations, the buildlink wrappers that
install the headers and libraries into WRKDIR/.buildlink during a
package build will just skip these.
Another way to mess up everything would be to start with /opt/pkg for
the first few packages and later add the symlink and change LOCALBASE to
the symlink.
Home |
Main Index |
Thread Index |
Old Index