

So I forced and made a real gcc to be at that location and finally got a result. QMAKE_MAC_SDK.macx-g++.macosx.QMAKE_CXX = /Applications/Xcode_10.2.1.app/Contents/Developer/usr/bin/g++Īnd that 'gcc' when run with -version occured to be clang:Īpple LLVM version 10.0.1 (clang-1001.0.46.4) QMAKE_MAC_SDK.macx-g++.macosx.QMAKE_CC = /Applications/Xcode_10.2.1.app/Contents/Developer/usr/bin/gcc qmake.stash file showed me that despite anything I did to use gcc, qmake always used the same path down below Xcode directory: Project ERROR: failed to parse default search paths from compiler output I tried linking installed gcc tools to /usr/local/bin, ~/bin, played with PATH and other environment variables, but every time qmake was giving me the following error: Then I tried to build with gcc but qmake tried hard to disallow me that. First, I tried to build with default clang compiler and the build always failed with an error. I'm not familiar with MacOS specifics and what I got is a result of number of trials and errors.
Macports install older version mac#
But because I do not own a real Mac I've done it in the cloud. I've got successful build on MacOS 10.14. If anyone has tips to suggest it would be great. I'm not able to progress any farther, so putting aside for the moment. In the meantime I'm following the wiki about installing older port to install an older version of but still hoping to get the newest version to build eventually. Now looking for a different method to do it. installed okay, but is the current problem.ĮDIT3: Was able to follow advice on installing older ports ( ) to install earlier version of dbus more agreeable to my system I assumed that I could alter the portfile to reference the older version of 'dbus' when installing Qt, but it sounds like MacPorts prevents that action. So far I've been able to progress until the 'qmake' instructions, at which point I got a command not found.ĮDIT: It turns out a qt4-mac dependency isn't installing correctly, 'dbus', so I've got to figure that out first then will try again.ĮDIT2: Have now been able to go through the original install list one-by-one (sudo port install gcc48 qt4-creator-mac qt4-mac boost freetype) and have only found that one 'dbus' error so far. Thanks to all who helped put together the wiki and build instructions, it's a good place to start for neophytes like me. However, I do use CAD all-day every-day so it's important for me to get it running.

I'm not a developer, so this is kinda new territory for me. I think I'll end up with errors during the build that will provide a bit more guidance, but it would be great if anyone already has this knowledge to share. Tonight I'll start building the main program.ģ) I'm trying to learn more about the dependencies such as Qt and GCC as it seems specific versions are required for specific Librecad versions, but no general instructions as to where to find more information.

I've been using the recommended command line entries given in the wiki, one error I've found is that macports doesn't carry the 'git-core' repository so I'm trying with just 'git' instead (EDIT: 'git' was successful).
Macports install older version how to#
I don't know how to install old port versions (EDIT: see next post for link to that).Ģ) I'm working through the "build from source" method (MacOS 10.8 & older), it has taken a few days so far to build the necessary dependencies. I was not able to find a current port or an old *.DMG file that would be acceptable to the machine. 'port install librecad'), as I believe it was intended for Intel x86 machines rather than on PPCs (nothing wrong with that, but it's not indicated in the wiki). I started on this last week and have the following results to report so far, based on the following machine: PPC G3-450 on OSX 10.4.11.ġ) The macports version gives an error (i.e. Thanks for providing a space to discuss the MacOS build instructions.
