← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2434: 1. Some changes for compilation in Fedora

 

------------------------------------------------------------
revno: 2434
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Sun 2010-09-12 18:52:20 +0200
message:
  1. Some changes for compilation in Fedora
modified:
  SConstruct
  doc/sphinx/installation.rst


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'SConstruct'
--- SConstruct	2010-09-10 11:30:21 +0000
+++ SConstruct	2010-09-12 16:52:20 +0000
@@ -386,7 +386,8 @@
 			if not conf.TryAction(env.Action('pyrcc4'),'','qrc'): featureNotOK('qt4','The pyrcc4 program is not operational (package pyqt4-dev-tools)')
 			if not conf.TryAction(env.Action('pyuic4'),'','ui'): featureNotOK('qt4','The pyuic4 program is not operational (package pyqt4-dev-tools)')
 			ok=conf.CheckLibWithHeader(['qglviewer-qt4'],'QGLViewer/qglviewer.h','c++','QGLViewer();',autoadd=1)
-			if not ok: featureNotOK('opengl','Building with Qt4 implies the QGLViewer library installed (package libqglviewer-qt4-dev package in debian/ubuntu)')
+			okFedora=conf.CheckLibWithHeader(['libQGLViewer'],'QGLViewer/qglviewer.h','c++','QGLViewer();',autoadd=1)
+			if not (ok or okFedora): featureNotOK('opengl','Building with Qt4 implies the QGLViewer library installed (package libqglviewer-qt4-dev package in debian/ubuntu or libQGLViewer in RPM-based distros)')
 			env['QGLVIEWER_LIB']='qglviewer-qt4';
 	if 'vtk' in env['features']:
 		ok=conf.CheckLibWithHeader(['vtkCommon'],'vtkInstantiator.h','c++','vtkInstantiator::New();',autoadd=1)

=== modified file 'doc/sphinx/installation.rst'
--- doc/sphinx/installation.rst	2010-08-15 04:19:57 +0000
+++ doc/sphinx/installation.rst	2010-09-12 16:52:20 +0000
@@ -64,6 +64,15 @@
 	binutils-gold python-xlib python-qt4 pyqt4-dev-tools \
 	libqglviewer-qt4-dev
 
+command line (cut&paste to the terminal under root privileges) for Fedora (not good tested yet!)::
+	yum install scons qt3-devel freeglut-devel boost-devel boost-date-time \
+	boost-filesystem boost-thread boost-regex fakeroot gcc gcc-c++ boost-iostreams \
+	log4cxx log4cxx-devel python-devel boost-python ipython python-matplotlib \
+	sqlite-devel python-numeric ScientificPython-tk gnuplot doxygen gts-devel \
+	graphviz-python vtk-devel ScientificPython bzr eigen2-devel libQGLViewer-devel \
+	loki-lib-devel python-xlib PyQt4 PyQt4-devel
+
+
 Compilation
 ^^^^^^^^^^^