Problems installing cvs / errno?
Alex Lapp
alex.lapp at bpanet.de
Thu Jul 17 06:04:00 EDT 2003
Hi again,
i found a solution for my csv problem. There is a freebsd port wich
installs the module correctly. But now i need a module called PIL. This
is not available as freebsd port so i hav to install it manually.
After download and doing configure / make in the libImaging directory i
got a similar error like installing the csv module manually.
(python setup.py build)
-snip-
not copying PIL/XVThumbImagePlugin.py (output up-to-date)
running build_ext
building '_imaging' extension
cc -Os -pipe -mcpu=i686 -march=pentiumpro -D_THREAD_SAFE -fPIC
-IlibImaging -I/usr/local/include/python2.1 -c _imaging.c -o
build/temp.freebsd-4.8-RELEASE-i386-2.1/_imaging.o
Traceback (most recent call last):
File "setup.py", line 306, in ?
ext_modules = MODULES,
File "/usr/local/lib/python2.1/distutils/core.py", line 138, in setup
dist.run_commands()
File "/usr/local/lib/python2.1/distutils/dist.py", line 899, in
run_commands
self.run_command(cmd)
File "/usr/local/lib/python2.1/distutils/dist.py", line 919, in
run_command
cmd_obj.run()
File "/usr/local/lib/python2.1/distutils/command/build.py", line 106,
in run
self.run_command(cmd_name)
File "/usr/local/lib/python2.1/distutils/cmd.py", line 328, in
run_command
self.distribution.run_command(command)
File "/usr/local/lib/python2.1/distutils/dist.py", line 919, in
run_command
cmd_obj.run()
File "/usr/local/lib/python2.1/distutils/command/build_ext.py", line
256, in run
self.build_extensions()
File "/usr/local/lib/python2.1/distutils/command/build_ext.py", line
383, in build_extensions
self.build_extension(ext)
File "/usr/local/lib/python2.1/distutils/command/build_ext.py", line
457, in build_extension
extra_postargs=extra_args)
File "/usr/local/lib/python2.1/distutils/unixccompiler.py", line 150,
in compile
self.spawn(self.compiler_so + cc_args +
File "/usr/local/lib/python2.1/distutils/ccompiler.py", line 826, in
spawn
spawn (cmd, verbose=self.verbose, dry_run=self.dry_run)
File "/usr/local/lib/python2.1/distutils/spawn.py", line 38, in spawn
_spawn_posix(cmd, search_path, verbose, dry_run)
File "/usr/local/lib/python2.1/distutils/spawn.py", line 108, in
_spawn_posix
exec_fn(cmd[0], cmd)
File "/usr/local/lib/python2.1/os.py", line 291, in execvp
_execvpe(file, args)
File "/usr/local/lib/python2.1/os.py", line 305, in _execvpe
from errno import ENOENT, ENOTDIR
ImportError: No module named errno
error: command 'cc' failed with exit status 1
-snip-
It seems like i have problems installing python modules generally. Does
anybody knows this problem?
Thank you,
Alex
More information about the Python-list
mailing list