Re: [PD] Compiling Pd in Sabayon
On Sat, Jan 18, 2014 at 8:10 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 01/16/2014 11:50 AM, Alexandros Drymonitis wrote: Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, ok, so there are a number of things here. the first thing you should always do when you are trying to compile Pd on a debian derivative (i don't know sabayon-14.01, but it sounds very much like a ubuntu derivative, which in turn is a debian derivative), is to install all the stuff Debian uses to build the puredata package. $ apt-get build-dep puredata it seems that the PKG_CHECK_MODULES macro has not been expanded in the configure file, which most likely means that you have ignored (or overseen) an error when running autogen.sh. you must install the `pkg-config` package, so that autotools know what to do with the PKG_CHECK_MODULES macro. as roman has noticed, th is not really Pd's configure but the one from portaudio. pkg-config will not be installed with the above apt-get command, because Debian completely disables the portaudio that comes with Pd (and uses the one installed in the portaudio19-dev package). in any case, you can disable portaudio, with the --disable-portaudio flag. as roman has also pointed out, this will only disable building portaudio, but will still try to run pa's configure (which is the one that fails). you can disable recursive configure invocation by adding the --no-recursion flag to configure. $ ./configure --disable-portaudio --disable-portmidi --no-recursion plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no nothing wrong here. I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header i don't know anything about this. but i guess it's not problematic (and in any case would only be related to i18n; so if you don't absolutely need a greek pd, i would ignore these warnings). fgmadsr IOhannes PS: debian already comes with puredata-0.45.4 My question is off topic, but since you mentioned it I'll write it here. I downloaded a liveCD image from herehttp://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/but during installation it got stuck at installing the grub boot loader. It was unable to install it to any partition of my hard drive (even the master boot record). Anyone knows why this happens? Also, when setting up the partitions, I assigned the free space I have for Linux to Ext4. I really don't know if this is what I'm supposed to do, but it was the first choice, and it was already chosen. I tried the live image to check how it works on my laptop, but there was no Pd installed there (or jack)...plus this image is 7.2 (i downloaded gnome as I've no idea what's the difference between all these) and on debian's main page you can get 7.3. I guess this should go to some debian forum, but maybe IOhannes knows better about the combination of debian and Pd.. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Compiling Pd in Sabayon
On 01/16/2014 11:50 AM, Alexandros Drymonitis wrote: Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, ok, so there are a number of things here. the first thing you should always do when you are trying to compile Pd on a debian derivative (i don't know sabayon-14.01, but it sounds very much like a ubuntu derivative, which in turn is a debian derivative), is to install all the stuff Debian uses to build the puredata package. $ apt-get build-dep puredata it seems that the PKG_CHECK_MODULES macro has not been expanded in the configure file, which most likely means that you have ignored (or overseen) an error when running autogen.sh. you must install the `pkg-config` package, so that autotools know what to do with the PKG_CHECK_MODULES macro. as roman has noticed, th is not really Pd's configure but the one from portaudio. pkg-config will not be installed with the above apt-get command, because Debian completely disables the portaudio that comes with Pd (and uses the one installed in the portaudio19-dev package). in any case, you can disable portaudio, with the --disable-portaudio flag. as roman has also pointed out, this will only disable building portaudio, but will still try to run pa's configure (which is the one that fails). you can disable recursive configure invocation by adding the --no-recursion flag to configure. $ ./configure --disable-portaudio --disable-portmidi --no-recursion plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no nothing wrong here. I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header i don't know anything about this. but i guess it's not problematic (and in any case would only be related to i18n; so if you don't absolutely need a greek pd, i would ignore these warnings). fgmadsr IOhannes PS: debian already comes with puredata-0.45.4 signature.asc Description: OpenPGP digital signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Compiling Pd in Sabayon
Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)' configure: error: ./configure failed for portaudio I checked line 15417 in configure, but doesn't make any sense to me, unfortunately.. plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header Don't know if this helps, the messages from configure are quite a lot, I could post them if it's more helpful. I have Jack1 installed (there might be some issues there with memory allocation, but that should go to Jack's list, don't know if this influences Pd's compilation) and ALSA. I've been posting a lot on this Linux and Pd issue of mine lately, but I do wanna give this combination a try...sorry if I irritate anyone.. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Compiling Pd in Sabayon
This is not really an answer (of course it would be nice if the automake think worked!) but speaking for my self, I only compile Pd the 'dumb' way: cd pd/srcv make -f makefile.gnu (If you want jack support you have to throw 'make' a flag to enble it). cheers Miller On Thu, Jan 16, 2014 at 12:50:15PM +0200, Alexandros Drymonitis wrote: Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)' configure: error: ./configure failed for portaudio I checked line 15417 in configure, but doesn't make any sense to me, unfortunately.. plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header Don't know if this helps, the messages from configure are quite a lot, I could post them if it's more helpful. I have Jack1 installed (there might be some issues there with memory allocation, but that should go to Jack's list, don't know if this influences Pd's compilation) and ALSA. I've been posting a lot on this Linux and Pd issue of mine lately, but I do wanna give this combination a try...sorry if I irritate anyone.. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Compiling Pd in Sabayon
On Don, 2014-01-16 at 12:50 +0200, Alexandros Drymonitis wrote: Having had some problems with audio drop outs in Ubuntu, I am now giving Sabayon 14.01 a try. I'm trying to compile Pd, ./autogen.sh seemed to work fine, but when I type ./configure --enable-jack things go wrong. At the end of configure I get these messages: ./configure: line 15417: syntax error near unexpected token `JACK,' ./configure: line 15417: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)' configure: error: ./configure failed for portaudio Actually, the configure that failed is the one for portaudio, not the one for Pd. I _believe_ it should be possible to compile and use Pd without portaudio. Pd's configure script has a flag --disable-portaudio, but it seems using it does not suppress the execution of portaudio's configure script (here on Ubuntu 12.04 with newest git, at least). I'd try it anyway. The above error you posted doesn't tell you anything about Pd's jack support. To see whether Pd's configure found jack you need to look much further up in the configure output, certainly above a line that says: === configuring in portaudio (/some/path/portaudio) There you should find something like: checking for jack_set_xrun_callback in -ljack... yes checking for jack_set_error_function in -ljack... yes I checked line 15417 in configure, but doesn't make any sense to me, unfortunately.. I don't know why portaudio's configure fails like this on Sabayon. plus some other stuff that don't seem write (out of intuition, not knowledge or experience) for example: checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking for _oss_ioctl in -lossaudio... no I find the exact same lines in the output of my ./configure and everything is detected correctly and the resulting binary is working fine. Those lines do not necessarily indicate a failure. I also got lots of warnings when I typed make, like: msgfmt --check --tcl --locale=af -d . af.po af.po:6: warning: header field 'Language' missing in header It's only a warning. I'd ignore it. It probably has to do with localization of some texts (probably menus?) Don't know if this helps, the messages from configure are quite a lot, I could post them if it's more helpful. I have Jack1 installed When compiling software that is dependent on other software, it is usually not enough to install just the binaries of the other software. You need to also install the so-called headers of those other software. In Debian, packages delivering the header files have usually the '-dev' suffix in their name. So for compiling against Jack, you certainly need to have libjack-jackd2-dev or libjack0.100.0-dev installed. I don't know about Sabayon. If Sabayon is like Gentoo and all software you use is compiled on your box, then you might already have the necessary files installed. (there might be some issues there with memory allocation, but that should go to Jack's list, don't know if this influences Pd's compilation) and ALSA. I've been posting a lot on this Linux and Pd issue of mine lately, but I do wanna give this combination a try...sorry if I irritate anyone.. I don't think you do. Certainly not me. If someone has to go on an odyssey like you, it's good to have it documented somewhere, be it a mailing list. Something things are getting really cumbersome and you are most likely not alone experiencing that. You never know what details might prove useful for someone else. Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list