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
Wiadomość napisana przez Vikas Mahajan w dniu 2010-07-28, o godz. 13:21:
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 :
1. Please post Python usage related problems to the python-users mailing list: http://mail.python.org/mailman/listinfo/python-list 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. -- Best regards, Łukasz Langa tel. +48 791 080 144 WWW http://lukasz.langa.pl/
On 28/07/2010 12:21, Vikas Mahajan wrote:
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 :
Hello Vikas, This list is for the discussion of the development *of* Python, not developing *with* Python. A more appropriate list to use would be the python-list (also known as comp.lang.python). Other Python lists are referenced here: http://www.python.org/community/lists/ Having said that, it is common for Linux distributions to package the bits needed to compile Python separately from their distribution of Python itself (a horrible practise). You probably need to install the python-devel package using your package manager. All the best, Michael
#./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/fuzzyman%40voidspace.org.u...
-- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
Hello. We are sorry but we cannot help you. This mailing list is to work on developing Python (adding new features to Python itself and fixing bugs); if you're having problems learning, understanding or using Python, please find another forum. Probably python-list/comp.lang.python mailing list/news group is the best place; there are Python developers who participate in it; you may get a faster, and probably more complete, answer there. See http://www.python.org/community/ for other lists/news groups/fora. Thank you for understanding. python-devel should be a package in your distribution - check the list of packages. On Wed, Jul 28, 2010 at 04:51:47PM +0530, Vikas Mahajan wrote:
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
Oleg. -- Oleg Broytman http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
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
participants (4)
-
Michael Foord
-
Oleg Broytman
-
Vikas Mahajan
-
Łukasz Langa