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:
[1] http://aur.archlinux.org/packages.php?ID=44798 [2] http://aur.archlinux.org/packages.php?ID=22509
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
Maybe way off here but that looks like a serious shell error causing the trouble.
You seem to be using sh
Try changing your shell to bash
On Wed, 25 Jan 2012 20:46:54 +0100 Renato rennabh@gmail.com wrote:
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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Jan 25, 2012, at 2:46 PM, Renato wrote:
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
remove pdp from LIB_TARGETS in externals/Makefile and try building everything again.
.hc
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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
"[T]he greatest purveyor of violence in the world today [is] my own government." - Martin Luther King, Jr.
On Wed, 25 Jan 2012 16:42:23 -0500 Hans-Christoph Steiner hans@at.or.at wrote:
On Jan 25, 2012, at 2:46 PM, Renato wrote:
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
remove pdp from LIB_TARGETS in externals/Makefile and try building everything again.
I tried removing that, and got the same error. I kept on removing things till I had only
LIB_TARGETS = hid
(I commented out the long original line and all the following if/else logic for os-specific additions to LIB_TARGETS) and I still get the exact same error...
renato
Renato wrote:
In file included from pix_video.cpp:18:0: ../Pixes/videoV4L.h:43:29: fatal error: linux/videodev.h: No such file or directory
This is because video4linux v1 has been dumped from recent kernels and this Gem is so old. I finally found how I did.
In Pd-0.42.5-extended/packages/Makefile, I add --without-libv4l1 to the Gem compile options:
# gem_install GEM_NAME = Gem $(gem_src)/src/configure: cd $(gem_src)/src && ./autogen.sh
$(gem_src)/src/Gem.dll: $(gem_src)/src/configure
$(gem_src)/src/Gem.pd_linux: $(gem_src)/src/configure
cd $(gem_src)/src && ./configure
--with-pd=$(pd_src) --without-libv4l1 # <--- here
$(MAKE) -C $(gem_src)/src
And don't forget to "make clean" before recompiling !
Hi,
I'm on archlinux, I have pdextended 0.42 and 0.43-nighly up and running.
Renato wrote:
Hi, I'd like to compile pd-extended to use [hid]. I'm on Archlinux
Here's how I do for 0.43:
rsync -av --delete --exclude '.git' --exclude '.svn' rsync://128.238.56.50/distros/pd-extended/ pd-extended/
I then edit pd-extended/packages/linux_make/Makefile and remove the line: OPT_CFLAGS += -mtune=i686 -march=i386 (or at least remove -march=i386) cd pd-extended/packages/linux_make make install PREFIX=/opt/pd-extended-0.43 cd build/usr sudo mkdir /opt/pd-extended-0.43/ sudo cp -r * /opt/pd-extended-0.43/
enjoy !
For pde42, I don't remember the exact steps, sorry.
Cheers, Charlot
On Wed, 25 Jan 2012 23:53:59 +0100 Charles Goyard cg@fsck.fr wrote:
Hi,
I'm on archlinux, I have pdextended 0.42 and 0.43-nighly up and running.
Renato wrote:
Hi, I'd like to compile pd-extended to use [hid]. I'm on Archlinux
Here's how I do for 0.43:
rsync -av --delete --exclude '.git' --exclude '.svn' rsync://128.238.56.50/distros/pd-extended/ pd-extended/
I then edit pd-extended/packages/linux_make/Makefile and remove the line: OPT_CFLAGS += -mtune=i686 -march=i386 (or at least remove -march=i386) cd pd-extended/packages/linux_make make install PREFIX=/opt/pd-extended-0.43 cd build/usr sudo mkdir /opt/pd-extended-0.43/ sudo cp -r * /opt/pd-extended-0.43/
Hi Charles, thank you very much for your help. Unfortunately following your method I'm still getting errors, both with this and 0.42.5 (for which I'm replying you on the AUR since I see you commmented there [1]). Fortunately there's the binary from repo.archlinux.fr, so at least I can get to work now and hope the situation will get better in the future.
kind regards, renato
On Thu, Jan 26, 2012 at 4:42 AM, 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:
[1] http://aur.archlinux.org/packages.php?ID=44798 [2] http://aur.archlinux.org/packages.php?ID=22509
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I was having the same problems. There are pre-compiled packages of 0.42.5 in the following repo:
-m
On Jan 25, 2012, at 9:23 PM, michael noble wrote:
On Thu, Jan 26, 2012 at 4:42 AM, 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:
[1] http://aur.archlinux.org/packages.php?ID=44798 [2] http://aur.archlinux.org/packages.php?ID=22509
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I was having the same problems. There are pre-compiled packages of 0.42.5 in the following repo:
It would be good to have a nightly arch build so this process is easier. Plus having it all packaged helps a lot too. Can anyone take on any of these tasks?
.hc
News is what people want to keep hidden and everything else is publicity. - Bill Moyers
On Thu, 26 Jan 2012 11:23:31 +0900 michael noble looplog@gmail.com wrote:
On Thu, Jan 26, 2012 at 4:42 AM, 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:
[1] http://aur.archlinux.org/packages.php?ID=44798 [2] http://aur.archlinux.org/packages.php?ID=22509
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I was having the same problems. There are pre-compiled packages of 0.42.5 in the following repo:
thanks that's a godsend. Any idea on how I'd get the PKGBUILD that was used?
regards, renato
Hi,
Renato wrote:
I was having the same problems. There are pre-compiled packages of 0.42.5 in the following repo:
thanks that's a godsend. Any idea on how I'd get the PKGBUILD that was used?
It's there: http://afur.archlinux.fr/pkgbuild/pd-extended/PKGBUILD
but it's the same as in AUR.
I think you have to issue a "make clean" before re-building. Anyway pd-extended 0.42 is somewhat broken with recent gcc and linkers.
Cheers, Charlot