From: Haoyu B. <div...@gm...> - 2010-04-25 06:56:54
|
Hi, On Wed, Apr 7, 2010 at 6:59 AM, Nicholas Yue <yue...@gm...> wrote: > $ls /opt/python/v3.1.1/bin > 2to3 idle3 pydoc3 python3 python3.1 python3.1-config > python3-config > > When I tried to configure swig with the following > > $./configure --with-python3=/opt/python/v3.1.1/bin/python3 > > It is still unable to find Python3 files > > --output from configure-- > checking for /opt/python/v3.1.1/bin/python3-config... no The problem should be start from here. As in your ls result, python3-config appears in your /opt/python/v3.1.1/bin but configure failed at here? Could you check if the file is really exists? (It should be a link to python3.1-config, so you should check if the link is broken.) > checking for python3-config... no > checking for python3.0-config... python3.0-config > checking for Python 3.x prefix... /usr > checking for Python 3.x exec-prefix... /usr > checking for Python 3.x version... python3.1 > checking for Python 3.x lib dir... lib > checking for Python 3.x header files... -I/usr/include/python3.0 > -I/usr/include/python3.0 > checking for Python 3.x library... Not found > > Any ideas/recommendations ? > > BTW, I have also tried > > $./configure --with-python3=/opt/python/v3.1.1/bin/python3.1 > > Similar errors Could you post what's the error when you point it to python3.1? Is there still a "checking for /opt/python/v3.1.1/bin/python3-config... no" ? -- Haoyu BAI School of Computing, National University of Singapore. |