Help wanted to build on MacOS

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Help wanted to build on MacOS

fa201
The documentation of LibreCAD is currently being refreshed and reshaped.

The section "Build from source" was copied from the current Wiki to the new site (readthedocs.io). We need some people to run the building from source on MacOS to check if everything is fine and up-to-date. The purpose is to follow the given directions and to report any issue, any missing step or any change in parameter.

Even if the build is OK, please report the status along with the MacOS version used.
Thank you.

Fabrice.
Reply | Threaded
Open this post in threaded view
|

Re: Help wanted to build on MacOS

txgraeme
This post was updated on .
Thanks for providing a space to discuss the MacOS build instructions.  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.

1)  The macports version gives an error (i.e. '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 was not able to find a current port or an old *.DMG file that would be acceptable to the machine.  I don't know how to install old port versions (EDIT: see next post for link to that).

2)  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'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).  Tonight I'll start building the main program.

3)  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 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.

I'm not a developer, so this is kinda new territory for me.  However, I do use CAD all-day every-day so it's important for me to get it running.  Thanks to all who helped put together the wiki and build instructions, it's a good place to start for neophytes like me.
Reply | Threaded
Open this post in threaded view
|

Re: Help wanted to build on MacOS

txgraeme
This post was updated on .
So far I've been able to progress until the 'qmake' instructions, at which point I got a command not found.  
EDIT: 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.  
EDIT2:  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.  qt4-mac@4.8.7_8 installed okay, but qt4-creator-mac@2.8.1_2 is the current problem.
EDIT3:  Was able to follow advice on installing older ports (https://trac.macports.org/wiki/howto/InstallingOlderPort) to install earlier version of dbus more agreeable to my system  (@1.10.24).  
EDIT4:  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.  Now looking for a different method to do it.  In the meantime I'm following the wiki about installing older port to install an older version of LibreCAD@2.0.8, but still hoping to get the newest version to build eventually.
-I'm not able to progress any farther, so putting aside for the moment. If anyone has tips to suggest it would be great.  Thanks!