On Jun 27, 2017, at 9:18 AM, pd-list-request@lists.iem.at wrote:
I'm there
./autogen.sh <— you only need to run this if the configure script is not in the distribution (aka cloned from Github)
so, I cloned from github, which means I need to do this, right? So, I do it, and this is what I get: "./autogen.sh: line 21: autoreconf: command not found"
and I'm stuck already :/
./configure
yeah, moving on, doesn't work, I get "./configure: No such file or directory" - proving I really needed "./autogen.sh"
well, any ideas?
thanks
You are missing autoconf which is not installed with the command line tools. This is fine. Users are not expected to have the "autotools" in order to build an autotools project. This is the same as on Linux distress except that said tools are installed with the "build-essentials" while they are not on macOS.
These autogenerated scripts are not added to the git repo as they likely change all the time and should be generated instead without checking them in.
There are two ways to generate the configure script & makefiles (I recommend #1 for now):
I (or another developer/maintainer) create a distribution zip which has the configure script & makefiles already generated. This is equivalent to downloading source release. I've generated a distribution snapshot for you at http://docs.danomatika.com/pdbuilds/ http://docs.danomatika.com/pdbuilds/. Download the pd-0.47.1-* zip, unpack, and run your build from it's directory. As a note, once an autotools project is configured, you can create a distribution zip using:
make dist
If you want to build from a clone from Github, you can install autoconf, automaker, & libtool, then the autopen script will work (this really only makes sense for developers). Easiest way to do this is to use Homebrew https://brew.sh/. Once HB is installed:
brew install autoconf automake libtool
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
2017-06-27 6:06 GMT-03:00 Dan Wilcox danomatika@gmail.com:
- If you want to build from a clone from Github, you can install
autoconf, automaker, & libtool, then the autopen script will work (this really only makes sense for developers).
Well, I'm attempting to be considered a developer :)
Easiest way to do this is to use Homebrew https://brew.sh. Once HB is installed:
brew install autoconf automake libtool
yeah, I had HB, so I did it, tried this, and it all worked fine.
thanks for all your detailed help Dan, you're the best ;)
On Jun 29, 2017, at 7:20 PM, Alexandre Torres Porres porres@gmail.com wrote:
Well, I'm attempting to be considered a developer :)
Good. I just wanted to point out the distinction and that, ideally, people don't need all the details from HB in order to build. The easier it is to build pd, the more can, and the more that can chip in to test and fix things.
Easiest way to do this is to use Homebrew https://brew.sh/. Once HB is installed:
brew install autoconf automake libtool
yeah, I had HB, so I did it, tried this, and it all worked fine.
thanks for all your detailed help Dan, you're the best ;)
One other note is that if you want to build the translations, you need to install & link gettext:
brew install gettext
brew link gettext
When you run configure, you should see a line in the printout that says "localizations: yes" which confirms translations are being built.
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/