Problems installing cvs / errno?

A

Alex Lapp

Hi ng,

i have a problem installing cvs module from:
http://www.object-craft.com.au/projects/csv/

My Python version is: Python 2.1.3
(Not the latest, but i need this version for running Zope Application
Server)

I downloaded the package (csv-1.0) and tried to install with python
setup.py install. But i got following errormessages:

-snip-
running install
running build
running build_ext
building 'csv' extension
skipping csv.c (build/temp.freebsd-4.8-RELEASE-i386-2.1/csv.o up-to-date)
cc -shared -pthread build/temp.freebsd-4.8-RELEASE-i386-2.1/csv.o -o
build/lib.freebsd-4.8-RELEASE-i386-2.1/csv.so
Traceback (most recent call last):
File "setup.py", line 63, in ?
license = 'BSD - see file LICENCE',
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/install.py", line
480, in run
self.run_command('build')
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.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
475, in build_extension
build_temp=self.build_temp)
File "/usr/local/lib/python2.1/distutils/ccompiler.py", line 663, in
link_shared_object
extra_preargs, extra_postargs, build_temp)
File "/usr/local/lib/python2.1/distutils/unixccompiler.py", line 235,
in link
self.spawn(self.linker_so + ld_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-

Is there a problem with the errno module? Can i install the module
manually. I can compile the csv.c code manual to a csv.o object. How can
i compile the source to a python object?

Any other ideas?

Thanks and forgive my bad english, ;)
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top