I did just comment stuff out to get it working, but I thought there might be something like: debuild --package=pd-externals
yes, this and which version of Debian are you working on. (There is no build depend on fluidsynth included in the packageing yet)
I am using Debian stable (Woody) with DeMuDI, and GNOME 2.2/XF86 4.2 from Sid. I attached my sources.list.
The first error I get is to do with oggamp~. I fixed this by adding -DUNIX to build/linux/Makefile (I just commited this fix):
gcc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -I. -I.. -I../include -o "oggamp~.o" -c "../src/oggamp~.c" In file included from ../src/oggamp~.c:1: ../src/../../pdogg/oggamp~/oggamp~.c:55: io.h: No such file or directory ../src/../../pdogg/oggamp~/oggamp~.c:56: winsock.h: No such file or directory ../src/../../pdogg/oggamp~/oggamp~.c:57: winbase.h: No such file or directory make[1]: *** [oggamp~.pd_linux] Error 1 make[1]: Leaving directory `/tmp/externals/build/linux' make: *** [build-stamp] Error 2
then I got this, which I got around by deleting oggread~.c from build/src:
gcc -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -I. -I.. -I../include -o "oggread~.o" -c "../src/oggread~.c" In file included from ../src/oggread~.c:1: ../src/../../pdogg/oggread~/oggread~.c: In function `oggread_decode_input': ../src/../../pdogg/oggread~/oggread~.c:123: warning: passing arg 3 of `ov_read_float' makes pointer from integer without a cast ../src/../../pdogg/oggread~/oggread~.c:123: too many arguments to function `ov_read_float' ../src/../../pdogg/oggread~/oggread~.c:115: warning: `ret' might be used uninitialized in this function ../src/../../pdogg/oggread~/oggread~.c: In function `oggread_open': ../src/../../pdogg/oggread~/oggread~.c:295: warning: ordered comparison of pointer with integer zero make[1]: *** [oggread~.pd_linux] Error 1 make[1]: Leaving directory `/tmp/externals/build/linux' make: *** [build-stamp] Error 2
But with fix you just submitted, plus compiling and installing fluidsynth from source, it compiles now. It would be nice to be able to compile pd-externals .deb without having to install fluidsynth, but I can live with commenting out things to make it work.
.hc
zen \ \ \[D[D[D[D