Hello! I have this mac version, and I think it would be useful because that mac version is good for old yet usable computers.
So I decided to try to compile it, with gcc48, macports and Qt5.1.1, but finally I get this error: Cannot find feature spec_pre.prf And here is everything I made from the beginning: http://pastebin.com/cxkctyq3 I am sorry for my zero knowledge about computers or programming in general, and do not want to waste your time. However, I think if this version exists, it will downloaded a lot. Best Regards from Spain |
Hi,
From your command line log, the qmake is run within the Qt installation directory. Let's do something more reasonable: cd ~ git clone https://github.com/LibreCAD/LibreCAD.git cd LibreCAD git checkout -b 2.0 origin/2.0 #use the stable branch instead of master ~/qt5.1.1/clang_64/bin/qmake -r #only if this fails, try with -spec mkspec/macports make LibreCAD.app/Contents/MacOS/LibreCAD #to launch LibreCAD, if building is successful Please have a look at http://wiki.librecad.org/index.php/LibreCAD_Installation_from_Source#Building_LibreCAD-2.0_on_OS.2FX (probably, outdated a little)
|
In reply to this post by dsmoret@hotmail.com
Hello!
Thank you for your answer. Maybe I have to re-install Qt or Macports? errors are: Could not find qmake configuration file macx-clang. and Cannot find feature spec_pre.prf http://pastebin.com/1NUnGHwZ I have also checked your link, which is the guide I was following. I have also thought to use the last option: By the building script Alternatively, you may try the building script comes with LibreCAD at scripts/build-osx.sh to build an DMG file. On OS/X 10.9 or newer, $ cd ~/github/LibreCAD/ $ cd scripts/ $ ./build-osx.sh On OS/X 10.8 or older, you may have to edit the build-osx.sh to qmake command lines like: qmake -r -spec mkspec/macports to use the qmake mkspec shipped within LibreCAD source code. Only problem, I do not know which lines of the script file, to edit. Best Regards |
Administrator
|
You can try to use the script as found here : https://github.com/LibreCAD/LibreCAD/blob/master/scripts/build-dmg-externalqt-clang.sh It can be run with macports installed, but it was designed to be run without macports. it will use your clang installation from x-code and an externally installed Qt version. if you are into compiling and not shy on doing this, it might be worth a short. Ries
|
In reply to this post by dsmoret@hotmail.com
Besides what Ries suggested, you may also try to install the latest Qt (5.5.1) and try again.
|
In reply to this post by dsmoret@hotmail.com
Thank you both of you, I tried the script (both of them, but the first one is on the pastebin), beside of this, now I have qmake added to shell, and am able to change of gcc version or even none.
Nevertheless, seems not to do the dmg. Will try later, or maybe reinstall packages. This is why I got, this time: http://pastebin.com/aQDb0um0 Anyway if someone has somewhere this snow leopard dmg, and is able to upload, will also check if works for me. And of course thank you for your help and kindness Best Regards |
Free forum by Nabble | Edit this page |