pkgsrc-Users archive

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

graphics/libv4l build fails on linux



Hi,

attempting to build current firefox24 on my Stable Debian 
i686 GNU/Linux Box, it fails at libv4l with a 
fatal error: linux/videodev.h: No such file or dir: 

root@debian:/usr/pkgsrc/graphics/libv4l# bmake clean clean-depends&&
bmake
===> Cleaning for libv4l-0.4.3nb2
===> Cleaning for nbpatch-20100124
===> Cleaning for tnftp-20070806
===> Cleaning for digest-20121220
=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
=> Checksum SHA1 OK for libv4l-0.4.3.tar.gz
=> Checksum RMD160 OK for libv4l-0.4.3.tar.gz
===> Installing dependencies for libv4l-0.4.3nb2
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20100124
===> Overriding tools for libv4l-0.4.3nb2
===> Extracting for libv4l-0.4.3nb2
===> Patching for libv4l-0.4.3nb2
=> Applying pkgsrc patches for libv4l-0.4.3nb2
===> Creating toolchain wrappers for libv4l-0.4.3nb2
===> Configuring for libv4l-0.4.3nb2
/bin/mkdir -p /usr/pkgsrc/graphics/libv4l/work/.buildlink/include
cp /usr/pkgsrc/graphics/libv4l/files/videodev.h
/usr/pkgsrc/graphics/libv4l/work/.buildlink/include/videodev.h
===> Building for libv4l-0.4.3nb2
/usr/bin/make -C libv4lconvert V4L2_LIB_VERSION=0.4.3 all
make[1]: Entering directory
`/usr/pkgsrc/graphics/libv4l/work/libv4l-0.4.3/libv4lconvert'
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o libv4lconvert.o
libv4lconvert.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o tinyjpeg.o tinyjpeg.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o sn9c10x.o sn9c10x.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o pac207.o pac207.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o flip.o flip.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o jidctflt.o jidctflt.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o spca561-decompress.o
spca561-decompress.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o rgbyuv.o rgbyuv.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o spca501.o spca501.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o bayer.o bayer.c
gcc -shared -Wl,-R/usr/pkg/lib -Wl,-soname,libv4lconvert.so.0 -o
libv4lconvert.so.0 libv4lconvert.o tinyjpeg.o sn9c10x.o pac207.o flip.o
jidctflt.o spca561-decompress.o rgbyuv.o spca501.o bayer.o
ln -f -s libv4lconvert.so.0 libv4lconvert.so
make[1]: Leaving directory
`/usr/pkgsrc/graphics/libv4l/work/libv4l-0.4.3/libv4lconvert'
/usr/bin/make -C libv4l2 V4L2_LIB_VERSION=0.4.3 all
make[1]: Entering directory
`/usr/pkgsrc/graphics/libv4l/work/libv4l-0.4.3/libv4l2'
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o libv4l2.o libv4l2.c
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o log.o log.c
gcc -shared -Wl,-R/usr/pkg/lib -Wl,-soname,libv4l2.so.0 -o libv4l2.so.0
libv4l2.o log.o ../libv4lconvert/libv4lconvert.so -lpthread
ln -f -s libv4l2.so.0 libv4l2.so
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -O2 -Wno-error -o v4l2convert.o v4l2convert.c
gcc -shared -Wl,-R/usr/pkg/lib -Wl,-soname,v4l2convert.so.0 -o
v4l2convert.so.0 v4l2convert.o libv4l2.so -lpthread
ln -f -s v4l2convert.so.0 v4l2convert.so
make[1]: Leaving directory
`/usr/pkgsrc/graphics/libv4l/work/libv4l-0.4.3/libv4l2'
/usr/bin/make -C libv4l1 V4L2_LIB_VERSION=0.4.3 all
make[1]: Entering directory
`/usr/pkgsrc/graphics/libv4l/work/libv4l-0.4.3/libv4l1'
gcc -c -MMD  -I../include -I../../../../linux/include
-fvisibility=hidden -fPIC -g -O1 -Wall -Wno-unused -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -o libv4l1.o libv4l1.c
libv4l1.c:60:28: fatal error: linux/videodev.h: No such file or
directory
compilation terminated.
make[1]: *** [libv4l1.o] Error 1
make[1]: Leaving directory
`/usr/pkgsrc/graphics/libv4l/work/libv4l-0.4.3/libv4l1'
make: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/graphics/libv4l
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/libv4l
root@debian:/usr/pkgsrc/graphics/libv4l#

Anyone else seeing this?

Memnon
-- 
/-------------------------------------------\
| SDF and SDF-EU Public Access UNIX System  |
| http://sdf.org   ||   http://sdf-eu.org   |
=============================================



Home | Main Index | Thread Index | Old Index