Re: Build on OSX
Posted by
dxli on
Jun 30, 2014; 9:23pm
URL: https://forum.librecad.org/Build-on-OSX-tp5709473p5710114.html
did you try to build from source following:
wiki.librecad.org/index.php/LibreCAD_Installation_from_Source#Building_LibreCAD-2.0_on_OS.2FXThis muparser building issue was fixed for 2.0.4 release
kshrid wrote
New user here and not a developer.
I'm installing on OSX 10.7. The Lion installer for v2.0.0 (the latest version for which a dmg installer is available) failed, so I tried installing from the source using macports.
However, the muparser package can not be found. Below is an excerpt of the console output.
Any ideas about what I should be doing next? I appreciate the help.
Thanks.
...
:info:configure Reading /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_LibreCAD/LibreCAD/work/LibreCAD-2.0.3/librecad/src/src.pro
:info:configure Project MESSAGE: We will be using CPP11 features
:info:configure Project MESSAGE: Found Boost in /opt/local
:info:configure Project MESSAGE: Using Boost includes from /opt/local/include
:info:configure Project MESSAGE: qtAddLibrary: found framework QtHelp in directory /opt/local/Library/Frameworks
:info:configure Project MESSAGE: qtAddLibrary: found framework QtSvg in directory /opt/local/Library/Frameworks
:info:configure Project MESSAGE: qtAddLibrary: found framework QtSql in directory /opt/local/Library/Frameworks
:info:configure Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/local/Library/Frameworks
:info:configure Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/local/Library/Frameworks
:info:configure Project ERROR: Package muparser not found
:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_LibreCAD/LibreCAD/work/LibreCAD-2.0.3" && /opt/local/bin/qmake -r PREFIX=/opt/local QMAKE_CC=/opt/local/bin/gcc-mp-4.8 QMAKE_CXX=/opt/local/bin/g++-mp-4.8 QMAKE_OBJC=/opt/local/bin/gcc-mp-4.8 CFLAGS="-Os -m64" CONFIG+="build_muparser"
:info:configure Exit code: 2
:error:configure org.macports.configure for port LibreCAD returned: configure failure: command execution failed