summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
1 files changed, 18 insertions, 11 deletions
diff --git a/README.md b/README.md
index 1f8ada8..9da6386 100644
--- a/README.md
+++ b/README.md
@@ -117,20 +117,26 @@ compilation process.
After that, follow the Compilation instructions below.
-### Building for newer Ubunutu
+### Building for newer Linux distributions
-sudo apt-get install libqt4-dev libqt4-opengl-dev libxmu-dev cmake \
- libglew1.5-dev bison flex libeigen2-dev git-core libboost-all-dev \
- libXi-dev libcgal-dev libopencsg-dev libopencsg1
+First, make sure that you have development tools installed to get GCC.
+Then after you've cloned this git repository, use a package manager to
+download packages for the dependency libraries listed above. Convenience
+scripts are provided for some popular systems:
-Check your library versions against the list above. After that, follow
-the Compilation instructions below.
+Ubuntu, Debian: ./scripts/ubuntu-build-dependencies.sh
+OpenSUSE: ./scripts/opensuse-build-dependencies.sh
+Fedora, Redhat: ./scripts/fedora-build-dependencies.sh
-### Building for older Linux or without root access
+Check your library versions to make sure they meet the minimum
+requirements listed above. After that follow the Compilation
+instructions below.
-First, make sure that you have compiler tools (build-essential on ubuntu).
-Then after you've cloned this git repository, run the script that sets up the
-environment variables.
+### Building for older Linux or building without root access
+
+First, make sure that you have development tools installed to get GCC.
+Then after you've cloned this git repository, run the script that sets
+up the environment variables.
source ./scripts/setenv-linbuild.sh
@@ -138,6 +144,7 @@ Then run the script to download & compile all the prerequisite libraries above:
./scripts/linux-build-dependencies.sh
+Then add LD_LIBRARY_PATH=$HOME/openscad_deps to your ~/.bashrc
After that, follow the Compilation instructions below.
### Building for Windows
@@ -157,5 +164,5 @@ Then run make. Finally you might run 'make install' as root or simply copy the
If you had problems compiling from source, raise a new issue in the
[issue tracker on the github page](https://github.com/openscad/openscad/issues).
-The four subsections of this site can also be helpful:
+This site and it's subpages can also be helpful:
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_OpenSCAD_from_Sources
contact: Jan Huwald // Impressum