Subscribe

./make.sh error in xbt install on centos

  1. 2011-04-18 05:45:22 PDT
    ./make.sh ../misc/bt_misc.cpp:4:29: error: boost/foreach.hpp: No such file or directory ../misc/bt_misc.cpp: In function ‘std::string escape_string(const std::string&)’: ../misc/bt_misc.cpp:19: error: expected primary-expression before ‘char’ ../misc/bt_misc.cpp:19: error: ‘BOOST_FOREACH’ was not declared in this scope ../misc/bt_misc.cpp:20: error: expected `;’ before ‘{‘ token ../misc/bt_misc.cpp:354: error: expected `}’ at end of input ../misc/bvalue.cpp:4:29: error: boost/foreach.hpp: No such file or directory ../misc/bvalue.cpp: In member function ‘int Cbvalue::pre_read() const’: ../misc/bvalue.cpp:289: error: expected primary-expression before ‘i’ ../misc/bvalue.cpp:289: error: ‘BOOST_FOREACH’ was not declared in this scope ../misc/bvalue.cpp:290: error: expected `;’ before ‘v’ ../misc/bvalue.cpp:296: error: expected primary-expression before ‘i’ ../misc/bvalue.cpp:296: error: ‘BOOST_FOREACH’ was not declared in this scope ../misc/bvalue.cpp:297: error: expected `;’ before ‘v’ In file included from config.cpp:1: stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory In file included from connection.cpp:1: stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory In file included from epoll.cpp:1: stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory In file included from server.cpp:1: stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory server.cpp: In member function ‘int Cserver::run()’: server.cpp:43: error: expected primary-expression before ‘j’ server.cpp:43: error: ‘BOOST_FOREACH’ was not declared in this scope server.cpp:44: error: expected `;’ before ‘{‘ token server.cpp:966: error: expected `}’ at end of input In file included from tcp_listen_socket.cpp:1: stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory In file included from tracker_input.cpp:1: stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory In file included from transaction.cpp:1: stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory In file included from udp_listen_socket.cpp:1: stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory In file included from XBT Tracker.cpp:1: stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory plz help me to overcome this error up to this i got correctlyy
  2. 2011-04-18 05:48:23 PDT
    Use Boost 1.42+
  3. 2011-04-18 05:49:21 PDT
    tanks for giving re how ican get it
  4. 2011-04-18 05:50:19 PDT
    http://lmgtfy.com/?q=boost
  5. 2011-04-18 05:52:59 PDT
    any cammands to install
  6. 2011-04-18 05:53:38 PDT
    Read the documentation. Or buy support. ;)
  7. 2011-04-18 05:54:05 PDT
    can i install 1.44
  8. 2011-04-18 06:01:43 PDT
    I don't know. You tell me. ;) 1.44 should work.
  9. 2011-04-18 07:06:53 PDT
    You can check my install guide on http://www.visigod.com/xbt-tracker/installation
  10. 2011-04-18 09:24:50 PDT
    ./bjam install ...found 14 targets... ...updating 8 targets... common.mkdir bin.v2 common.mkdir bin.v2/libs common.mkdir bin.v2/libs/regex common.mkdir bin.v2/libs/regex/build common.mkdir bin.v2/libs/regex/build/gcc-4.1.2 common.mkdir bin.v2/libs/regex/build/gcc-4.1.2/debug gcc.compile.c++ bin.v2/libs/regex/build/gcc-4.1.2/debug/has_icu_test.o libs/regex/build/has_icu_test.cpp:12:30: error: unicode/uversion.h: No such file or direc tory libs/regex/build/has_icu_test.cpp:13:28: error: unicode/utypes.h: No such file or directo ry libs/regex/build/has_icu_test.cpp:14:27: error: unicode/uchar.h: No such file or director y libs/regex/build/has_icu_test.cpp:15:26: error: unicode/coll.h: No such file or directory libs/regex/build/has_icu_test.cpp:26:2: warning: no newline at end of file libs/regex/build/has_icu_test.cpp: In function 'int main()': libs/regex/build/has_icu_test.cpp:23: error: 'UErrorCode' was not declared in this scope libs/regex/build/has_icu_test.cpp:23: error: expected `;' before 'err' libs/regex/build/has_icu_test.cpp:24: error: 'UChar32' was not declared in this scope libs/regex/build/has_icu_test.cpp:24: error: expected `;' before 'c' libs/regex/build/has_icu_test.cpp:25: error: 'err' was not declared in this scope "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -DBOOST_ALL_NO_LIB=1 -DBO OST_HAS_ICU=1 -I"." -c -o "bin.v2/libs/regex/build/gcc-4.1.2/debug/has_icu_test.o" "libs /regex/build/has_icu_test.cpp" ...failed gcc.compile.c++ bin.v2/libs/regex/build/gcc-4.1.2/debug/has_icu_test.o... ...skipped <pbin.v2/libs/regex/build/gcc-4.1.2/debug>has_icu for lack of <pbin.v2/libs/re gex/build/gcc-4.1.2/debug>has_icu_test.o... ...failed updating 1 target... ...skipped 1 target... ...updated 6 targets... Performing configuration checks - has_icu builds : no warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user-config.jam ...found 46 targets... ...updating 5 targets... common.mkdir bin.v2/libs/math common.mkdir bin.v2/libs/math/config common.mkdir bin.v2/libs/math/config/gcc-4.1.2 common.mkdir bin.v2/libs/math/config/gcc-4.1.2/debug gcc.compile.c++ bin.v2/libs/math/config/gcc-4.1.2/debug/has_long_double_support.o ...updated 5 targets... - ../config//has_long_double_support builds : yes warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. i got dis error ha can u help ha
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.