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>
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>
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Anyone who has managed to get Miro 2.0.4 running on Centos 5.3 or is it a doomed effort? If so, which version of Miro would be easiest to compile and run on Centos?
-
Inappropriate?Nightlies would be a good bet. If you can pinpoint the underlying issues file some bugs...
-
Inappropriate?I just tried svn, same result:
tv/portable/libtorrent/bindings/python/src/peer_plugin.cpp:131: error: ‘len’ was not declared in this scope
Any hints? Missing dependency?
I’m bummer
Loading Profile...



