Hi Paul,<br><br>That worked ok, with a slight alteration.<br><br>Here's all I did:<br>./configure --disable-warnme --prefix=/usr<br>make<br>sudo make install<br>cd plugins/puredata<br>gcc -bundle -undefined suppress -flat_namespace -laubio -L../../src/.libs -o aubio.pd_darwin *.o<br><br>since we are in plugins/puredata we need to go back 2 directories/.<br><br>Aubio plugins are now working very well on OSX.<br><br>Best,<br>Ed<br><br><b><i>Paul Brossier <piem@altern.org></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Ed and all,<br><br>sorry for the lag, back online now, after a few holidays...<br><br>On Mon, Sep 18, 2006 at 07:08:41PM +0100, Ed Kelly wrote:<br>> OK here's what I found.<br>> <br>> The pkg_config problem was solved by installing pkg_config in /usr instead of /usr/local (./configure --prefix=/usr) and the PD object compiled successfully using <br>> gcc
-bundle -undefined suppress -flat_namespace -o aubio.pd_darwin *.o<br><br>arg, i forgot you need to link against the aubio library. something like<br>the following should work:<br><br>gcc -bundle -undefined suppress -flat_namespace -laubio -L../src/.libs -o aubio.pd_darwin *.o<br><br>let me know if that works for you. i will soon update the fix in the<br>bazaar tree and release 0.3.2.<br><br>best, paul<br><br>> <br>> but...<br>> <br>> PD can't load the object. Despite doing a make install, and all the standalone aubio programs installed successfully, PD's output window gives the message:<br>> <br>> link error 0 dyld: /Users/lccuser/Edkelly/Software/Pd-0.39-2.app/Contents/Resources/Scripts/../bin/pd undefined symbols:<br>> _aubio_beattracking_do<br>> _aubio_onsetdetection<br>> _aubio_peakpick_pimrt<br>> _aubio_peakpick_pimrt_wt<br>> <br>> and so on. Then of course:<br>> aubio: can't load library<br>> <br>> So it is not linked to
the libaubio files? I am not sure how to resolve this...<br>> <br>> Best,<br>> Ed<br>> <br>> <br>> Paul Brossier <piem@altern.org> wrote: Hi Ed,<br>> <br>> Thanks for your report.<br>> <br>> On Tue, Aug 15, 2006 at 03:11:53PM +0100, Ed Kelly wrote:<br>> > Hi Paul,<br>> > <br>> > I'm having some problems building the aubio pd<br>> > externals on Mac OSX. I had to set PKG_CONFIG_PATH<br>> > environment variables for the sources for libsndfile,<br>> > libsamplerate and fftw3 manually, then the<br>> > libtoolkludge passes a couple of unrecognized options<br>> > to gcc and ld.<br>> <br>> I think the pkg-config issue as a bug in pkg-config, or maybe a missing<br>> compilation flag to it. If package descriptions get installed by default<br>> in some location, then pkg-config should look for them in that location<br>> by default. There is not much we could do in aubio to solve it
anyway.<br>> <br>> > gcc -shared option is not supported in Apple's gcc<br>> > 3.3, and ld -export_dynamic does not work either. the<br>> > first is documented here:<br>> > http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/Link-Options.html<br>> > but <br>> > I cannot find documentation on the ld option<br>> > -export_dynamic.<br>> <br>> Yes, the PD plugin lacks the correct command line to create the external<br>> on OS X. Reading other external Makefiles, it seems the following<br>> command should create aubio.pd_darwin correctly:<br>> <br>> gcc -bundle -undefined suppress -flat_namespace -o aubio.pd_darwin *.o<br>> <br>> or:<br>> <br>> gcc -bundle -bundle_loader <br>> -flat_namespace -o aubio.pd_darwin *.o<br>> <br>> See also http://lists.puredata.info/pipermail/pd-dev/2003-05/001238.html<br>> <br>> I don't have access to a OS X at the moment. Let us know if
this works for you!<br>> <br>> Thanks, Paul<br>> <br>> <br>> -- <br>> To unsubscribe, send mail to aubio-unsubscribe@piem.org.<br>> <br>> <br>> <br>> <br>> -><br>> -><br>> --><br>> ---><br>> -----><br>> --------><br>> -------------> <br>> ---------------------> <br>> <br>> "Genius is attention to detail" Louis Pasteur<br>> <br>> ---------------------------------<br>> All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine<br></piem@altern.org></blockquote><br><BR><BR>-><br>-><br>--><br>---><br>-----><br>--------><br>-------------> <br>---------------------> <br><br>"Genius is attention to detail" Louis Pasteur<p>
<hr size=1>
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/spam_1gb/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">Inbox full of spam?</a> Get leading spam protection and 1GB storage with All New Yahoo! Mail.