On Wed, 25 Jan 2012 20:42:11 +0100 Renato rennabh@gmail.com wrote:
Hi, I'd like to compile pd-extended to use [hid]. I'm on Archlinux, and I'm not having any succes with it - and the errors I'm getting seem to be shared by others Archlinuxers ([1],[2]). With pd-extended 0.42.5 make is stopping with:
[sorry, accidentally clicked send too early]
In file included from pix_video.cpp:18:0: ../Pixes/videoV4L.h:43:29: fatal error: linux/videodev.h: No such file or directory
When compiling from svn instead I'm getting this:
install -p -m 644 examples/$file /home/renato/src/pd-extended-svn/pkg/usr/lib/pd-extended/extra/jmmmp/examples; \
done
test -z "" ||
install -p -m 755 -d /home/renato/src/pd-extended-svn/pkg/usr/lib/pd-extended/extra/jmmmp/manual &&
for file in ; do
install -p -m 644 manual/$file /home/renato/src/pd-extended-svn/pkg/usr/lib/pd-extended/extra/jmmmp/manual;
done
install -p -m 755 -d /home/renato/src/pd-extended-svn/pkg/usr/lib/pd-extended/extra/jmmmp
install -p -m 644 jmmmp-meta.pd
/home/renato/src/pd-extended-svn/pkg/usr/lib/pd-extended/extra/jmmmp
test -z "" || (
install -p -m 644 /home/renato/src/pd-extended-svn/pkg/usr/lib/pd-extended/extra/jmmmp &&
)
/bin/sh: -c: line 2: syntax error near unexpected token )' /bin/sh: -c: line 2:
)'
make[2]: *** [libdir_install] Error 1
make[2]: Leaving directory /home/renato/src/pd-extended-svn/src/pd-extended-build/abstractions/jmmmp' make[1]: *** [jmmmp_install] Error 2 make[1]: Leaving directory
/home/renato/src/pd-extended-svn/src/pd-extended-build/abstractions'
make: *** [abstractions_install] Error 2
make: Leaving directory `/home/renato/src/pd-extended-svn/src/pd-extended-build/packages'
You can see the exact command lines that were given by looking at the file called PKGBUILD linked to in [1] and [2] - you're interested in the "build" function there. The sed lines there seem to be crucial - removing them throws other errors before these (except from the tclpd one in pd-extended-svn which actually has to be commented out)
So, anyone can help us Archlinuxers compile pd-extended?
kind regards, Renato
[1] http://aur.archlinux.org/packages.php?ID=44798 [2] http://aur.archlinux.org/packages.php?ID=22509