imsparsh / pyffmpeg

Automatically exported from code.google.com/p/pyffmpeg
0 stars 0 forks source link

Can not install pyffmeg under ASrch Linux #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pythons setup.py build

What is the expected output? What do you see instead?
I see traceback with error

What version of the product are you using? On what operating system?
pyffmpeg-1.9.0beta, Arch Linux

Please provide any additional information below.

Traceback (most recent call last):
  File "setup.py", line 130, in <module>
    **meta_data
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/usr/lib/python2.6/site-packages/Cython/Distutils/build_ext.py", line 83, in 
build_extensions
    self.build_extension(ext)
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 524, in build_extension
    libraries=self.get_libraries(ext),
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 763, in get_libraries
    return ext.libraries + [pythonlib]

Original issue reported on code.google.com by trez...@gmail.com on 21 Apr 2010 at 7:55

GoogleCodeExporter commented 9 years ago
Thanks for your error report,

1 comment and 2 questions before to give you answer :

1. Try to run build_ext instead of build.
2. Please provide the exact error message of the exception. (not only the 
traceback,
but also the exception that occurred)
3. Please indicate the version of Cython installed in your system.

Bertrand Nouvel

Original comment by bertrand...@gmail.com on 22 Apr 2010 at 7:22

GoogleCodeExporter commented 9 years ago
1. Same situation with build_ext
2. Full output in an attached file
3. cython 0.12.1

Original comment by trez...@gmail.com on 22 Apr 2010 at 10:14

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, the bugfix should consists in changing the line 

libs = ('avformat', 'avcodec', 'avutil', 'swscale')

into

libs = ['avformat', 'avcodec', 'avutil', 'swscale']

in setup.py.

I will update the files accordingly in next release.
Please can you confirm it works for you ?

Original comment by bertrand...@gmail.com on 22 Apr 2010 at 10:26

GoogleCodeExporter commented 9 years ago
I can confirm, it is working. Thanks.

Original comment by trez...@gmail.com on 22 Apr 2010 at 7:09