Re: [PD] compiling Pd 0.45 on Linux

2014-02-08 Thread IOhannes m zmölnig
On 02/07/2014 06:06 PM, Max wrote:
 there is no binary in the bin directory after all this.
 any ideas?

with autotools, the binary is called src/pd

gmr
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] compiling Pd 0.45 on Linux

2014-02-07 Thread Miller Puckette
On Sat, Feb 08, 2014 at 02:06:18AM +0900, Max wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I need jack support in Pd, so I am trying to recompile 0.45-4
 - - libtool, libjack0 and libjack-dev are installed.
 I get this:
 
 ./autogen.sh

[thousands of lines deleted :)]

 make[2]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4'
 make[2]: Für das Ziel »all-am« ist nichts zu tun.
 make[2]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4'
 make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4'
 
 
 - 
 
 there is no binary in the bin directory after all this.
 any ideas?
 

The 'automake' system, although apparently vital for preparing Pd for
distributions such as Debian, seems to be far too fragile for non-experts
to use effectively.

You can just make pd by cding to pd/src and typing:

make -f makefile.gnu clean   # (not needed if a clean source tree)
make -f makefile.gnu JACK=true

The makefile.gnu solution is the one I always use.  It's completely
independent of the automake setup.

cheers
Miller

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


Re: [PD] compiling Pd 0.45 on Linux

2014-02-07 Thread Max
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 2014? 02? 08? 02:50, schrieb Miller Puckette:
 On Sat, Feb 08, 2014 at 02:06:18AM +0900, Max wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 I need jack support in Pd, so I am trying to recompile 0.45-4 - -
 libtool, libjack0 and libjack-dev are installed. I get this:
 
 ./autogen.sh
 
 [thousands of lines deleted :)]

:/

 The 'automake' system, although apparently vital for preparing Pd
 for distributions such as Debian, seems to be far too fragile for
 non-experts to use effectively.
 
 You can just make pd by cding to pd/src and typing:
 
 make -f makefile.gnu clean   # (not needed if a clean source
 tree) make -f makefile.gnu JACK=true
 
 The makefile.gnu solution is the one I always use.  It's
 completely independent of the automake setup.

ok, thanks miller, it compiles, but i have no jack support whatsoever.

make -f makefile.gnu JACK=true
test -d ../bin || mkdir -p ../bin
cd ../obj;  cc -Wl,-export-dynamic  -o ../bin/pd g_canvas.o g_graph.o
g_text.o g_rtext.o g_array.o g_template.o g_io.o g_scalar.o
g_traversal.o g_guiconnect.o g_readwrite.o g_editor.o g_all_guis.o
g_bang.o g_hdial.o g_hslider.o g_mycanvas.o g_numbox.o g_toggle.o
g_vdial.o g_vslider.o g_vumeter.o m_pd.o m_class.o m_obj.o m_atom.o
m_memory.o m_binbuf.o m_conf.o m_glob.o m_sched.o s_main.o s_inter.o
s_file.o s_print.o s_loader.o s_path.o s_entry.o s_audio.o s_midi.o
s_utf8.o s_audio_paring.o d_ugen.o d_ctl.o d_arithmetic.o d_osc.o
d_filter.o d_dac.o d_misc.o d_math.o d_fft.o d_fft_mayer.o
d_fftroutine.o d_array.o d_global.o d_delay.o d_resample.o
d_soundfile.o x_arithmetic.o x_connective.o x_interface.o x_midi.o
x_misc.o x_time.o x_acoustics.o x_net.o x_text.o x_gui.o x_list.o
x_array.o x_scalar.o s_midi_oss.o s_audio_alsa.o s_audio_alsamm.o
s_midi_alsa.o s_audio_jack.o s_audio_oss.o  -ldl -lm -lpthread
- -lasound -ljack
test -d ../bin || mkdir -p ../bin
cc -DPD -DHAVE_LIBDL -DHAVE_UNISTD_H -DHAVE_ALLOCA_H
- -DPDGUIDIR=\tcl/\ -D_LARGEFILE64_SOURCE
- -DINSTALL_PREFIX=\/usr/local\ -Wall -W -Wstrict-prototypes
- -Wno-unused -Wno-unused-parameter -Wno-parentheses -Wno-switch
- -DUSEAPI_ALSA -DUSEAPI_JACK -DUSEAPI_OSS -O3 -ffast-math
- -funroll-loops -fomit-frame-pointer -fno-strict-aliasing  -o
../bin/pd-watchdog s_watchdog.c
test -d ../bin || mkdir -p ../bin
cc -DPD -DHAVE_LIBDL -DHAVE_UNISTD_H -DHAVE_ALLOCA_H
- -DPDGUIDIR=\tcl/\ -D_LARGEFILE64_SOURCE
- -DINSTALL_PREFIX=\/usr/local\ -Wall -W -Wstrict-prototypes
- -Wno-unused -Wno-unused-parameter -Wno-parentheses -Wno-switch
- -DUSEAPI_ALSA -DUSEAPI_JACK -DUSEAPI_OSS -O3 -ffast-math
- -funroll-loops -fomit-frame-pointer -fno-strict-aliasing   -o
../bin/pdsend u_pdsend.c
test -d ../bin || mkdir -p ../bin
cc -DPD -DHAVE_LIBDL -DHAVE_UNISTD_H -DHAVE_ALLOCA_H
- -DPDGUIDIR=\tcl/\ -D_LARGEFILE64_SOURCE
- -DINSTALL_PREFIX=\/usr/local\ -Wall -W -Wstrict-prototypes
- -Wno-unused -Wno-unused-parameter -Wno-parentheses -Wno-switch
- -DUSEAPI_ALSA -DUSEAPI_JACK -DUSEAPI_OSS -O3 -ffast-math
- -funroll-loops -fomit-frame-pointer -fno-strict-aliasing   -o
../bin/pdreceive u_pdreceive.c
u_pdreceive.c: In function ?tcpmakeoutput?:
u_pdreceive.c:224:22: warning: ignoring return value of ?write?,
declared with attribute warn_unused_result [-Wunused-result]
 write(1, outbuf, outlen);
  ^
make -C ../extra/bonk~
make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/bonk~'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/bonk~'
make -C ../extra/choice
make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/choice'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/choice'
make -C ../extra/expr~
make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/expr~'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/expr~'
make -C ../extra/fiddle~
make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/fiddle~'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/fiddle~'
make -C ../extra/loop~
make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/loop~'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/loop~'
make -C ../extra/lrshift~
make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/lrshift~'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/lrshift~'
make -C ../extra/pique
make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/pique'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/pique'
make -C ../extra/sigmund~
make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/sigmund~'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Verlasse Verzeichnis 

Re: [PD] compiling Pd 0.45 on Linux

2014-02-07 Thread John Smith
   1. You can reset LANG environment variable for international log, like
   this:
   env LANG= make -f makefile.gnu JACK=true

   2. Show stdout of this:
   ldd ../bin/pd

   3. Any error-messages about jack in stderr of Pd?

   4. Have you tried to run the JACK before Pd?

On 7 February 2014 22:46, Max abonneme...@revolwear.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Am 2014? 02? 08? 02:50, schrieb Miller Puckette:
  On Sat, Feb 08, 2014 at 02:06:18AM +0900, Max wrote:
  -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
  I need jack support in Pd, so I am trying to recompile 0.45-4 - -
  libtool, libjack0 and libjack-dev are installed. I get this:
 
  ./autogen.sh
 
  [thousands of lines deleted :)]

 :/

  The 'automake' system, although apparently vital for preparing Pd
  for distributions such as Debian, seems to be far too fragile for
  non-experts to use effectively.
 
  You can just make pd by cding to pd/src and typing:
 
  make -f makefile.gnu clean   # (not needed if a clean source
  tree) make -f makefile.gnu JACK=true
 
  The makefile.gnu solution is the one I always use.  It's
  completely independent of the automake setup.

 ok, thanks miller, it compiles, but i have no jack support whatsoever.

 make -f makefile.gnu JACK=true
 test -d ../bin || mkdir -p ../bin
 cd ../obj;  cc -Wl,-export-dynamic  -o ../bin/pd g_canvas.o g_graph.o
 g_text.o g_rtext.o g_array.o g_template.o g_io.o g_scalar.o
 g_traversal.o g_guiconnect.o g_readwrite.o g_editor.o g_all_guis.o
 g_bang.o g_hdial.o g_hslider.o g_mycanvas.o g_numbox.o g_toggle.o
 g_vdial.o g_vslider.o g_vumeter.o m_pd.o m_class.o m_obj.o m_atom.o
 m_memory.o m_binbuf.o m_conf.o m_glob.o m_sched.o s_main.o s_inter.o
 s_file.o s_print.o s_loader.o s_path.o s_entry.o s_audio.o s_midi.o
 s_utf8.o s_audio_paring.o d_ugen.o d_ctl.o d_arithmetic.o d_osc.o
 d_filter.o d_dac.o d_misc.o d_math.o d_fft.o d_fft_mayer.o
 d_fftroutine.o d_array.o d_global.o d_delay.o d_resample.o
 d_soundfile.o x_arithmetic.o x_connective.o x_interface.o x_midi.o
 x_misc.o x_time.o x_acoustics.o x_net.o x_text.o x_gui.o x_list.o
 x_array.o x_scalar.o s_midi_oss.o s_audio_alsa.o s_audio_alsamm.o
 s_midi_alsa.o s_audio_jack.o s_audio_oss.o  -ldl -lm -lpthread
 - -lasound -ljack
 test -d ../bin || mkdir -p ../bin
 cc -DPD -DHAVE_LIBDL -DHAVE_UNISTD_H -DHAVE_ALLOCA_H
 - -DPDGUIDIR=\tcl/\ -D_LARGEFILE64_SOURCE
 - -DINSTALL_PREFIX=\/usr/local\ -Wall -W -Wstrict-prototypes
 - -Wno-unused -Wno-unused-parameter -Wno-parentheses -Wno-switch
 - -DUSEAPI_ALSA -DUSEAPI_JACK -DUSEAPI_OSS -O3 -ffast-math
 - -funroll-loops -fomit-frame-pointer -fno-strict-aliasing  -o
 ../bin/pd-watchdog s_watchdog.c
 test -d ../bin || mkdir -p ../bin
 cc -DPD -DHAVE_LIBDL -DHAVE_UNISTD_H -DHAVE_ALLOCA_H
 - -DPDGUIDIR=\tcl/\ -D_LARGEFILE64_SOURCE
 - -DINSTALL_PREFIX=\/usr/local\ -Wall -W -Wstrict-prototypes
 - -Wno-unused -Wno-unused-parameter -Wno-parentheses -Wno-switch
 - -DUSEAPI_ALSA -DUSEAPI_JACK -DUSEAPI_OSS -O3 -ffast-math
 - -funroll-loops -fomit-frame-pointer -fno-strict-aliasing   -o
 ../bin/pdsend u_pdsend.c
 test -d ../bin || mkdir -p ../bin
 cc -DPD -DHAVE_LIBDL -DHAVE_UNISTD_H -DHAVE_ALLOCA_H
 - -DPDGUIDIR=\tcl/\ -D_LARGEFILE64_SOURCE
 - -DINSTALL_PREFIX=\/usr/local\ -Wall -W -Wstrict-prototypes
 - -Wno-unused -Wno-unused-parameter -Wno-parentheses -Wno-switch
 - -DUSEAPI_ALSA -DUSEAPI_JACK -DUSEAPI_OSS -O3 -ffast-math
 - -funroll-loops -fomit-frame-pointer -fno-strict-aliasing   -o
 ../bin/pdreceive u_pdreceive.c
 u_pdreceive.c: In function ?tcpmakeoutput?:
 u_pdreceive.c:224:22: warning: ignoring return value of ?write?,
 declared with attribute warn_unused_result [-Wunused-result]
  write(1, outbuf, outlen);
   ^
 make -C ../extra/bonk~
 make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/bonk~'
 make[1]: Für das Ziel »all« ist nichts zu tun.
 make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/bonk~'
 make -C ../extra/choice
 make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/choice'
 make[1]: Für das Ziel »all« ist nichts zu tun.
 make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/choice'
 make -C ../extra/expr~
 make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/expr~'
 make[1]: Für das Ziel »all« ist nichts zu tun.
 make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/expr~'
 make -C ../extra/fiddle~
 make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/fiddle~'
 make[1]: Für das Ziel »all« ist nichts zu tun.
 make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/fiddle~'
 make -C ../extra/loop~
 make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/loop~'
 make[1]: Für das Ziel »all« ist nichts zu tun.
 make[1]: Verlasse Verzeichnis '/home/max/Code/pd-0.45-4/extra/loop~'
 make -C ../extra/lrshift~
 make[1]: Betrete Verzeichnis '/home/max/Code/pd-0.45-4/extra/lrshift~'
 make[1]: Für das Ziel »all« ist nichts zu tun.
 make[1]: Verlasse Verzeichnis 

Re: [PD] compiling Pd 0.45 on Linux

2014-01-18 Thread Jack
Hello Max,

Did you install libtool ?
++

Jack



Le 18/01/2014 02:09, Max a écrit :
 Hi List,
 I am on Linux Mint 16 Cinnamon 64Bit and i want to compile Pd 0.45. Here
 is my experience:

 pd-0.45-3/
 $ ./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: configure.in: not using Libtool
 autoreconf: running: /usr/bin/autoconf --force
 configure.in:104: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
   If this token and others are legitimate, please use m4_pattern_allow.
   See the Autoconf documentation.
 configure.in:105: error: possibly undefined macro: AC_PROG_LIBTOOL
 autoreconf: /usr/bin/autoconf failed with exit status: 1

 however as suggested in INSTALL.TXT the fallback method works with
 make -f makefile.gnu
 sudo make -f makefile.gnu install
 (once the dependency libasound2-dev is installed)

 yet when I run Pd, I get no sound
 ./pd
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?

 The Pd package from the repositories has the same issue:
 ALSA input error (snd_pcm_open): No such file or directory
 ALSA output error (snd_pcm_open): No such file or directory
 ALSA input error (snd_pcm_open): No such file or directory
 ALSA output error (snd_pcm_open): No such file or directory

 Seems I have a problem with ALSA.
 Anyone has a clue where to start looking for this issue?

 Thanks

 m.





 ___
 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] compiling Pd 0.45 on Linux

2014-01-18 Thread Max
Hi Jack!

allright, libtool was missing indeed, it works now. That info is missing
in INSTALL.txt
Thanks.


Am 2014년 01월 18일 10:23, schrieb Jack:
 Hello Max,
 
 Did you install libtool ?
 ++
 
 Jack
 
 
 
 Le 18/01/2014 02:09, Max a écrit :
 Hi List,
 I am on Linux Mint 16 Cinnamon 64Bit and i want to compile Pd 0.45. Here
 is my experience:

 pd-0.45-3/
 $ ./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: configure.in: not using Libtool
 autoreconf: running: /usr/bin/autoconf --force
 configure.in:104: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
   If this token and others are legitimate, please use m4_pattern_allow.
   See the Autoconf documentation.
 configure.in:105: error: possibly undefined macro: AC_PROG_LIBTOOL
 autoreconf: /usr/bin/autoconf failed with exit status: 1

 however as suggested in INSTALL.TXT the fallback method works with
 make -f makefile.gnu
 sudo make -f makefile.gnu install
 (once the dependency libasound2-dev is installed)

 yet when I run Pd, I get no sound
 ./pd
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?
 oops: ALSA cards not reported in order?

 The Pd package from the repositories has the same issue:
 ALSA input error (snd_pcm_open): No such file or directory
 ALSA output error (snd_pcm_open): No such file or directory
 ALSA input error (snd_pcm_open): No such file or directory
 ALSA output error (snd_pcm_open): No such file or directory

 Seems I have a problem with ALSA.
 Anyone has a clue where to start looking for this issue?

 Thanks

 m.





 ___
 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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] compiling Pd 0.45 on Linux

2014-01-17 Thread Max
Hi List,
I am on Linux Mint 16 Cinnamon 64Bit and i want to compile Pd 0.45. Here
is my experience:

pd-0.45-3/
$ ./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: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.in:104: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
configure.in:105: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1

however as suggested in INSTALL.TXT the fallback method works with
make -f makefile.gnu
sudo make -f makefile.gnu install
(once the dependency libasound2-dev is installed)

yet when I run Pd, I get no sound
./pd
oops: ALSA cards not reported in order?
oops: ALSA cards not reported in order?
oops: ALSA cards not reported in order?
oops: ALSA cards not reported in order?
oops: ALSA cards not reported in order?
oops: ALSA cards not reported in order?

The Pd package from the repositories has the same issue:
ALSA input error (snd_pcm_open): No such file or directory
ALSA output error (snd_pcm_open): No such file or directory
ALSA input error (snd_pcm_open): No such file or directory
ALSA output error (snd_pcm_open): No such file or directory

Seems I have a problem with ALSA.
Anyone has a clue where to start looking for this issue?

Thanks

m.





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