<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 14, 2009, at 11:13 AM, Rich E wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Ran into problems right after starting the program... don't know why they weren't there before, but..<br><br>If I try running pd from /usr/local/bin via 'make install', I get the following error:<br><br>Error in startup script: couldn't read file "/usr/local/lib/pd/bin/pd-gui.tcl": no such file or directory<br> <br>But the tcl file is there, don't know why it can't be found.<br></blockquote><div><br></div><div>I just tried 'make install' on Mac OS X 10.5 and it worked fine for me. &nbsp;Both 'pd' alone and '/usr/local/bin/pd'</div><br><blockquote type="cite">Portaudio is failing at startup (as I said before, there are still many deprecation warnings as well, although it compiles):<br><br>Richard-Eakins-MacBook-Pro:src richardeakin$ ./pd<br> -------------------------------pd-gui.tcl-----------------------------------<br>Pt_Start() called<br>Assertion failed: (sizeof( UInt32 ) == sizeof( long )), function ringBufferIOProc, file src/hostapi/coreaudio/pa_mac_core.c, line 1722.<br> Pd: signal 6<br>closing audio...<br>Abort trap<br><br>Apparently that function isn't 64bit :)<br></blockquote><div><br></div><div>Seems like a portaudio bug, it would be good to report it there.</div><br><blockquote type="cite">Pd seems to work with Jack though, so I can test it through that (this is how I normally run my patches in linux anyway).<br> <br>A question about settings:&nbsp; where are they stored in OS X if I compile from source?&nbsp; I know Pd-extended works with the plist system, but how about in the pd-gui-rewrite?<br></blockquote><div><br></div><div>pd-gui-rewrite is roughly Pd-vanilla 0.43, so treat it accordingly.</div><div><br></div><div>.hc</div><div><br></div><br><blockquote type="cite"><br>Rich <br><br><br><div class="gmail_quote"> On Sat, Nov 14, 2009 at 4:35 PM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com" target="_blank">reakinator@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Portaudio makes now, 64bit pd.&nbsp; I can also make the 32bit version using CFLAGS and LDFLAGS, but the --enable-universal doesn't work because of the following error:<br> <br>gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags<br> make[2]: *** [libportaudio_la-pa_allocation.lo] Error 1<br><br>I was thinking, what happens when you have a universal binary pd and you mix external types, like some are 32bit and some are 64bit?&nbsp; Maybe a universal binary pd isn't so good..<br> <br>I'll try testing out the 64bit pd-gui-rewrite for a while, see if anything strange happens.<div><div></div><div><br><br><div class="gmail_quote">On Sat, Nov 14, 2009 at 6:42 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;"><div><br></div><div>Ok, I updated the portaudio to the latest, updated 3 weeks ago in portaudio SVN. &nbsp;Plus I fixed your CFLAGS bug. &nbsp;You should also be able to build universal by doing "./configure --enable-universal" instead of manually setting the CFLAGS/LDFLAGS.</div> <div><br></div><font color="#888888"><div>.hc</div></font><div><div></div><div><br><div><div>On Nov 13, 2009, at 2:03 PM, Rich E wrote:</div><br><blockquote type="cite">I compiled the pd-gui-rewrite branch today as 64bit with portaudio support, but haven't tested it much. <br> <br>To compile portaudio as 64bit, you need the the sources from their svn.&nbsp; If I try to compile using the sources included with pd, I get a bunch of deprecation warnings followed by a syntax error.&nbsp; If I update the source codes to those in portaudio's svn trunk, the syntax error goes away but there are still many deprecation warnings.&nbsp; But, I have audio, with and without jack.<br>  <br>The configure script doesn't like it when I do:<br>export CFLAGS="-arch i386 -arch x86_64"<br>export LDFLAGS="-arch i386 -arch x86_64"<br> <br>This is how I compiled portaudio, but when I do it with pd, the configure script reports gcc as unusable.&nbsp; Is there a better way to make gcc compile universal binaries?<br> <br>Rich <br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 5:15 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="word-wrap: break-word;"><div><br></div><div>portaudio provides CoreAudio support already. &nbsp;It is AudioUnit support that is in the works, which I suppose is part of CoreAudio. &nbsp;What are the errors with portaudio in pd-gui-rewrite? &nbsp;It would be good to get those fixed there, since you said that portaudio on its own can build fine for 64-bit (or am I mistaken?)</div>  <div><br></div><div>.hc</div><div><div></div><div><br><div><div>On Nov 11, 2009, at 8:21 PM, Rich E wrote:</div><br><blockquote type="cite">Got it compiled and it looks nice.&nbsp; The portaudio failed, same as Pd-Vanilla, but I guess you aren't worried about that because you are working on getting coreaudio support (which would be nice).&nbsp; Jack works, everything is sounds nice and stable.&nbsp; <br>  <br>The only thing I noticed is that expr cannot be found.&nbsp; I have only tried a few of the example patches so far.<br><br>cheers,<br>Rich<br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 1:57 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com" target="_blank">reakinator@gmail.com</a>&gt;</span> wrote:<br>  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Oops, my fault.&nbsp; I had some residual CFLAGS from trying to get Gem to compile... onward :)&nbsp; <br>  <div><div></div><div><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 1:23 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com" target="_blank">reakinator@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">  On running a regular ./configure in the gui rewrite branch, I get the error:<br><br>checking for C compiler default output file name... <br> configure: error: in `/Users/richardeakin/Downloads/src/pd-gui-rewrite-0.43':<br>  configure: error: C compiler cannot create executables<br>See `config.log' for more details.<br><br>I attached the config.log, any ideas?<br><font color="#888888"><br>Rich</font><div><div></div><div><br><br> <div class="gmail_quote">  On Thu, Nov 12, 2009 at 12:29 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">  <div style="word-wrap: break-word;"><div><br></div><div>The build system in vanilla/extended is pretty ugly, especially for Mac OS X. &nbsp;The build system in the pd-gui-rewrite/0.43 branch has been rewritten from scratch to be a full autotools build system. &nbsp;That should fix the -isysroot and --disable-portaudio problem you mention. &nbsp;Try it out, and we can fix any issues there.</div>  <div><br></div><div>svn co&nbsp;<a href="https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-gui-rewrite/0.43/" target="_blank">https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-gui-rewrite/0.43/</a></div>  <div>cd 0.43</div><div>./autogen.sh &amp;&amp; ./configure --enable-jack --disable-portaudio &amp;&amp; make</div><div><br></div><div>.hc</div><div><div></div><div><br><div><div>On Nov 11, 2009, at 6:08 PM, Rich E wrote:</div>  <br><blockquote type="cite">Oops, I accidentally just sent my last post to Hans.&nbsp; Please read this and the post below...<br><br>I have been slowly figuring out the last problem, where gcc can't find my headers in /usr/include.&nbsp; It is because the configure line:<br>   <br>if test "x$fat" == "xyes";<br>&nbsp;&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MORECFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk \<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -arch i386 -arch ppc -Wno-error"<br><br>First, I don't know why this is necessary, but I'm sure somebody does.&nbsp; I also don't know why OS X 10.6 is being detected as fat anything.&nbsp; <br>  <br>I can install the MacOSX10.4u.sdk from the Xcode disk, but then gcc can't find a good stdarg.h, as the one include within that sdk has a #include_next stdarg.h directive.&nbsp; Then, with this -sysroot flag, gcc doesn't search any other directory and none of the 20 other stdarg.h files on my computer are found.&nbsp; I remove this flag and the header files are found elsewhere just fine.<br>   <br>I compiled Portaudio from svn as universal binary with 64bit.&nbsp; But, this library doesn't work with Pd's portaudio source files and the new sources don't work with Pd's sources.&nbsp; So, I can't get past building the portaudio objects.&nbsp; I tried just using jack with "./configure --enable-jack --disable-portaudio", but the build script still tries to build portaudio and fails. <br>   <br>This is all with pd vanilla from Miller's website.&nbsp; I'm also trying to build the Pd extended sources, but I suppose I should start a new thread for the problem I hit there..<br><br><div class="gmail_quote"> On Tue, Nov 10, 2009 at 3:29 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com" target="_blank">reakinator@gmail.com</a>&gt;</span> wrote:<br>  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Macports made me a universal binary portaudio, thankfully because I could not get it to compile as 64 bit from the source (I posted why on the portaudio mailing list).<br>   <br>I'm having other annoying problems with my build system, probably something very stupid that I am not aware of.&nbsp; Neither Pd nor Pd-extended can find header files in /usr/include.&nbsp; This isn't so hard to include as a CFLAGS flag, but then it still can't find stdarg.h, which just makes me think my build system is broken.&nbsp; <br>   <br>I'm working through the various errors to getting Pd-extended building on Snow Leopard as 64 bit, but I have to say I'm probably not the best candidate as this is the first mac that I've had in years.&nbsp; Truthfully, I was looking forward to a time when things 'just worked' :)&nbsp; Not there yet.<br>   <font color="#888888"> <br>Rich</font><div><div></div><div><br><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 3:03 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br>   <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="word-wrap: break-word;"><div><br></div><div>It seems that portaudio should build as 64-bit, perhaps its worth trying to upgrade the portaudio files that are included in Pd-extended. &nbsp;I recently updated the pd-extended/0.42.5 branch to the most recent stable portaudio.</div>   <div><br></div><div><a href="http://www.portaudio.com/trac/wiki/TutorialDir/Compile/MacintoshCoreAudio" target="_blank">http://www.portaudio.com/trac/wiki/TutorialDir/Compile/MacintoshCoreAudio</a></div><div><br></div> <div>  .hc</div><div><div></div><div><br><div><div>On Nov 9, 2009, at 11:57 AM, Hans-Christoph Steiner wrote:</div><br><blockquote type="cite"><div style="word-wrap: break-word;"><div><br></div><div>I'm working getting an Apple AudioUnit sound API support into pd-core right now. &nbsp;This will support the iPhone, but should also work on Mac OS X. &nbsp;With this, it should be possible to get working audio on Mac OS X without portaudio.</div>   <div><br></div><div>AFAIK, Fink does support 64-bit now, so as long as the libs support it, then Fink should work. &nbsp;I'd say it would be worthwhile building Pd-extended 64-bit without the Fink/Macports dependencies, since most included externals don't need any other libs.</div>   <div><br></div><div>.hc</div><br><div><div>On Nov 9, 2009, at 10:49 AM, Rich E wrote:</div><br><blockquote type="cite">Ah, that did the trick.&nbsp; Thanks.<br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 3:54 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br>    <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br> You need to set the LDFLAGS to -arch i386 also. &nbsp;Or even better, try doing a 64-bit Snow Leopard build of Pd-extended.<br>    <br></blockquote><div><br>I'd love to try that, but I'm still working to get a 64-bit Snow Leopard build of Pd-vanilla.&nbsp; Portaudio won't let me do it yet.&nbsp; Macports is limited as far as I can see, so I'm having to compile each piece from source.<br>    <br><br>cheers,<br>Rich<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> .hc<div><div></div><div><br> <br> On Nov 8, 2009, at 6:58 PM, Rich E wrote:<br>    <br> </div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div> I've been trying to get my externals to compile in to use with Pd-extended... in OS X Snow Leopard. So far it hasn't been easy because Pd-extended is i386 and my externals are compiling as x86_64.<br>    <br> All I can find on this is to force the build to i386 with the gcc flag '-arch i386', but the linker won't allow it:<br> <br> ld: warning: in incr.o, file is not of required architecture<br> <br> and then, I again have the 64 bit version:<br>    $ file incr.pd_darwin<br> incr.pd_darwin: Mach-O 64-bit bundle x86_64<br> <br> Anyone know how to get these guys to work with Pd-extended?<br> <br> Rich<br></div></div><div> _______________________________________________<br>    <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br> UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>    </div></blockquote> <br> <br> ----------------------------------------------------------------------------<br> <br> I hate it when they say, "He gave his life for his country." &nbsp;Nobody gives their life for anything. &nbsp;We steal the lives of these kids. &nbsp;-Admiral Gene LeRocque<br>    <br> </blockquote></div><br></blockquote></div><br><div> <span style="font-size: 12px; color: rgb(0, 0, 0);"><div><br><br></div><div>----------------------------------------------------------------------------</div><div>   <div><br></div>"Making boring techno music is really easy with modern tools," he &nbsp;</div><div>says, "but with live coding, boring techno is much harder." - Chris McCormick</div><div><br></div></span><br>   <br> </div><br></div></blockquote></div><br></div></div><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>   <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>   <br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>Using ReBirth is like trying to play an 808 with a long stick. &nbsp; &nbsp;-David Zicarelli</div><br></span></span> </div>   <br></div></blockquote></div><br> </div></div></blockquote></div><br></blockquote></div><br></div></div><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">  <br><div><br></div><div><br></div><div><br></div><div>----------------------------------------------------------------------------<br></div><div><br></div><div>'You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink-collar temp pool day.&nbsp; -&nbsp;“Hijab Scene #2", by&nbsp;Mohja Kahf</div>  <br></div></span> </div><br></div></blockquote></div><br> </div></div></blockquote></div><br> </div></div></blockquote></div><br></blockquote></div><br></div></div><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>  <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>  <br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://at.or.at/hans/" target="_blank">http://at.or.at/hans/</a></div>  <br></span></span> </div><br></div></blockquote></div><br></blockquote></div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div> <br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>Using ReBirth is like trying to play an 808 with a long stick. &nbsp; &nbsp;-David Zicarelli</div><br></span></span> </div> <br></div></div></div></blockquote></div><br> </div></div></blockquote></div><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies.<span class="Apple-converted-space">&nbsp;</span>&nbsp; &nbsp; - Amy Smith</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>