latik / xbt

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

xbt_tracker not compilable on Debian Squeeze #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install dependencies:
sudo apt-get install cmake g++ libboost-date-time-dev libboost-dev 
libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev 
libboost-serialization-dev libmysqlclient15-dev make subversion zlib1g-dev
2. retrive latest SVN:
svn co http://xbt.googlecode.com/svn/trunk/xbt/misc xbt/misc
svn co http://xbt.googlecode.com/svn/trunk/xbt/Tracker xbt/Tracker
3. try to compile it
cd xbt/Tracker
./make.sh

What is the expected output? What do you see instead?
I expected the executable xbt_tracker to be generated. Instead, I get several 
pages of errors, starting with

In file included from ../misc/xbt/bt_misc.h:3,
                 from ../misc/bt_misc.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:146: error: ‘class data_ref_base<const char*, const 
void*>’ has no member named ‘pop_front’
[...]

And it goes on and on for several pages...

What version of the product are you using? On what operating system?
Latest version of xbt_tracker. Try to compile it on Debian GNU/Linux 6.0.7 
(squeeze)

Result of "cat /etc/issue":
Linux servername 3.2.13-xxxx-std-ipv6-64 #1 SMP Wed Mar 28 11:20:17 UTC 2012 
x86_64 GNU/Linux

Please provide any additional information below.
mysql-server is installed, as well as all dependencies... I am attaching the 
error log of the compiler.

Original issue reported on code.google.com by alterego...@gmail.com on 5 May 2014 at 3:32

Attachments:

GoogleCodeExporter commented 8 years ago
Upgrade to Wheezy

Original comment by olafvdspek on 5 May 2014 at 9:24

GoogleCodeExporter commented 8 years ago
patlol (share1underground.com)

Hello Olaf

I have the same problem

I am on Mint13 (Debian squeeze )

The reponse at 
apt-get install cmake g++ libboost-dev libmysqlclient-dev make subversion 
zlib1g-dev
is
g++ est déjà la plus récente version disponible.
libboost-dev est déjà la plus récente version disponible.
zlib1g-dev est déjà la plus récente version disponible.
cmake est déjà la plus récente version disponible.
libmysqlclient-dev est déjà la plus récente version disponible.
make est déjà la plus récente version disponible.
subversion est déjà la plus récente version disponible.

I use sources 
svn co http://xbt.googlecode.com/svn/trunk/xbt/misc xbt/misc
svn co http://xbt.googlecode.com/svn/trunk/xbt/Tracker xbt/Tracker

The errors of compiler is, i think, the same as alterego...@gmail.com it's join

I think (i hope) this svn sources are the last version.

I hope this is the version with the management of free leech. We use with 
psylodesign on share-on-underground.com (now share1under...) with joomla 
Visigod's component that can manage (and that worked well) the free leech.

We lost the compiled version that we use and we have archive versions that do 
not support free leech

Thank you

Original comment by olivier....@gmail.com on 8 May 2014 at 10:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I test on the server directly : same type of error
The server :
# cat /etc/issue
Ubuntu 12.04.4 LTS \n \l

# cat /proc/version
Linux version 3.10.23-xxxx-std-ipv6-64 (kernel@kernel.ovh.net) (gcc version 
4.7.2 (Debian 4.7.2-5) ) #1 SMP Mon Dec 9 18:53:52 CET 2013

idem for apt-get install :
g++ est déjà la plus récente version disponible.
libboost-dev est déjà la plus récente version disponible.
zlib1g-dev est déjà la plus récente version disponible.
cmake est déjà la plus récente version disponible.
libmysqlclient-dev est déjà la plus récente version disponible.
make est déjà la plus récente version disponible.
subversion est déjà la plus récente version disponible.

i join the compiler's errors

Original comment by olivier....@gmail.com on 8 May 2014 at 10:47

Attachments:

GoogleCodeExporter commented 8 years ago
g++ -v ?

Original comment by olafvdspek on 11 May 2014 at 7:50

GoogleCodeExporter commented 8 years ago
on sever :
# g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.6 --enable-shared --enable-linker-build-id 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object 
--enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

on local : 
$ g++ -v
Utilisation des specs internes.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configuré avec: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.6 --enable-shared --enable-linker-build-id 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object 
--enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Modèle de thread: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

Original comment by olivier....@gmail.com on 11 May 2014 at 8:22

GoogleCodeExporter commented 8 years ago
4.7 is required

Original comment by olafvdspek on 11 May 2014 at 8:23

GoogleCodeExporter commented 8 years ago
ok i test with 4.7

Original comment by olivier....@gmail.com on 11 May 2014 at 8:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i have not the 4.7 in my Packages repositry i search ...

I have problems of conflict between 4.6 and 4.7 lib

Original comment by olivier....@gmail.com on 11 May 2014 at 9:43

GoogleCodeExporter commented 8 years ago
finally the problem is make.sh indeed after replacing g++ 4.6 by g++-4.7 must 
edit the file
replace :
g++ $@ -DEPOLL -DNDEBUG -I ../misc -I . -O3 -o xbt_tracker -std=c++0x \
...

by :
g++-4.7 $@ -DEPOLL -DNDEBUG -I ../misc -I . -O3 -o xbt_tracker -std=c++0x \
...

And now xbt.googlecode.com/svn/trunk/xbt/misc xbt/misc and 
xbt.googlecode.com/svn/trunk/xbt/Tracker xbt/Tracker
are the correct version (fre leech) ???

Original comment by olivier....@gmail.com on 11 May 2014 at 10:33

GoogleCodeExporter commented 8 years ago
No, freeleech is a paid extra.

Original comment by olafvdspek on 12 May 2014 at 6:35

GoogleCodeExporter commented 8 years ago
luckily I just find the wrong file with free leech

Thank you for your response

Original comment by olivier....@gmail.com on 29 May 2014 at 11:12

GoogleCodeExporter commented 8 years ago
RHEL6, Update GCC to 4.8, but have same error.

$GXX -v
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-2/root/usr/bin/g++
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linu
x/4.8.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/opt/rh/devtoolset-2/root/usr 
--mandir=/opt/rh/devtoolset-2/root/usr/share/man 
--infodir=/opt/rh/devtoolset-2/root/usr/share/info 
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap 
--enable-shared --enable-threads=posix --enable-checking=release 
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-gnu-unique-object --enable-linker-build-id 
--enable-languages=c,c++,fortran,lto --enable-plugin 
--with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj 
--with-isl=/dev/shm/home/centos/rpm/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-l
inux/isl-install 
--with-cloog=/dev/shm/home/centos/rpm/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat
-linux/cloog-install 
--with-mpc=/dev/shm/home/centos/rpm/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-l
inux/mpc-install --with-tune=generic --with-arch_32=i686 
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)

boost 1.41.0

Original comment by heggikaw...@gmail.com on 6 Jun 2014 at 5:24

GoogleCodeExporter commented 8 years ago
1.41? Please try 1.55

Original comment by olafvdspek on 6 Jun 2014 at 6:57

GoogleCodeExporter commented 8 years ago

Original comment by olafvdspek on 1 Sep 2014 at 3:57