All files from http://slackbuilds.org/repository/12.0/ ... /rtorrent/
Changed the version of rtorrent to the used one in rtorrent.SlackBuild to 0.9.2
And the most recent sources: libtorrent-0.13.2.tar.gz and rtorrent-0.9.2.tar.gz from http://libtorrent.rakshasa.no/
It results in this error:
Code: Select all
configure:2438: checking for a BSD-compatible install
configure:2506: result: /usr/bin/ginstall -c
configure:2517: checking whether build environment is sane
configure:2567: result: yes
configure:2708: checking for a thread-safe mkdir -p
configure:2747: result: /usr/bin/mkdir -p
configure:2760: checking for gawk
configure:2776: found /usr/bin/gawk
configure:2787: result: gawk
configure:2798: checking whether make sets $(MAKE)
configure:2820: result: yes
configure:2936: checking for cppunit-config
configure:2967: result: no
configure:2977: checking for Cppunit - version >= 1.9.6
configure:2981: result: no
configure:3102: checking for g++
configure:3118: found /usr/bin/g++
configure:3129: result: g++
configure:3156: checking for C++ compiler version
configure:3165: g++ --version >&5
g++ (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3176: $? = 0
configure:3165: g++ -v >&5
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/specs
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/4.5.2/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../gcc-4.5.2/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc,lto --enable-threads=posix --enable-checking=release --with-system-zlib --with-python-dir=/lib64/python2.6/site-packages --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 4.5.2 (GCC)
configure:3176: $? = 0
configure:3165: g++ -V >&5
g++: '-V' option must have argument
configure:3176: $? = 1
configure:3165: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:3176: $? = 1
configure:3196: checking whether the C++ compiler works
configure:3218: g++ -O2 -march=i486 -mtune=i686 conftest.cpp >&5
conftest.cpp:1:0: error: CPU you selected does not support x86-64 instruction set
configure:3222: $? = 1
configure:3260: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "rtorrent"
| #define PACKAGE_TARNAME "rtorrent"
| #define PACKAGE_VERSION "0.9.2"
| #define PACKAGE_STRING "rtorrent 0.9.2"
| #define PACKAGE_BUGREPORT "jaris@ifi.uio.no"
| #define PACKAGE_URL ""
| #define API_VERSION 6
| #define PACKAGE "rtorrent"
| #define VERSION "0.9.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3265: error: in `/tmp/SBo/rtorrent-0.9.2':
configure:3267: error: C++ compiler cannot create executables
Any ideas why it fails at the g++ / C++ part?
Is it because g++ not uses
Code: Select all
g++: '-V' option must have argument
Code: Select all
root@porteus:/# g++ --version
g++ (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.