Get your own customer support community
 

Miro 2.0.4 won't compile on Centos 5.3

Hi

I tried to get Miro on my Centos 5.3 box, but so far without luck. When I try to compile the source for 2.0.4 I get

peer_plugin.cpp:130: error: ‘len’ was not declared in this scope
error: command 'gcc' failed with exit status 1

Any idea what's missing?

The complete output follows:
libtorrent-rasterbar not installed on this system.
using boost_python
using boost_filesystem
using boost_date_time
using boost_thread

Trying to figure out xpcom_lib, gtkmozembed_lib, and xulrunner_19 values....
using xpcom_lib: 'libxul'
using gtkmozembed_lib: 'libxul'
using xulrunner19: True

Trying to figure out xpcom_runtime_path value....
using xpcom_runtime_path: '/usr/lib/xulrunner-1.9'

Trying to figure out mozilla_lib_path value....
using mozilla_lib_path: '/usr/lib/xulrunner-sdk-1.9/sdk/lib'
/usr/lib/python2.4/distutils/extension.py:133: UserWarning: Unknown Extension options: 'runtime_dirs'
warnings.warn(msg)
Using the Xine driver hack. If you experience trouble playing video,
try setting USE_XINE_HACK to False in setup.py.
running install
running build
running build_py
running build_ext
building 'miro.libtorrent' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/home/mli/Desktop/Miro-2.0.4/portable/libtorrent/include -I/home/mli/Desktop/Miro-2.0.4/portable/libtorrent/include/libtorrent -I/usr/include/python2.4 -c /home/mli/Desktop/Miro-2.0.4/portable/libtorrent/bindings/python/src/peer_plugin.cpp -o build/temp.linux-i686-2.4/home/mli/Desktop/Miro-2.0.4/portable/libtorrent/bindings/python/src/peer_plugin.o -Wno-missing-braces -D_FILE_OFFSET_BITS=64 -DHAVE___INCLUDE_LIBTORRENT_ASIO_HPP=1 -DHAVE___INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE___INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
/home/mli/Desktop/Miro-2.0.4/portable/libtorrent/bindings/python/src/peer_plugin.cpp: In member function ‘bool<unnamed>::peer_plugin_wrap::on_bitfield(boost::python::list)’:
/home/mli/Desktop/Miro-2.0.4/portable/libtorrent/bindings/python/src/peer_plugin.cpp:130: error: ‘len’ was not declared in this scope
error: command 'gcc' failed with exit status 1

Compile successful. Running....
./run.sh: line 58: dist//usr/bin/miro: No such file or directory
</unnamed>
 
sad I’m frustrated
Inappropriate?
2 people have this question

User_default_medium