Problems installing cvs / errno?

Discussion in 'Python' started by Alex Lapp, Jul 17, 2003.

  1. Alex Lapp

    Alex Lapp Guest

    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
    Alex Lapp, Jul 17, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ddog
    Replies:
    3
    Views:
    580
    Jason Whaley
    Aug 4, 2007
  2. Replies:
    1
    Views:
    587
    GArlington
    Aug 31, 2007
  3. viza

    &errno, sizeof errno

    viza, Sep 12, 2008, in forum: C Programming
    Replies:
    20
    Views:
    972
    Tim Rentsch
    Sep 14, 2008
  4. Glenn Linderman

    errno 22 instead of errno 2

    Glenn Linderman, Jan 28, 2009, in forum: Python
    Replies:
    0
    Views:
    351
    Glenn Linderman
    Jan 28, 2009
  5. David Ross
    Replies:
    5
    Views:
    144
    Nicholas Van Weerdenburg
    Dec 5, 2004
Loading...

Share This Page