Hi,
Trying to compile Pd-vanilla on Mac OS X 10.6.8 (from the SourceForge master branch) i get an error in the configure process.
./autogen.sh ./configure
...
=== configuring in portaudio (/Users/nicolas/temp/pd/portaudio) configure: running /bin/sh ./configure '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure: error: cannot run /bin/sh ./config.sub configure: error: ./configure failed for portaudio
...
It seems related to missing config.sub file but i have no idea how to fix it for now. Thanks for any help.
I join complete outputs attached.
Gmail Google+ https://plus.google.com/app/basic?nopromo=1&source=mog&gl=us https://mail.google.com/mail/x/?source=mog&gl=us Calendar https://www.google.com/calendar/gpcal?source=mog&gl=us Web http://www.google.com/?source=mog&gl=us more 'Compiling vanilla' [PD-dev] Configure error while compiling Pd-vanilla on 10.6 PureData N nicolas.danet@free.fr to pd-dev 5 days ago Details Hi,
Trying to compile Pd-vanilla on Mac OS X 10.6.8 (from the SourceForge master branch) i get an error in the configure process.
./autogen.sh ./configure
...
=== configuring in portaudio (/Users/nicolas/temp/pd/portaudio) configure: running /bin/sh ./configure '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure: error: cannot run /bin/sh ./config.sub configure: error: ./configure failed for portaudio
...
It seems related to missing config.sub file but i have no idea how to fix it for now. Thanks for any help.
I join complete outputs attached. 2 attachments https://mail.google.com/mail/u/0/s/?view=att&th=14f97b831978521e&attid=0.1&disp=attd&safe=1&zw configure.txt https://mail.google.com/mail/u/0/s/?view=att&th=14f97b831978521e&attid=0.1&disp=attd&safe=1&zw · Print http://www.google.com/cloudprint/client/mobile.html?source=sp&user=0&hl=en&title=configure.txt&msg=14f97b831978521e&attid=0.1 https://mail.google.com/mail/u/0/s/?view=att&th=14f97b831978521e&attid=0.2&disp=attd&safe=1&zw autogen.txt https://mail.google.com/mail/u/0/s/?view=att&th=14f97b831978521e&attid=0.2&disp=attd&safe=1&zw · Print http://www.google.com/cloudprint/client/mobile.html?source=sp&user=0&hl=en&title=autogen.txt&msg=14f97b831978521e&attid=0.2 M Mike McGonagle to nicolas.danet@free.fr 0 minutes ago Details I'm trying to compile vanilla on 10.6.8 as well, but I get a whole different error. I can copy the messages as I'm not on my computer at the moment, but I did notice that the autogen/configure does target 10.8, not 10.6.8. It does actually start to compile the source code, but it can't seem to find a symbol for "_find_default_device", and it suggests another symbol of "_pm_find_default_device".
Is it possible to retarget the platform to 10.6.8? Or does the latest version only work on later versions of OS X?
Thanks,
Mike
On Friday, September 4, 2015, nicolas.danet@free.fr wrote:
Hi,
Trying to compile Pd-vanilla on Mac OS X 10.6.8 (from the SourceForge master branch) i get an error in the configure process.
./autogen.sh ./configure
...
=== configuring in portaudio (/Users/nicolas/temp/pd/portaudio) configure: running /bin/sh ./configure '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. configure: error: cannot run /bin/sh ./config.sub configure: error: ./configure failed for portaudio
...
It seems related to missing config.sub file but i have no idea how to fix it for now. Thanks for any help.
I join complete outputs attached.
On 09/04/2015 11:36 AM, nicolas.danet@free.fr wrote:
It seems related to missing config.sub file but i have no idea how to fix it for now. Thanks for any help.
config.sub should be automatically generated when running ./autogen.sh.
iirc, OSX shipped a somewhat broken (and/or outdated) version of autotools.
which version of autotools do you have? $ autoreconf --version $ autoconf --version $ automake --version $ aclocal --version
maybe it's just that ./autogen.sh does not re-generate the files in the sub-project. try: $ cd portaudio $ autoreconf -fiv $ cd -
after than continue with ./configure.
gfmadsr IOhannes
Hi,
autoreconf (GNU Autoconf) 2.61 autoconf (GNU Autoconf) 2.61 automake (GNU automake) 1.10 aclocal (GNU automake) 1.10
By running autoreconf then configure in portaudio folder i get the same problem. With original (pa_stable_v19_20140130) ditto. Note that running configure on pa_stable_v19_20140130 works fine out of the box, but fails if autoreconf is launched before. It seems that on my machine the config.sub and condig.guess files are not regenerated.
Anyway i use the makefile.mac approach now, that works fine.
----- Mail d'origine ----- De: IOhannes m zmölnig zmoelnig@iem.at À: pd-dev@lists.iem.at Envoyé: Wed, 09 Sep 2015 23:05:00 +0200 (CEST) Objet: Re: [PD-dev] Configure error while compiling Pd-vanilla on 10.6
On 09/04/2015 11:36 AM, nicolas.danet@free.fr wrote:
It seems related to missing config.sub file but i have no idea how to fix it for now. Thanks for any help.
config.sub should be automatically generated when running ./autogen.sh.
iirc, OSX shipped a somewhat broken (and/or outdated) version of autotools.
which version of autotools do you have? $ autoreconf --version $ autoconf --version $ automake --version $ aclocal --version
maybe it's just that ./autogen.sh does not re-generate the files in the sub-project. try: $ cd portaudio $ autoreconf -fiv $ cd -
after than continue with ./configure.
gfmadsr IOhannes
On 2015-09-10 08:43, nicolas.danet@free.fr wrote:
autoreconf (GNU Autoconf) 2.61 autoconf (GNU Autoconf) 2.61 automake (GNU automake) 1.10 aclocal (GNU automake) 1.10
i think these are simply way too old.
it seems that while (re)generating the build-scripts when running ./autogen.sh, the oldish automake removes the pre-existing config.sub without generating a new one (it seems that newer versions of automake don't touch the config.sub). a simple fix would be to restore the deleted file(s) after running ./autogen.sh
$ ./autogen.sh $ git checkout portaudio/config.guess $ git checkout portaudio/config.sub
however, the build will still fail, if you don't have pkg-config installed.
i'd suggest installing newer versions of autotools, automake, and pkt-config using something like homebrew.
gmasdr IOhannes
PS: or use makefile.mac