pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkgtools/x11-links: libvdpau* and include/vdpau/ missing
I put this message again, modifying the subject, hoping that someone
knowing the x11-links functions will be able to correct things.
Problem: when trying to compile natively pkgsrc libva-driver-vdpau,
the configure exits with error since the header <vdpau/vdpau_x11.h> is
not found by the caller.
But it is present (in /usr/X11R7/include) and "-I/usr/X11R7/include" is
passed to "gcc".
If I invoke directly gcc, the same chunk of code, as given in
config.log, succeeds.
The problem is with the cwrappers. "gcc" is not "true" gcc, the PATH
manipulation leading to the use of work/.cwrapper/bin/gcc that is a
symbolic link to the pkgsrc cwrapper in
/usr/pkg/libexec/cwrappers/cc-wrapper.
If this one is invoked, setting CWRAPPERS_CONFIG_DIR, indeed the
problem occurs.
This is because the wrapper uses a config (found in
work/.cwrapper/config) and in this config, if I understand correctly,
the "/usr/X11R7" prefix is replaced to point to the .x11-buildlink/
directory, where include/vdpau/vdpau_x11.h doesn't exist!
The solution seems hence to add in pkgtools/x11-links/files a file
for libvdpau* and its headers so that they are shadowed in the
.x11-buildlink directory.
FWIW,
--
Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
http://www.kergis.com/
http://kertex.kergis.com/
http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
Home |
Main Index |
Thread Index |
Old Index