On 2017-05-04 13:30, Roman Haefeli wrote: > Hey all > > I'm trying to compile current Pd for Mac on a 10.11.6 machine. And I'm > stuck at linking stage: > > /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -weak_framework > Jackmp -L/usr/local/lib -o pd pd-d_arithmetic.o pd-d_array.o pd-d_ctl.o > pd-d_dac.o pd-d_delay.o pd-d_fft.o pd-d_filter.o pd-d_global.o pd-d_math.o > pd-d_misc.o pd-d_osc.o pd-d_resample.o pd-d_soundfile.o pd-d_ugen.o > pd-g_all_guis.o pd-g_array.o pd-g_bang.o pd-g_canvas.o pd-g_clone.o > pd-g_editor.o pd-g_graph.o pd-g_guiconnect.o pd-g_hdial.o pd-g_hslider.o > pd-g_io.o pd-g_mycanvas.o pd-g_numbox.o pd-g_readwrite.o pd-g_rtext.o > pd-g_scalar.o pd-g_template.o pd-g_text.o pd-g_toggle.o pd-g_traversal.o > pd-g_vdial.o pd-g_vslider.o pd-g_vumeter.o pd-m_atom.o pd-m_binbuf.o > pd-m_class.o pd-m_conf.o pd-m_glob.o pd-m_memory.o pd-m_obj.o pd-m_pd.o > pd-m_sched.o pd-s_audio.o pd-s_entry.o pd-s_file.o pd-s_inter.o pd-s_loader.o > pd-s_main.o pd-s_midi.o pd-s_path.o pd-s_print.o pd-s_utf8.o pd-x_acoustics.o > pd-x_arithmetic.o pd-x_array.o pd-x_connective.o pd-x_gui.o pd-x_interface.o > pd-x_list.o pd-x_midi.o pd-x_misc.o pd-x_net.o pd-x_scalar.o pd-x_text.o > pd-x_time.o pd-x_vexp.o pd-x_vexp_fun.o pd-x_vexp_if.o pd-s_audio_jack.o > pd-s_audio_pa.o pd-s_audio_paring.o pd-s_midi_pm.o pd-d_fft_fftsg.o > ../portaudio/libportaudio.la ../portmidi/libportmidi.la -lpthread -ldl > -framework CoreAudio -framework CoreMIDI -framework AudioUnit -framework > AudioToolbox -framework Carbon -framework CoreFoundation -framework Carbon > -ldl -lm -lpthread > libtool: link: g++ -g -O2 -weak_framework Jackmp -o pd pd-d_arithmetic.o > pd-d_array.o pd-d_ctl.o pd-d_dac.o pd-d_delay.o pd-d_fft.o pd-d_filter.o > pd-d_global.o pd-d_math.o pd-d_misc.o pd-d_osc.o pd-d_resample.o > pd-d_soundfile.o pd-d_ugen.o pd-g_all_guis.o pd-g_array.o pd-g_bang.o > pd-g_canvas.o pd-g_clone.o pd-g_editor.o pd-g_graph.o pd-g_guiconnect.o > pd-g_hdial.o pd-g_hslider.o pd-g_io.o pd-g_mycanvas.o pd-g_numbox.o > pd-g_readwrite.o pd-g_rtext.o pd-g_scalar.o pd-g_template.o pd-g_text.o > pd-g_toggle.o pd-g_traversal.o pd-g_vdial.o pd-g_vslider.o pd-g_vumeter.o > pd-m_atom.o pd-m_binbuf.o pd-m_class.o pd-m_conf.o pd-m_glob.o pd-m_memory.o > pd-m_obj.o pd-m_pd.o pd-m_sched.o pd-s_audio.o pd-s_entry.o pd-s_file.o > pd-s_inter.o pd-s_loader.o pd-s_main.o pd-s_midi.o pd-s_path.o pd-s_print.o > pd-s_utf8.o pd-x_acoustics.o pd-x_arithmetic.o pd-x_array.o pd-x_connective.o > pd-x_gui.o pd-x_interface.o pd-x_list.o pd-x_midi.o pd-x_misc.o pd-x_net.o > pd-x_scalar.o pd-x_text.o pd-x_time.o pd-x_vexp.o pd-x_vexp_fun.o > pd-x_vexp_if.o pd-s_audio_jack.o pd-s_audio_pa.o pd-s_audio_paring.o > pd-s_midi_pm.o pd-d_fft_fftsg.o -Wl,-bind_at_load -L/usr/local/lib > ../portaudio/.libs/libportaudio.a ../portmidi/.libs/libportmidi.a -framework > CoreAudio -framework CoreMIDI -framework AudioUnit -framework AudioToolbox > -framework Carbon -framework CoreFoundation -ldl -lm -lpthread > ld: framework not found Jackmp > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[2]: *** [pd] Error 1 > make[1]: *** [all-recursive] Error > > > I got jack from homebrew. > > This is how I try to compile Pd: > > $ ./autogen.sh > $ ./configure --enable-jack > $ make -j > > Interestingly, also Pd-0.47-1.app can't find jack. When I try to switch > audio to jack, I get the following message in the Pd console: > > Can't open Jack (it seems not be installed on this Mac) > > How does Pd detect whether jack is installed and running?
i think (on OSX) it relies on the Jackmp.framework (available from [1], though i believe newer versions can be found at [2]) to be installed (and does weak linking, so it can work even if the framework is not installed). i also think that homebrew does not install the jack.framework, but rather some traditional libjack.so. Pd's configure.ac hardcodes this into src/Makefile.am, which makes it somehow hard to override :-( fgmas5r IOhannes [1] http://jackosx.com [2] https://jackaudio.github.io
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pd-dev mailing list [email protected] https://lists.puredata.info/listinfo/pd-dev
