<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div style="-webkit-text-size-adjust: auto;">There are a few things I'm not sure of:</div><div style="-webkit-text-size-adjust: auto;"><br></div><div><span style="-webkit-text-size-adjust: auto;">1.&nbsp;</span><span style="font-size: medium; background-color: rgba(255, 255, 255, 0); -webkit-text-size-adjust: auto;">FreeCAD.app template</span></div><div><p style="text-align: start; margin: 0.4em 0px 0.5em;"><span style="background-color: rgba(255, 255, 255, 0);">An archive contains an application bundle template for FreeCAD. This is not strictly necessary, but it makes working with FreeCAD more convenient than the default installation configuration. They recommend an install location for the bundle in the /Applications folder, but you should be able to put it anywhere you want -- however the bundle can't be moved after FreeCAD is complied and installed without further modifications. Running make install with the configuration below will install into this bundle.</span></p><p style="text-align: start; margin: 0.4em 0px 0.5em;"><a href="http://dl.getdropbox.com/u/103808/FreeCAD/FreeCAD_bundle_template_20091128.tar.gz">http://dl.getdropbox.com/u/103808/FreeCAD/FreeCAD_bundle_template_20091128.tar.gz</a></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); text-align: justify;"><div style="text-align: start;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">./autogen.sh</span></font></div><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">        
</span></font><div style="text-align: start;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">PREFIX=/Applications/FreeCAD.app/Contents</span></font></div></pre><div>2.&nbsp;<span style="background-color: rgba(255, 255, 255, 0);"><span style="text-align: justify;">Some FreeCAD components won't work without Pivy</span></span></div><div style="text-align: start;"><span style="background-color: rgba(255, 255, 255, 0);">Pivy is a needed by several modules to access the 3D view of FreeCAD. On MacOSX, need to compile pivy . B</span><span style="text-align: justify; background-color: rgba(255, 255, 255, 0);">efore compiling Pivy want to have Coin and SoQt installed.&nbsp;</span><span style="background-color: rgba(255, 255, 255, 0);">Attempting to install coin from MacPorts was problematic: a ticket was added 6 months ago with a patch that has not been committed (&nbsp;</span><a href="https://trac.macports.org/ticket/41786">https://trac.macports.org/ticket/41786</a>).&nbsp;</div><div style="text-align: start;"><br></div><div style="text-align: start;"><p style="text-align: start; margin: 0.4em 0px 0.5em;"><span style="background-color: rgba(255, 255, 255, 0);">These instructions may not be complete. Something close to this worked for OS 10.7 as of March 2012.</span></p><p style="text-align: start; margin: 0.4em 0px 0.5em;"><span style="background-color: rgba(255, 255, 255, 0);">Get the latest source:</span></p><pre style="text-align: start; padding: 1em; border: 1px dashed rgb(47, 111, 171);"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">hg clone <a rel="nofollow" class="external free" href="http://hg.sim.no/Pivy/default" style="text-decoration: none; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=); font-weight: bold; padding-right: 13px; background-position: 100% 50%; background-repeat: no-repeat no-repeat;">http://hg.sim.no/Pivy/default</a> Pivy 
</span></font></pre><p style="text-align: start; margin: 0.4em 0px 0.5em;"><span style="background-color: rgba(255, 255, 255, 0);">Then you need SWIG. It should be a matter of:</span></p><pre style="text-align: start; padding: 1em; border: 1px dashed rgb(47, 111, 171);"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">port install swig
</span></font></pre><p style="text-align: start; margin: 0.4em 0px 0.5em;"><span style="background-color: rgba(255, 255, 255, 0);">This is needed also:</span></p><pre style="text-align: start; padding: 1em; border: 1px dashed rgb(47, 111, 171);"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">port install swig-python
</span></font></pre><p style="text-align: justify; margin: 0.4em 0px 0.5em;">3. Compile</p><p style="text-align: start; margin: 0.4em 0px 0.5em;"><span style="background-color: rgba(255, 255, 255, 0);">Configure, compile, and install FreeCAD using the following commands from within the root FreeCAD folder.</span></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); text-align: justify;"><div style="text-align: start;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">./configure --with-xercesc-lib=/opt/local/lib --with-xercesc-include=/opt/local/include \</span></font></div><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">--with-boost-lib=/opt/local/lib --with-boost-include=/opt/local/include \
</span></font><div style="text-align: start;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">lltech/Qt-4.8.0/lib \
--with-qt4-include=/usr/local/Trolltech/Qt-4.8.0/include --with-qt4-frame</span></font></div><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">--with-qt4-dir=/usr/local/Trolltech/Qt-4.8.0 --with-qt4-lib=/usr/local/Tr<br>owork=/Library/Frameworks \
--with-qt4-bin=/usr/local/Trolltech/Qt-4.8.0/bin --with-occ-lib=/usr/local/lib \
</span></font><div style="text-align: start;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">--prefix=/Applications/FreeCAD.app/Contents \
--bindir=/Applications/FreeCAD</span></font></div><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">--with-occ-include=/usr/local/include/oce  --with-coin=/Library/Frameworks \
--with-soqt=/Library/Frameworks<br> .app/Contents/MacOS --libdir=/Applications/FreeCAD.app/Contents/Frameworks/FreeCAD \
--includedir=/Applications/FreeCAD.app/Contents/Resources/include \
</span></font><div style="text-align: start;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">rsions/2.5/Headers</span></font></div><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">--datarootdir=/Applications/FreeCAD.app/Contents/Resources/share --enable-debug=no  \
--with-python-include=/System/Library/Frameworks/Python.framewo</span></font><span style="font-family: monospace, Courier; font-size: 13px; line-height: 1.3em; -webkit-text-size-adjust: auto; background-color: rgb(249, 249, 249);">rk/V</span><span style="line-height: 1.3em; text-align: start; background-color: rgb(249, 249, 249); font-family: monospace, Courier; font-size: 13px; -webkit-text-size-adjust: auto;">ersions/2.5/Headers</span></pre><p style="text-align: start; margin: 0.4em 0px 0.5em;"><span style="background-color: rgba(255, 255, 255, 0);"><span style="text-align: justify;">Paths will be different for a port install. I have python 2.7 installed. There was a discussion on the freecad forum regarding a homebrew formula.&nbsp;</span></span></p><pre style="box-sizing: border-box; overflow: auto; margin-top: 0px; margin-bottom: 0px;"><div class="line" id="LC57" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">&nbsp;&nbsp;&nbsp;&nbsp;<span class="c1" style="box-sizing: border-box; font-style: italic;"># Brewed python include and lib info</span></span></font></div><div class="line" id="LC58" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">&nbsp;&nbsp;&nbsp;&nbsp;<span class="c1" style="box-sizing: border-box; font-style: italic;"># TODO: Don't hardcode bin path</span></span></font></div><div class="line" id="LC59" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n" style="box-sizing: border-box;">python_prefix</span> <span class="o" style="box-sizing: border-box; font-weight: bold;">=</span> <span class="sb" style="box-sizing: border-box;">`/usr/local/bin/python-config --prefix`</span><span class="o" style="box-sizing: border-box; font-weight: bold;">.</span><span class="n" style="box-sizing: border-box;">strip</span></span></font></div><div class="line" id="LC60" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n" style="box-sizing: border-box;">python_library</span> <span class="o" style="box-sizing: border-box; font-weight: bold;">=</span> <span class="s2" style="box-sizing: border-box;">"</span><span class="si" style="box-sizing: border-box;">#{</span><span class="n" style="box-sizing: border-box;">python_prefix</span><span class="si" style="box-sizing: border-box;">}</span><span class="s2" style="box-sizing: border-box;">/Python"</span></span></font></div><div class="line" id="LC61" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n" style="box-sizing: border-box;">python_include_dir</span> <span class="o" style="box-sizing: border-box; font-weight: bold;">=</span> <span class="s2" style="box-sizing: border-box;">"</span><span class="si" style="box-sizing: border-box;">#{</span><span class="n" style="box-sizing: border-box;">python_prefix</span><span class="si" style="box-sizing: border-box;">}</span><span class="s2" style="box-sizing: border-box;">/Headers"</span></span></font></div><div class="line" id="LC62" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC66" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><br style="box-sizing: border-box;"></span></font></div><div class="line" id="LC67" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">&nbsp;&nbsp;&nbsp;&nbsp;<span class="c1" style="box-sizing: border-box; font-style: italic;"># Set up needed cmake args</span></span></font></div><div class="line" id="LC68" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n" style="box-sizing: border-box;">args</span> <span class="o" style="box-sizing: border-box; font-weight: bold;">=</span> <span class="n" style="box-sizing: border-box;">std_cmake_args</span> <span class="o" style="box-sizing: border-box; font-weight: bold;">+</span> <span class="sx" style="box-sizing: border-box;">%W[</span></span></font></div><div class="line" id="LC69" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="sx" style="box-sizing: border-box; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleBody">      -DFREECAD_BUILD_ROBOT=OFF</font></span></div><div class="line" id="LC70" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><span class="sx" style="box-sizing: border-box;">      -DPYTHON_LIBRARY=</span><span class="si" style="box-sizing: border-box;">#{</span><span class="n" style="box-sizing: border-box;">python_library</span><span class="si" style="box-sizing: border-box;">}</span><span class="sx" style="box-sizing: border-box;"></span></span></font></div><div class="line" id="LC71" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><span class="sx" style="box-sizing: border-box;">      -DPYTHON_INCLUDE_DIR=</span><span class="si" style="box-sizing: border-box;">#{</span><span class="n" style="box-sizing: border-box;">python_include_dir</span><span class="si" style="box-sizing: border-box;">}</span><span class="sx" style="box-sizing: border-box;"></span></span></font></div><div class="line" id="LC72" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><span class="sx" style="box-sizing: border-box;">      -DOCE_DIR=</span><span class="si" style="box-sizing: border-box;">#{</span><span class="n" style="box-sizing: border-box;">oce_dir</span><span class="si" style="box-sizing: border-box;">}</span><span class="sx" style="box-sizing: border-box;"></span></span></font></div><div class="line" id="LC73" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><span class="sx" style="box-sizing: border-box;">      -DFREETYPE_INCLUDE_DIRS=</span><span class="si" style="box-sizing: border-box;">#{</span><span class="no" style="box-sizing: border-box;">Formula</span><span class="o" style="box-sizing: border-box; font-weight: bold;">.</span><span class="n" style="box-sizing: border-box;">factory</span><span class="p" style="box-sizing: border-box;">(</span><span class="s1" style="box-sizing: border-box;">'freetype'</span><span class="p" style="box-sizing: border-box;">)</span><span class="o" style="box-sizing: border-box; font-weight: bold;">.</span><span class="n" style="box-sizing: border-box;">opt_prefix</span><span class="si" style="box-sizing: border-box;">}</span><span class="sx" style="box-sizing: border-box;">/include/freetype2/</span></span></font></div><div class="line" id="LC74" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="sx" style="box-sizing: border-box; white-space: normal; background-color: rgba(255, 255, 255, 0);"><font face="UICTFontTextStyleBody">    ]</font></span></div><div style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 18px; -webkit-text-size-adjust: 100%;"><span class="sx" style="box-sizing: border-box; color: rgb(221, 17, 68);"><br></span></div></pre><p style="text-align: start; margin: 0.4em 0px 0.5em;"><span style="background-color: rgba(255, 255, 255, 0);"><span style="text-align: justify;"><br></span></span></p><div><br></div></div><br><span style="-webkit-text-size-adjust: auto;">Sent from my iPad</span></div><div style="-webkit-text-size-adjust: auto;"><br>On Jun 19, 2014, at 11:47 PM, Sean Farley &lt;<a href="mailto:sean@macports.org">sean@macports.org</a>&gt; wrote:<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div><span></span><br><span>Mark Brethen writes:</span><br><span></span><br><blockquote type="cite"><span>On Jun 14, 2014, at 5:36 PM, Sean Farley &lt;<a href="mailto:sean@macports.org">sean@macports.org</a>&gt; wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>You should probably make a ticket at <a href="http://trac.macports.org">trac.macports.org</a> so you can upload</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>your portfile and get some feedback.</span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span><a href="https://trac.macports.org/ticket/44097">https://trac.macports.org/ticket/44097</a></span><br></blockquote><span></span><br><span>Cool, I'll take a look tomorrow :-)</span><br></div></blockquote></body></html>