Re: [PD] build pd with jack in raspbian on rpi?

2013-10-14 Thread IOhannes m zmölnig
On 2013-10-14 07:13, Julian Brooks wrote:

 Anyway, when typing 'pd' on the command line I get this:
 pd: error while loading shared libraries: libportaudio.so.2: cannot open
 shared object file: No such file or directory

a few possibilities:
#0 refresh your ldcache
 # ldconfig
puredata should have installed all apropriate libraries, but the new
libraries might not yet be known to your system.
`ldconfig` should do the trick (alternatively rebooting will do as well)

#1 properly install portaudio as shipped with Pd (and Pd):
since it seems that you have pd in your PATH, i guess you already
installed Pd with something like:
 # make install
if this did not install portaudio, run the following:
 # make -C portaudio install


#2 disable portaudio:
 $ ./configure --without-portaudio
personally, that's my preferred way, as i don't really see the point of
portaudio (on linux) when Pd supports jack and alsa and oss.

#3 install portaudio from Debian
 # aptitude install libportaudio2
(this will install another version of portaudio as the one you compiled
Pd against (you compiled against the one Pd ships with, and now you are
linking against the one debian ships with; according to the .so-names
this should not be a problem)




since i now read that you managed to get it running by rebooting Pd, i
guess the correct solution was #0.


gfmsrd
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] build pd with jack in raspbian on rpi?

2013-10-14 Thread IOhannes m zmölnig
On 2013-10-14 06:22, Julian Brooks wrote:
 Hey again,
 
 Possible issue:
 
 I've installed libjack-dev and Pd builds fine - great.
 
 I did want to have jackd2 but that doesn't have libjack-dev it has
 libjack-jackd2-0.
 
 Pd doesn't configure with jack when this lib is installed.
 
 Does it make a difference to build Pd with libjack-dev (in effect build
 with jackd1 but run with jackd2)?  I mean I guess I'll know if it's
 something obvious but could there be performance issues.

this is the preferred debian way: build against libjack-dev, and let the
user decide to install jack1 or jack2.
this is possible because the libraries are binary compatible.
if they are not, it's a bug in debian.

gfmrdsa
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] build pd with jack in raspbian on rpi?

2013-10-14 Thread Julian Brooks
Yet again, many thanks for the walkthrough IOhannes, loads of good info in
there, esp like the portaudio stuff.

And apologies again for the not refreshing problem (too early in the
morning to have my brain refreshed).

If only there was a 'mentalconfig' command to go with ldconfig.


On 14 October 2013 11:17, IOhannes m zmölnig zmoel...@iem.at wrote:

 On 2013-10-14 06:22, Julian Brooks wrote:
  Hey again,
 
  Possible issue:
 
  I've installed libjack-dev and Pd builds fine - great.
 
  I did want to have jackd2 but that doesn't have libjack-dev it has
  libjack-jackd2-0.
 
  Pd doesn't configure with jack when this lib is installed.
 
  Does it make a difference to build Pd with libjack-dev (in effect build
  with jackd1 but run with jackd2)?  I mean I guess I'll know if it's
  something obvious but could there be performance issues.

 this is the preferred debian way: build against libjack-dev, and let the
 user decide to install jack1 or jack2.
 this is possible because the libraries are binary compatible.
 if they are not, it's a bug in debian.

 gfmrdsa
 IOhannes


 ___
 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] build pd with jack in raspbian on rpi?

2013-10-13 Thread Julian Brooks
Hey again,

Possible issue:

I've installed libjack-dev and Pd builds fine - great.

I did want to have jackd2 but that doesn't have libjack-dev it has
libjack-jackd2-0.

Pd doesn't configure with jack when this lib is installed.

Does it make a difference to build Pd with libjack-dev (in effect build
with jackd1 but run with jackd2)?  I mean I guess I'll know if it's
something obvious but could there be performance issues.


Regards,

Julian


On 11 October 2013 10:15, Julian Brooks jbee...@gmail.com wrote:

 Great stuff, nice one IOhannes.




 On 11 October 2013 10:03, IOhannes m zmölnig zmoel...@iem.at wrote:

 On 2013-10-11 09:23, Julian Brooks wrote:
  checking for jack_set_xrun_callback in -ljack... no
  checking for jack_set_error_function in -ljack... no

 you have to install libjack-dev.

 a good start to install all/most packages needed to build jack (at least
 with the same features as the puredata packages) is:

 # aptitude build-dep puredata

 fmgaer
 IOhannes


 ___
 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] build pd with jack in raspbian on rpi?

2013-10-13 Thread Julian Brooks
Pd seems to have built though I'm not sure if there would be some kind of
'that's it, your done, nothing to see here, move on' type message.

Anyway, when typing 'pd' on the command line I get this:
pd: error while loading shared libraries: libportaudio.so.2: cannot open
shared object file: No such file or directory

Any ideas anyone?



On 14 October 2013 05:22, Julian Brooks jbee...@gmail.com wrote:

 Hey again,

 Possible issue:

 I've installed libjack-dev and Pd builds fine - great.

 I did want to have jackd2 but that doesn't have libjack-dev it has
 libjack-jackd2-0.

 Pd doesn't configure with jack when this lib is installed.

 Does it make a difference to build Pd with libjack-dev (in effect build
 with jackd1 but run with jackd2)?  I mean I guess I'll know if it's
 something obvious but could there be performance issues.


 Regards,

 Julian


 On 11 October 2013 10:15, Julian Brooks jbee...@gmail.com wrote:

 Great stuff, nice one IOhannes.




 On 11 October 2013 10:03, IOhannes m zmölnig zmoel...@iem.at wrote:

 On 2013-10-11 09:23, Julian Brooks wrote:
  checking for jack_set_xrun_callback in -ljack... no
  checking for jack_set_error_function in -ljack... no

 you have to install libjack-dev.

 a good start to install all/most packages needed to build jack (at least
 with the same features as the puredata packages) is:

 # aptitude build-dep puredata

 fmgaer
 IOhannes


 ___
 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] build pd with jack in raspbian on rpi?

2013-10-13 Thread Julian Brooks
Sorry - to be clear, I did:

cd ~/pure-data (after d/l from git)
./autogen.sh
./configure --enable-jack
make  sudo make install


On 14 October 2013 06:08, Julian Brooks jbee...@gmail.com wrote:

 Pd seems to have built though I'm not sure if there would be some kind of
 'that's it, your done, nothing to see here, move on' type message.

 Anyway, when typing 'pd' on the command line I get this:
 pd: error while loading shared libraries: libportaudio.so.2: cannot open
 shared object file: No such file or directory

 Any ideas anyone?



 On 14 October 2013 05:22, Julian Brooks jbee...@gmail.com wrote:

 Hey again,

 Possible issue:

 I've installed libjack-dev and Pd builds fine - great.

 I did want to have jackd2 but that doesn't have libjack-dev it has
 libjack-jackd2-0.

 Pd doesn't configure with jack when this lib is installed.

 Does it make a difference to build Pd with libjack-dev (in effect build
 with jackd1 but run with jackd2)?  I mean I guess I'll know if it's
 something obvious but could there be performance issues.


 Regards,

 Julian


 On 11 October 2013 10:15, Julian Brooks jbee...@gmail.com wrote:

 Great stuff, nice one IOhannes.




 On 11 October 2013 10:03, IOhannes m zmölnig zmoel...@iem.at wrote:

 On 2013-10-11 09:23, Julian Brooks wrote:
  checking for jack_set_xrun_callback in -ljack... no
  checking for jack_set_error_function in -ljack... no

 you have to install libjack-dev.

 a good start to install all/most packages needed to build jack (at least
 with the same features as the puredata packages) is:

 # aptitude build-dep puredata

 fmgaer
 IOhannes


 ___
 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] build pd with jack in raspbian on rpi?

2013-10-13 Thread Julian Brooks
Rebooted and typing:
pd
works just fine (whoo!)

Apologies for the noise about the previous error message.

Would still like to know about jackd1/2 though?


On 14 October 2013 06:13, Julian Brooks jbee...@gmail.com wrote:

 Sorry - to be clear, I did:

 cd ~/pure-data (after d/l from git)
 ./autogen.sh
 ./configure --enable-jack
 make  sudo make install


 On 14 October 2013 06:08, Julian Brooks jbee...@gmail.com wrote:

 Pd seems to have built though I'm not sure if there would be some kind of
 'that's it, your done, nothing to see here, move on' type message.

 Anyway, when typing 'pd' on the command line I get this:
 pd: error while loading shared libraries: libportaudio.so.2: cannot open
 shared object file: No such file or directory

 Any ideas anyone?



 On 14 October 2013 05:22, Julian Brooks jbee...@gmail.com wrote:

 Hey again,

 Possible issue:

 I've installed libjack-dev and Pd builds fine - great.

 I did want to have jackd2 but that doesn't have libjack-dev it has
 libjack-jackd2-0.

 Pd doesn't configure with jack when this lib is installed.

 Does it make a difference to build Pd with libjack-dev (in effect build
 with jackd1 but run with jackd2)?  I mean I guess I'll know if it's
 something obvious but could there be performance issues.


 Regards,

 Julian


 On 11 October 2013 10:15, Julian Brooks jbee...@gmail.com wrote:

 Great stuff, nice one IOhannes.




 On 11 October 2013 10:03, IOhannes m zmölnig zmoel...@iem.at wrote:

 On 2013-10-11 09:23, Julian Brooks wrote:
  checking for jack_set_xrun_callback in -ljack... no
  checking for jack_set_error_function in -ljack... no

 you have to install libjack-dev.

 a good start to install all/most packages needed to build jack (at
 least
 with the same features as the puredata packages) is:

 # aptitude build-dep puredata

 fmgaer
 IOhannes


 ___
 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


[PD] build pd with jack in raspbian on rpi?

2013-10-11 Thread Julian Brooks
Hi all,

I'm attempting to build pd with jack in raspbian on rpi.

I've got most recent pd from git.

I'm following instructions from INSTALL.txt as I have a memory of IOhannes
mentioning that's working again - and also it's the only way I know of
adding the '--enable-jack' flag.

Or so I thought:
./autogen.sh seems fine but
./configure --enable-jack
Doesn't build pd with jack support.
 (outputs below)

Any ideas anyone?

Regards,

Julian

P.S. Happy to do it 'Miller's way'
 cd to src and hit
'make -f makefile.gnu'. 
but how to add jack support to this method I don't know.


pure@pi ~/pure-data $ ./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
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.
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
autoreconf: Leaving directory `.'

pure@pi ~/pure-data $ ./configure --enable-jack
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
configure: iPhone SDK only available for arm-apple-darwin hosts, skipping
tests
configure: Android SDK only available for arm-linux hosts, skipping tests
checking for style of include used by make... none
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands +=... yes
checking how to convert armv6l-unknown-linux-gnueabihf file names to
armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to
toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking

Re: [PD] build pd with jack in raspbian on rpi?

2013-10-11 Thread IOhannes m zmölnig
On 2013-10-11 09:23, Julian Brooks wrote:
 checking for jack_set_xrun_callback in -ljack... no
 checking for jack_set_error_function in -ljack... no

you have to install libjack-dev.

a good start to install all/most packages needed to build jack (at least
with the same features as the puredata packages) is:

# aptitude build-dep puredata

fmgaer
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] build pd with jack in raspbian on rpi?

2013-10-11 Thread Julian Brooks
Great stuff, nice one IOhannes.




On 11 October 2013 10:03, IOhannes m zmölnig zmoel...@iem.at wrote:

 On 2013-10-11 09:23, Julian Brooks wrote:
  checking for jack_set_xrun_callback in -ljack... no
  checking for jack_set_error_function in -ljack... no

 you have to install libjack-dev.

 a good start to install all/most packages needed to build jack (at least
 with the same features as the puredata packages) is:

 # aptitude build-dep puredata

 fmgaer
 IOhannes


 ___
 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