Nightly build problem on Centos 5.1

Suggestions and discussion of future versions
Post Reply
qwerty7
New User
New User
Posts: 3
Joined: Mon Jun 09, 2008 9:25 pm

Nightly build problem on Centos 5.1

Post by qwerty7 »

Hi, I can't build the current SVN code on a CentOS 5.1 box:

Code: Select all

[pjl@destroyer deluge]$ svn update
At revision 3206.
[pjl@destroyer deluge]$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
[pjl@destroyer deluge]$ python -V
Python 2.4.3
[pjl@destroyer deluge]$ python setup.py build
Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
running build
running build_py
running build_ext
building 'deluge_core' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE
=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mt
une=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I./libtorren
t -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python
2.4 -I/usr/include/python2.4 -c libtorrent/src/storage.cpp -o build/temp.linux-i
686-2.4/libtorrent/src/storage.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_A
SIO____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_SS
L=1 -DNDEBUG=1 -O2
./libtorrent/include/libtorrent/asio/detail/pipe_select_interrupter.hpp: In memb
er function ‘void asio::detail::pipe_select_interrupter::interrupt()’:
./libtorrent/include/libtorrent/asio/detail/pipe_select_interrupter.hpp:74: warn
ing: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declare
d with attribute warn_unused_result
libtorrent/src/storage.cpp: In function ‘void libtorrent::recursive_copy(const P
ath&, const Path&, std::string&)’:
libtorrent/src/storage.cpp:268: error: invalid use of ‘class boost::filesystem::
path’
libtorrent/src/storage.cpp: In function ‘void libtorrent::recursive_remove(const
 Path&)’:
libtorrent/src/storage.cpp:291: error: invalid use of ‘class boost::filesystem::
path’
error: command 'gcc' failed with exit status 1
Any tips? Thanks,

Pat
danii
Seeder
Seeder
Posts: 123
Joined: Tue Oct 23, 2007 10:29 pm
Location: Braga, Portugal

Re: Nightly build problem on Centos 5.1

Post by danii »

It looks something related to Boost do you have Boost development packages installed? check http://deluge-torrent.org/faq.php#4n10
qwerty7
New User
New User
Posts: 3
Joined: Mon Jun 09, 2008 9:25 pm

Re: Nightly build problem on Centos 5.1

Post by qwerty7 »

Yep, boost-devel is installed:

Code: Select all

[root@destroyer ~]# rpm -qi boost-devel
Name        : boost-devel                  Relocations: (not relocatable)
Version     : 1.33.1                            Vendor: CentOS
Release     : 10.el5                        Build Date: Wed 21 Mar 2007 10:13:50 PM GMT
Install Date: Thu 08 May 2008 07:09:35 AM GMT      Build Host: builder5.centos.org
Group       : System Environment/Libraries   Source RPM: boost-1.33.1-10.el5.src.rpm
Size        : 27678846                         License: Boost Software License
Signature   : DSA/SHA1, Wed 04 Apr 2007 12:20:25 AM GMT, Key ID a8a447dce8562897
URL         : http://www.boost.org/
Summary     : The Boost C++ headers and development libraries
Description :
Headers, static libraries, and shared object symlinks for the Boost
C++ libraries
The current 5.x version that's available built fine. I'd just like to run this headless and that's why I wanted to build the current svn trunk release.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Nightly build problem on Centos 5.1

Post by andar »

You cannot run trunk headless. It looks like you might need boost 1.34 or higher to build the latest trunk.
qwerty7
New User
New User
Posts: 3
Joined: Mon Jun 09, 2008 9:25 pm

Re: Nightly build problem on Centos 5.1

Post by qwerty7 »

andar wrote:You cannot run trunk headless.
Well, duh, on my part. :D Grabbed the 0.6 branch and it's still got the same problem...
andar wrote:It looks like you might need boost 1.34 or higher to build the latest trunk.
Bummer... It's not my box so I won't be building a new RPM for an upgraded boost. Thanks for the help.
cherubin
New User
New User
Posts: 3
Joined: Sat Jun 21, 2008 10:50 pm
Location: Germany

Re: Nightly build problem on Centos 5.1

Post by cherubin »

I've been testing building the trunk and the 0.5.9.2 release on a Centos and Scientific Linux 5.1/5.2 machine with newest boost version 1.35.0, it didn't work. Maybe you can create a repository for the RHEL, Centos an SL users?

regards

Chris
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Nightly build problem on Centos 5.1

Post by andar »

cherubin wrote:I've been testing building the trunk and the 0.5.9.2 release on a Centos and Scientific Linux 5.1/5.2 machine with newest boost version 1.35.0, it didn't work. Maybe you can create a repository for the RHEL, Centos an SL users?

regards

Chris
We'd be willing to host the files if someone wants to build them. We don't use any of those distros, so it makes it difficult to build packages for them.
cherubin
New User
New User
Posts: 3
Joined: Sat Jun 21, 2008 10:50 pm
Location: Germany

Re: Nightly build problem on Centos 5.1

Post by cherubin »

Post Reply