Hi,
I am sorry to bother you again. I am trying to install MeshPy on my laptop. It has gentoo linux, python 2.6 and boost 1.35. I am assuming that python headers are also installed because the gentoo system itself is built in python.
I have downloaded MeshPy 0.91.1 and I went to the documentation website.
I have not manually installed Boost, instead there is already a version of boost on my computer.
I configure with the following line:
./configure --boost-inc-dir=/usr/include/ --boost-lib-dir=/usr/lib64 --boost-python-libname=libboost_python-mt
because there exists on the system a directory /usr/include/boost_1-35. Furthermore:
ls -la /usr/lib64/ | grep libboost_python
gives (among others)
lrwxrwxrwx 1 root root 25 2009-10-26 19:34 libboost_python-mt.a -> libboost_python-mt-1_35.a
The configure ends without any echo to the command line. Then I type "make":
rooijen@nozomi ~/python/MeshPy-0.91.1 $ make
ctags -R src || true
/usr/bin/python2.6 setup.py build
running build
running build_py
running build_ext
Sorry, your build failed. Try rerunning configure with different options.
Traceback (most recent call last):
File "setup.py", line 122, in
main()
File "setup.py", line 113, in main
extra_link_args=conf["LDFLAGS"],
File "/home/rooijen/python/MeshPy-0.91.1/aksetup_helper.py", line 12, in setup
setup(*args, **kwargs)
File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/lib64/python2.6/distutils/command/build.py", line 134, in run
self.run_command(cmd_name)
File "/usr/lib64/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/lib64/python2.6/site-packages/setuptools/command/build_ext.py", line 46, in run
_build_ext.run(self)
File "/usr/lib64/python2.6/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib64/python2.6/site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions
self.build_extension(ext)
File "/usr/lib64/python2.6/site-packages/setuptools/command/build_ext.py", line 175, in build_extension
_build_ext.build_extension(self,ext)
File "/usr/lib64/python2.6/distutils/command/build_ext.py", line 460, in build_extension
ext_path = self.get_ext_fullpath(ext.name)
File "/usr/lib64/python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath
filename = self.get_ext_filename(modpath[-1])
File "/usr/lib64/python2.6/site-packages/setuptools/command/build_ext.py", line 85, in get_ext_filename
ext = self.ext_map[fullname]
KeyError: '_triangle'
make: *** [all] Error 1
I honestly don't know what to make of this.... Is this a common error?
Regards,
Wilfred van Rooijen