如何安装:
问题在于ubuntu 9.04 uses python 2.6 instead of python 2.5, which makes the previous build of cgal-python0.9.3 invalid. Need to rebuild cgal-python.
Since the newest CGAL version is 3.4, we upgrade it from 3.3.
--------------------------
install boost-python
still use libboost-python1.34.1. note that 1.37.0 does not make the cgal-python building correct. If 1.37.0 exists, remove from synatic.
sudo apt-get install libboost-python1.34.1
sudo apt-get install libboost-python-dev
-------------------------
install CGAL 3.4
1. download
http://gforge.inria.fr/frs/?group_id=52
2. sudo apt-get install cmake
3. follow the instruction of INSTALL under CGAL-3.4 directory
cmake .
4. make
5. sudo make install
------------------------
install cgal-python0.9.4 beta1 (the latest. I guess 0.9.3 is also OK.)
download the package, and do
export CPATH=/usr/include/python2.6:$CPATH
export LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH
python setup.py build
python setup.py install (possibly as root)
没有评论:
发表评论