compiling extension using distutils and visual studio 2003

Discussion in 'Python' started by markybob, Jun 28, 2007.

  1. markybob

    markybob Guest

    I'm trying to get Deluge ported to work on Windows, but unfortunately
    I can't seem to figure how to fix this error. Any help would be
    *greatly* appreciated. First off, here's the code to the setup.py
    file (http://dev.deluge-torrent.org/browser/trunk/setup.py?
    rev=809&format=txt)
    And here is the error:
    C:\Documents and Settings\James\Desktop\deluge>python setup.py build
    Attempting to detect your system information
    Couldn't detect CPU architecture
    Windows system detected
    Libraries mt
    running build
    running build_py
    creating build
    creating build\lib.win32-2.5
    creating build\lib.win32-2.5\deluge
    copying src\common.py -> build\lib.win32-2.5\deluge
    copying src\core.py -> build\lib.win32-2.5\deluge
    copying src\deluge_stats.py -> build\lib.win32-2.5\deluge
    copying src\dgtk.py -> build\lib.win32-2.5\deluge
    copying src\dialogs.py -> build\lib.win32-2.5\deluge
    copying src\interface.py -> build\lib.win32-2.5\deluge
    copying src\ipc_manager.py -> build\lib.win32-2.5\deluge
    copying src\plugins.py -> build\lib.win32-2.5\deluge
    copying src\pref.py -> build\lib.win32-2.5\deluge
    copying src\__init__.py -> build\lib.win32-2.5\deluge
    running build_ext
    building '_deluge_core' extension
    creating build\temp.win32-2.5
    creating build\temp.win32-2.5\Release
    creating build\temp.win32-2.5\Release\src
    creating build\temp.win32-2.5\Release\libtorrent
    creating build\temp.win32-2.5\Release\libtorrent\src
    creating build\temp.win32-2.5\Release\libtorrent\src\kademlia
    Traceback (most recent call last):
    File "setup.py", line 335, in <module>
    cmdclass=cmdclass
    File "c:\python25\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
    File "c:\python25\lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
    File "c:\python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
    File "setup.py", line 293, in run
    _build.run(self)
    File "c:\python25\lib\distutils\command\build.py", line 112, in run
    self.run_command(cmd_name)
    File "c:\python25\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
    File "c:\python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
    File "c:\python25\lib\distutils\command\build_ext.py", line 290, in
    run
    self.build_extensions()
    File "c:\python25\lib\distutils\command\build_ext.py", line 416, in
    build_exte
    nsions
    self.build_extension(ext)
    File "c:\python25\lib\distutils\command\build_ext.py", line 481, in
    build_exte
    nsion
    depends=ext.depends)
    File "c:\python25\lib\distutils\ccompiler.py", line 697, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "c:\python25\lib\distutils\cygwinccompiler.py", line 150, in
    _compile
    extra_postargs)
    TypeError: can only concatenate list (not "str") to list

    C:\Documents and Settings\James\Desktop\deluge>
     
    markybob, Jun 28, 2007
    #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. Kieran Kelly
    Replies:
    3
    Views:
    854
    Shaji
    Sep 29, 2003
  2. wh
    Replies:
    2
    Views:
    533
    Cowboy \(Gregory A. Beamer\)
    Jan 16, 2004
  3. rockdale
    Replies:
    1
    Views:
    621
    Juan T. Llibre
    Aug 23, 2006
  4. xman
    Replies:
    0
    Views:
    518
  5. xman
    Replies:
    1
    Views:
    617
    Victor Bazarov
    Aug 17, 2005
Loading...

Share This Page