pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libva-driver-vdpau strange configure error


xine(1) complaining about missing, I trie to compile
libva-driver-vdpau to see if this will solved the problem.

The configure fails with VDPAU not available because "vdpau/vdpau_x11.h"
is said to not have been found, but the code compiled by configure is

#include <vdpau/vdpau_x11.h>
main (void)
  return 0;

and -I/usr/pkg/include is given to gcc and the header is present there.

If I do compile the source by hand, taking the configure invocation:

gcc -o conftest -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib conftest.c -lrt -lm -lpthread  -lvdpau

it works with no problem about the header (but the resulting program
fails because shared object is not present. But this
is not what configure reports: it reports a failure about the header,
and the message is in the form of a gcc one).

Has someone any idea what could cause such a strange behavior?

        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

Home | Main Index | Thread Index | Old Index