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..
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 portaudioI 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
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
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
On Sat, Jan 18, 2014 at 8:10 PM, IOhannes m zmölnig zmoelnig@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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-01-20 14:52, Alexandros Drymonitis wrote:
My question is off topic,
since you are actually changing the topic (this is now about debian rather than sabayon), it's usually a good idea to change the subject as well (which i just did). while we are at it: please dot't CC me; i read the Pd-list and will happily answer there.
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?
hard to tell. it might be related to (U)EFI boot: is this a dual boot system with w7 or the like?
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.
again this is hard to tell from remote. it *sounds* ok (but then you never know).
I tried the live image to check how it works on my laptop, but there was no Pd installed there (or jack)...
no. usually "puredata" is considered to exotic for a general purpose OS to be available on a generic liveCD. but then: the important things to checkout out with a liveCD are usually within the range, whether the hardware is supported (gfx card, network card, wifi card; sound card) and you should be able to assess this even without puredata installed.
plus this image is 7.2 (i downloaded gnome as I've no idea what's the difference between all these)
different desktops for your taste. personally i prefer xfce, as it is very lightweight (and doesn't get too much into my way).
and on debian's main page you can get 7.3.
but these are *stable* releases of Debian! Debian is huge, and when they talk about *stable* they usually have 24/7 server infrastructure in mind and value stability over actuality: debian 7.3 is a bugfix release for debian-7, which was released in 2013/05; "bugfix" means that you only get security critical updates, no chance of having a puredata in there, that was released after this date.
anyhow, since you most likely don't want to run a 24/7 server system on your laptop, but instead would like to work with up-to-date software, you should choose debian/testing ("jessie").
get yourself a "netinst" image of the "Current daily snaphosts" from [1] (most likely you will want [2]) and a good internet connection.
the default desktop is gnome (but you can choose xfce (or some other) in the boot-menu). once the system is up and running, install "puredata": # aptitude install puredata
fgmasdr IOhannes
PS: in general it is not an overly good idea to do too much distribution hopping. if you are not sure, imho the best thing would be to physically get hold of somebody who is properly familiar with *their* distribution (whatever that is), and let them help you getting your system up and running. esp newbies tend to download each and every distro somebody in some obscure forum points them to. in this respect, me recommending "Debian" was counterproductive. sorry for that. in my last email, i wrote that sabayon is most likely a Debian descendant anyhow. for the record: i just did a check, and it is indeed *not* a derivative of ubuntu (and thus debian), but instead it is derived from gentoo.
PPS: i also said that "debian already comes with puredata-0.45.4". this was misleading insofar, as "Debian wheezy" (aka "Debian 7 through 7.3"; currently "Debian stable") comes with 0.43.2; it's only "Debian jessie" (aka "Debian testing") and newer that have Pd-0.45.4.
[1] https://www.debian.org/devel/debian-installer/ [2] http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-c...