-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi list,
trying to use the autogen.sh on Linux Mint 17, I get this:
./autogen.sh
autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4/generated -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory portaudio to autoreconf autoreconf: Entering directory
portaudio'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not
'configure.in'
autoreconf: configure.in: tracing
autoreconf: configure.in: subdirectory bindings/cpp not present
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in .'. libtoolize: copying file
./ltmain.sh'
libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding
-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not
'configure.in'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.in: not using Autoheader
autoreconf: configure.in: not using Automake
autoreconf: Leaving directory portaudio' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR,
m4/config'.
libtoolize: copying file m4/config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR,
m4/generated'.
libtoolize: copying file m4/generated/libtool.m4' libtoolize: copying file
m4/generated/ltoptions.m4'
libtoolize: copying file m4/generated/ltsugar.m4' libtoolize: copying file
m4/generated/ltversion.m4'
libtoolize: copying file m4/generated/lt~obsolete.m4' autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') asio/Makefile.am:17: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') asio/Makefile.am:21: warning: source file 'ASIOSDK2/common/asio.cpp' is in a subdirectory, asio/Makefile.am:21: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. asio/Makefile.am:21: warning: source file 'ASIOSDK2/host/asiodrivers.cpp' is in a subdirectory, asio/Makefile.am:21: but option 'subdir-objects' is disabled asio/Makefile.am:21: warning: source file 'ASIOSDK2/host/pc/asiolist.cpp' is in a subdirectory, asio/Makefile.am:21: but option 'subdir-objects' is disabled configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') portmidi/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') portmidi/Makefile.am:9: warning: source file 'pm_common/pmutil.c' is in a subdirectory, portmidi/Makefile.am:9: but option 'subdir-objects' is disabled portmidi/Makefile.am:9: warning: source file 'pm_common/portmidi.c' is in a subdirectory, portmidi/Makefile.am:9: but option 'subdir-objects' is disabled portmidi/Makefile.am:13: warning: source file 'porttime/ptlinux.c' is in a subdirectory, portmidi/Makefile.am:13: but option 'subdir-objects' is disabled portmidi/Makefile.am:13: warning: source file 'pm_linux/pmlinux.c' is in a subdirectory, portmidi/Makefile.am:13: but option 'subdir-objects' is disabled portmidi/Makefile.am:13: warning: source file 'pm_linux/pmlinuxalsa.c' is in a subdirectory, portmidi/Makefile.am:13: but option 'subdir-objects' is disabled portmidi/Makefile.am:20: warning: source file 'porttime/ptmacosx_cf.c' is in a subdirectory, portmidi/Makefile.am:20: but option 'subdir-objects' is disabled portmidi/Makefile.am:20: warning: source file 'pm_mac/pmmac.c' is in a subdirectory, portmidi/Makefile.am:20: but option 'subdir-objects' is disabled portmidi/Makefile.am:20: warning: source file 'pm_mac/pmmacosxcm.c' is in a subdirectory, portmidi/Makefile.am:20: but option 'subdir-objects' is disabled portmidi/Makefile.am:27: warning: source file 'porttime/porttime.c' is in a subdirectory, portmidi/Makefile.am:27: but option 'subdir-objects' is disabled portmidi/Makefile.am:27: warning: source file 'porttime/ptwinmm.c' is in a subdirectory, portmidi/Makefile.am:27: but option 'subdir-objects' is disabled portmidi/Makefile.am:27: warning: source file 'pm_win/pmwin.c' is in a subdirectory, portmidi/Makefile.am:27: but option 'subdir-objects' is disabled portmidi/Makefile.am:27: warning: source file 'pm_win/pmwinmm.c' is in a subdirectory, portmidi/Makefile.am:27: but option 'subdir-objects' is disabled src/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:115: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory
.'
HI all -
I'm not sure, but the output your'e getting might mean that the thing succeeded.
(Anyhow, to build Pd you also have the option to do something far simpler: cd to pd/src and make -f makefile.gnu)
cheers Miller
On Tue, Jun 24, 2014 at 03:50:09PM +0200, Max via Pd-list wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/24/2014 07:01 PM, Miller Puckette wrote:
Indeed, following ./configure and make there is a binary in the directory src (sic!) but with two issues: 1. It failed to detect Jack, and 2. when I run this i get the following
disabling real-time priority due to missing pd-watchdog (/home/pd-0.45-5/src/bin/pd-watchdog) Error in startup script: couldn't read file "/home/pd-0.45-5/src/tcl//pd-gui.tcl": no such file or directory
(Anyhow, to build Pd you also have the option to do something far simpler: cd to pd/src and make -f makefile.gnu)
okay, I'm not lucky there either:
make -f makefile.gnu cc -DPD -DHAVE_LIBDL -DHAVE_UNISTD_H -DHAVE_ALLOCA_H
../obj/s_audio_alsa.o s_audio_alsa.c s_audio_alsa.c:11:28: fatal error: alsa/asoundlib.h: No such file or directory #include <alsa/asoundlib.h> ^ compilation terminated. make: *** [s_audio_alsa.o] Error 1
Cheers Max
(....)
You need development files for the things you want to have compiled in (jack, alsa) usually you find them for your distro in the package manager you use.
Am 24.06.2014 um 19:15 schrieb Max via Pd-list pd-list@lists.iem.at:
It looks like you might be missing some libraries, specifically alsa and tcl/tk. Does mint use apt-get for packages or is it yum? I have no idea. Either way, use your package manager to download and install the proper packages.
sudo yum install tcl tk
does it on distros using yum.
Looking at the output of the .autogen.sh it appears that autogen is choosing portaudio and portmidi to host audio and midi. The makefile.gnu wants alsa and oss by default. This is a little funny because it seems like mint would ship with alsa. Again, I don't know about mint. Alsa could be there, but in an unusual directory. You may have to set your system's environment variables to include whichever director alsa lives in. I think the variable is C_INCLUDE_PATH, but don't hold me to that. Running
pkg-config --cflags alsa
should tell you where alsa is. On my computer it is in /usr/local/lib.
Also, if you want to build with jack, hit
make JACK=true -f makefile.gnu
Again, jack must be installed and somewhere your c compiler knows about.
Good luck!
On 06/24/2014 10:15 AM, Max via Pd-list wrote:
On 06/24/2014 07:15 PM, Max via Pd-list wrote:
correct. you only get a number of warnings (actually afaict, you only get two warnings but they keep being retriggered)
Indeed, following ./configure and make there is a binary in the directory src (sic!)
is this a problem?
autotools will - by design - create all (final) output files (like binaries, or libraries) in *their* source directory (or below).
but with two issues: 1. It failed to detect Jack,
this is by design: historically Pd has never auto-detected jack, you always had to manually use "--enable-jack".
well yes, the build-system is really optimized to create "installed" binaries. if you do not want to run "make install" (nor "make install DESTDIR=/home/pd/0.45.5"), you could do a quick symlink hack, so Pd can find everything: $ cd src $ ln -s ../tcl/ . $ ln -s ../src/ .
in any case, since mint is based on ubuntu, which is based on debian, you should have fairly recent Pd-packages anyhow: Debian (testing) currently ships 0.45-4 (this reminds me, that i should update the debian package).
if your distro ships an older version you can do: $ dget http://ftp.de.debian.org/debian/pool/main/p/puredata/puredata_0.45.4-2.dsc $ cd puredata-0.45.4/ $ sudo aptitude install devscripts $ sudo mk-build-deps -i -r debian/control $ dpkg-buildpackage -rfakeroot
this will create the puredata package(s) using the autotools method. you can then install it using: $ sudo dpkg -i ../puredata*_0.45.4-2_*.deb
fmsadr IOhannes
2014-06-24 19:15 GMT+02:00 Max via Pd-list pd-list@lists.iem.at:
sudo apt-get install libasound2-dev worked for me. gr, Tim
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
OK, thanks everyone for the details.. I was about to add some of that info to the wiki. Which page would be more suitable: http://puredata.info/docs/developer/Debian/?searchterm=compile%20make or http://puredata.info/docs/developer/BuildingPd
On 06/25/2014 10:48 AM, IOhannes m zmölnig via Pd-list wrote: