I'm sure other people already know this, but I didn't, and couldn't find it documented anywhere, so I'll share what it took to (mostly) build libreCAD on my Fedora 16-64 box.
Step 1) git clone
https://github.com/LibreCAD/LibreCADStep 2) # yum install g++ gcc make git-core libqt4-dev qt4-qmake libqt4-help qt4-dev-tools libboost-all-dev libmuparser-dev libfreetype6-dev
This was a total failure with the following result.
==============================================================
# yum install g++ gcc make git-core libqt4-dev qt4-qmake libqt4-help qt4-dev-tools libboost-all-dev libmuparser-dev libfreetype6-dev
Loaded plugins: langpacks, presto, refresh-packagekit
No package g++ available.
Package gcc-4.6.3-2.fc16.x86_64 already installed and latest version
Package 1:make-3.82-8.fc16.x86_64 already installed and latest version
Package git-1.7.7.6-1.fc16.x86_64 already installed and latest version
No package libqt4-dev available.
No package qt4-qmake available.
No package libqt4-help available.
No package qt4-dev-tools available.
No package libboost-all-dev available.
No package libmuparser-dev available.
No package libfreetype6-dev available.
============================================================
I got that command line from the Ubuntu build instructions, from here. (
http://librecad.org/cms/home/from-source/linux.html)
I didn't expect it to work out of the box, but I thought I'd give it a try. It would be VERY nice if the Fedora and Ubuntu camps could come to a common agreement on package names... LOL
Step 3) yum install qt-creator
I did this as a work around. I figured that installing qt-creator would give me 90% of what I needed to build libreCAD as it is a qt app, after all.
Step4) qt4-make librecad.pro
Step5) make
This resulted in a few build stoppages along the way for various package dependency deficiencies that were NOT addressed in step 2.
In the course of resolving them, I issued the following commands and restarted the make process.
yum install boost-devel
yum install muParser-devel
My build ended with the following error, which I have not yet resolved.
I think this error is unrelated to the build process I used.
===========================================
Reading collection config file...
Generating help for LibreCADdoc.qhp...
Building up file structure...
Insert custom filters...
Insert help data for filter section (1 of 1)...
Insert files...
Insert contents...
Insert indices...
Documentation successfully generated.
Creating collection file...
Cannot open /home/me/libreCAD/LibreCAD/librecad/support/doc/imgs/LibreCADicon.png.
scripts/postprocess-unix.sh: line 28: lrelease: command not found
cp: cannot stat `*.qm': No such file or directory
make[2]: *** [../../unix/librecad] Error 1
make[2]: Leaving directory `/home/me/libreCAD/LibreCAD/librecad/src'
make[1]: *** [sub-src-make_default] Error 2
make[1]: Leaving directory `/home/me/libreCAD/LibreCAD/librecad'
make: *** [sub-librecad-make_default-ordered] Error 2
============================================