Re: [Audacity-devel] Mac builders FYI
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Jean-Baptiste T. <jb...@dc...> - 2009-01-28 16:32:54
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> yes, /usr/local/bin/wx-config --list gives me different results:<br> <br> Default config is mac-ansi-release-static-2.8<br> <br> Default config will be used for output<br> <br> Alternate matches:<br> mac-ansi-debug-static-2.8<br> mac-ansi-release-2.8<br> <br> I have the same error no matter with which config I try to build Audacity (i.e. Debug Static, Debug Shared, Release Static, Release Shared). This error happens during the first stage, when XCode runs the configuration. The error reads <br> <br> configure: Checking that the chosen version of wxWidgets is 2.8.x<br> configure: error: Unable to locate a suitable configuration of wxWidgets v2.8.x or higher.<br> <br> I'm going to try Michael's advice... <br> <br> JB<br> <br> <br> Paul Livesey wrote: <blockquote cite="mid:830...@ww..." type="cite"> <pre wrap="">Run /usr/local/bin/wx-config --list This should give you better results! You should now be able to build Audacity in either Debug configuration. What is the build error when you try to build Audacity? There is a known problem with some m4 macros which require a line to be added to a system file. If you post the build error I can advise further. Paul. </pre> <blockquote type="cite"> <pre wrap=""><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> I removed the wxMac folder from my computer, got a new one from the wx website and ran these configure scripts:<br> <br> <pre wrap="">./configure --disable-shared --enable-static=yes --enable-debug=no &lt;--</pre> and <br> <br> <pre wrap="">./configure --disable-shared --enable-static=yes --enable-debug=yes &lt;--</pre> Both were followed by a 'make' and 'sudo make install'.<br> <br> I did run these two scripts as I was assuming that it would create a&nbsp; debug config *and*&nbsp; a release config. <br> <br> However, 'wx-config --list' still gives me:<br> <br> &nbsp;&nbsp;&nbsp; Default config is mac-unicode-debug-2.8<br> <br> &nbsp; Default config will be used for output<br> <br> Of course, Audacity still wouldn't compile. I guess I need to solve the problem of creating a release config for wx first. <br> Any hint on what I should do?<br> <br> Thanks,<br> JB<br> <br> <br> <br> Jean-Baptiste Thiebaut wrote: <blockquote cite=<a class="moz-txt-link-rfc2396E" href="mailto:mid:498...@dc...">"mid:498...@dc..."</a> type="cite"> <pre wrap="">Hi Michael, Thank you for that. I am not sure where my wxMac build should be? I compiled the files from /Users/jbt/Desktop/wxMac-2.8.9/ <a class="moz-txt-link-rfc2396E" href=<a class="moz-txt-link-rfc2396E" href="file:///Users/jbt/Desktop/wxMac-2.8.9/">"file:///Users/jbt/Desktop/wxMac-2.8.9/"</a>>&lt;<a class="moz-txt-link-freetext" href="file:///Users/jbt/Desktop/wxMac-2.8.9/>">file:///Users/jbt/Desktop/wxMac-2.8.9/&gt</a>;</a> so I tried to put this path without success. I also tried the different locations where wx files are stored, such as /usr/local/lib/wx/include but the compilation gives me the same errors as below. Paul has advised me to recompile wxWidgets using : ./configure --with-expat=builtin --with-zlib=builtin --with-regex=builtin --enable-universal_binary=yes --enable-static=yes --enable-unicode=yes --enable-debug=yes But the make after this generates an error. I guess I should now remove everything and try a fresh install again. But what would be the appropriate commands to use? can I do everything within XCode? Cheers, Jean-Baptiste Michael Chinen wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, In the xcode project, open the file that is named Release_Static.xcconfig, and add the WX_PREFIX variable and set it to the path of your wxMac build. You may also need to adjust the path and the architecture to match your system. (if you are on intel it should be ARCHS=i386) my wxMac build is in the folder /Users/apple/wxbuilds/wxreleasepatched, and here are the contents of my Release_Static.xcconfig WX_PREFIX=/Users/apple/wxbuilds/wxreleasepatched PATH=/sw/bin:$PATH ARCHS=ppc Let me know if there are questions. Michael On Wed, Jan 28, 2009 at 6:22 AM, Jean-Baptiste Thiebaut &lt;<a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:jb...@dc...">"mailto:jb...@dc..."</a>><a class="moz-txt-link-abbreviated" href="mailto:jb...@dc...">jb...@dc...</a></a> <a class="moz-txt-link-rfc2396E" href=<a class="moz-txt-link-rfc2396E" href="mailto:jb...@dc...">"mailto:jb...@dc..."</a>>&lt;<a class="moz-txt-link-freetext" href="mailto:jb...@dc...>">mailto:jb...@dc...&gt</a>;</a>&gt; wrote: Hi Paul, Thank you for this. I'm not really use to c++ environments, I'm a Java programmer... So I don't really know where to look at to check the path, and make sure that the path for wx-config appears before the system path? cheers, Jean-Baptiste Paul Livesey wrote: &gt; Jean-Baptiste &gt; &gt; Check your path, I think you'll find that you're getting the OSX installed &gt; wx-config from /usr/bin &gt; &gt; This can be made to work with Audacity, but you really wouldn't want to! &gt; &gt; The easy solution is to make sure that your wx-config appears before the &gt; system one in your path. &gt; &gt; Hope that this helps, &gt; &gt; Paul. &gt; &gt; &gt; &gt;&gt; I tried to compile Audacity with "Release Static" and "Release Shared" &gt;&gt; within XCode, but both failed. So I assume that my wxWidget needed &gt;&gt; recompilation. &gt;&gt; &gt;&gt; I compiled wxWidget both with the command line and using XCode, but what &gt;&gt; 'wx-config --list' give me is still: &gt;&gt; &gt;&gt; Default config is mac-unicode-debug-2.8 &gt;&gt; &gt;&gt; Default config will be used for output &gt;&gt; &gt;&gt; How do I compile wx so that I get alternate matches like you? Is it what &gt;&gt; is wrong in my configuration? &gt;&gt; &gt;&gt; Cheers, &gt;&gt; Jean-Baptiste &gt;&gt; &gt;&gt; &gt;&gt; Leland wrote: &gt;&gt; &gt;&gt;&gt; Jean-Baptiste Thiebaut wrote: &gt;&gt;&gt; &gt;&gt;&gt; &gt;&gt;&gt;&gt; Thank you for the quick answer. I had pkg-config installed prior to my &gt;&gt;&gt;&gt; first e-mail. &gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; I should precise that I am trying to compile the current beta version. &gt;&gt;&gt;&gt; I &gt;&gt;&gt;&gt; updated it from the repository some 6 hours ago. I would have use the &gt;&gt;&gt;&gt; stable release of Audacity but it required a version of wxWidget (2.3 I &gt;&gt;&gt;&gt; think) that I couldn't find on their website. &gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; The first warning I get when I try to compile with XCode concerns &gt;&gt;&gt;&gt; wxWidgets : &gt;&gt;&gt;&gt; Warning: No config found to match: /usr/local/bin/wx-config &gt;&gt;&gt;&gt; --static=no &gt;&gt;&gt;&gt; --unicode=yes --debug=yes --version &gt;&gt;&gt;&gt; in /usr/local/lib/wx/config &gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; The folder /usr/local/lib/wx/config contains two files: &gt;&gt;&gt;&gt; -rwxr-xr-x 1 root jbt 42017 23 Jan 19:36 mac-ansi-release-2.8 &gt;&gt;&gt;&gt; -rwxr-xr-x 1 jbt jbt 41968 27 Jan 19:33 mac-ansi-release-static-2.8 &gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt; &gt;&gt;&gt; You are correct that you're wx is not quite there yet. You only have &gt;&gt;&gt; the "release" version of wx installed and you're trying to build the &gt;&gt;&gt; "debug" version of Audacity. For a quick test, just switch the &gt;&gt;&gt; configuration in Xcode to "Release Static" or "Release Shared" and try &gt;&gt;&gt; building again. &gt;&gt;&gt; &gt;&gt;&gt; You can get a list of your possible wx configurations by doing: &gt;&gt;&gt; &gt;&gt;&gt; wx-config --list &gt;&gt;&gt; &gt;&gt;&gt; Here's why mine looks like: &gt;&gt;&gt; &gt;&gt;&gt; llama:~$ wx-config --list &gt;&gt;&gt; &gt;&gt;&gt; Default config is mac-unicode-debug-2.8 &gt;&gt;&gt; &gt;&gt;&gt; Default config will be used for output &gt;&gt;&gt; &gt;&gt;&gt; Alternate matches: &gt;&gt;&gt; mac-ansi-debug-2.8 &gt;&gt;&gt; mac-ansi-debug-static-2.8 &gt;&gt;&gt; mac-ansi-release-2.8 &gt;&gt;&gt; mac-ansi-release-static-2.6 &gt;&gt;&gt; mac-ansi-release-static-2.8 &gt;&gt;&gt; mac-unicode-debug-static-2.6 &gt;&gt;&gt; mac-unicode-debug-static-2.8 &gt;&gt;&gt; mac-unicode-release-2.8 &gt;&gt;&gt; mac-unicode-release-static-2.6 &gt;&gt;&gt; mac-unicode-release-static-2.8 &gt;&gt;&gt; &gt;&gt;&gt; &gt;&gt;&gt; &gt;&gt;&gt; &gt;&gt;&gt; ------------------------------------------------------------------------------ &gt;&gt;&gt; This SF.net email is sponsored by: &gt;&gt;&gt; SourcForge Community &gt;&gt;&gt; SourceForge wants to tell your story. &gt;&gt;&gt; <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="http://p.sf.net/sfu/sf-spreadtheword">"http://p.sf.net/sfu/sf-spreadtheword"</a>><a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/sf-spreadtheword">http://p.sf.net/sfu/sf-spreadtheword</a></a> &gt;&gt;&gt; _______________________________________________ &gt;&gt;&gt; audacity-devel mailing list &gt;&gt;&gt; <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>><a class="moz-txt-link-abbreviated" href="mailto:aud...@li...">aud...@li...</a></a> <a class="moz-txt-link-rfc2396E" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>>&lt;<a class="moz-txt-link-freetext" href="mailto:aud...@li...>">mailto:aud...@li...&gt</a>;</a> &gt;&gt;&gt; <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">"https://lists.sourceforge.net/lists/listinfo/audacity-devel"</a>><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a></a> &gt;&gt;&gt; &gt;&gt;&gt; &gt;&gt; ------------------------------------------------------------------------------ &gt;&gt; This SF.net email is sponsored by: &gt;&gt; SourcForge Community &gt;&gt; SourceForge wants to tell your story. &gt;&gt; <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="http://p.sf.net/sfu/sf-spreadtheword">"http://p.sf.net/sfu/sf-spreadtheword"</a>><a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/sf-spreadtheword">http://p.sf.net/sfu/sf-spreadtheword</a></a> &gt;&gt; _______________________________________________ &gt;&gt; audacity-devel mailing list &gt;&gt; <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>><a class="moz-txt-link-abbreviated" href="mailto:aud...@li...">aud...@li...</a></a> <a class="moz-txt-link-rfc2396E" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>>&lt;<a class="moz-txt-link-freetext" href="mailto:aud...@li...>">mailto:aud...@li...&gt</a>;</a> &gt;&gt; <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">"https://lists.sourceforge.net/lists/listinfo/audacity-devel"</a>><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a></a> &gt;&gt; &gt;&gt; &gt; &gt; &gt; &gt; ------------------------------------------------------------------------------ &gt; This SF.net email is sponsored by: &gt; SourcForge Community &gt; SourceForge wants to tell your story. &gt; <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="http://p.sf.net/sfu/sf-spreadtheword">"http://p.sf.net/sfu/sf-spreadtheword"</a>><a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/sf-spreadtheword">http://p.sf.net/sfu/sf-spreadtheword</a></a> &gt; _______________________________________________ &gt; audacity-devel mailing list &gt; <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>><a class="moz-txt-link-abbreviated" href="mailto:aud...@li...">aud...@li...</a></a> <a class="moz-txt-link-rfc2396E" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>>&lt;<a class="moz-txt-link-freetext" href="mailto:aud...@li...>">mailto:aud...@li...&gt</a>;</a> &gt; <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">"https://lists.sourceforge.net/lists/listinfo/audacity-devel"</a>><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a></a> &gt; ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="http://p.sf.net/sfu/sf-spreadtheword">"http://p.sf.net/sfu/sf-spreadtheword"</a>><a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/sf-spreadtheword">http://p.sf.net/sfu/sf-spreadtheword</a></a> _______________________________________________ audacity-devel mailing list <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>><a class="moz-txt-link-abbreviated" href="mailto:aud...@li...">aud...@li...</a></a> <a class="moz-txt-link-rfc2396E" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>>&lt;<a class="moz-txt-link-freetext" href="mailto:aud...@li...>">mailto:aud...@li...&gt</a>;</a> <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">"https://lists.sourceforge.net/lists/listinfo/audacity-devel"</a>><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a></a> ------------------------------------------------------------------------ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="http://p.sf.net/sfu/sf-spreadtheword">"http://p.sf.net/sfu/sf-spreadtheword"</a>><a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/sf-spreadtheword">http://p.sf.net/sfu/sf-spreadtheword</a></a> ------------------------------------------------------------------------ _______________________________________________ audacity-devel mailing list <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>><a class="moz-txt-link-abbreviated" href="mailto:aud...@li...">aud...@li...</a></a> <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">"https://lists.sourceforge.net/lists/listinfo/audacity-devel"</a>><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a></a> </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="http://p.sf.net/sfu/sf-spreadtheword">"http://p.sf.net/sfu/sf-spreadtheword"</a>><a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/sf-spreadtheword">http://p.sf.net/sfu/sf-spreadtheword</a></a> _______________________________________________ audacity-devel mailing list <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:aud...@li...">"mailto:aud...@li..."</a>><a class="moz-txt-link-abbreviated" href="mailto:aud...@li...">aud...@li...</a></a> <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">"https://lists.sourceforge.net/lists/listinfo/audacity-devel"</a>><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a></a> </pre> </blockquote> <br> </body> </html> ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/sf-spreadtheword_______________________________________________">http://p.sf.net/sfu/sf-spreadtheword_______________________________________________</a> audacity-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:aud...@li...">aud...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a> </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/sf-spreadtheword">http://p.sf.net/sfu/sf-spreadtheword</a> _______________________________________________ audacity-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:aud...@li...">aud...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a> </pre> </blockquote> <br> </body> </html> |