[Python-Dev] Compiling Free Cad on Rhel5
Hello to all..Today I was trying to install FreeCAD 0.10 from its source code. I am using RHEL5. I have firstly installed python2.6.5 from source and also tested it. Python is working fine. But when I try to compile FreeCAD 0.10, I got following configure error : #./configure --with-python-include=/usr/local/include/python2.6 --with-python-lib=/usr/local/lib/python2.6 - checking for a Python interpreter with version >= 2.5... python checking for python... /usr/local/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for libpython2.6... no configure: error: Cannot find Python2.6 devel files. -- I also searched internet for python-devel source code but was unable to find any such pacage. Please help me to resolve this python error. Thanks Vikas Mahajan ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Compiling Free Cad on Rhel5
> 1. Please post Python usage related problems to the python-users mailing list: > http://mail.python.org/mailman/listinfo/python-list Sorry for posting here. I am new baby to python so I don't know where to post. I will remember this and will not post irrelevant topics here. > 2. That being said, your specific problem can be resolved by compiling Python > to a dynamic library. You can do this by specifying `--enable-shared` during > the `./configure` phase. Thanks a lot for your help. Your solution helped me a lot. > -- > Best regards, > Ćukasz Langa > tel. +48 791 080 144 > WWW http://lukasz.langa.pl/ -- Regards Vikas Mahajan ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com