PDA

View Full Version : Not sure if the right place


Xencored
08-14-2009, 02:44 PM
Not sure if the right place but worth a try might get some help with this :D

Am trying to install a scriped with SSH
But i keep getting this


In file included from config.h:8,
from XBT Tracker.cpp:3:
../misc/config_base.h:8:38: error: boost/algorithm/string.hpp: No such file or directory
../misc/config_base.h: In member function 'std::istream& Cconfig_base::load(std::istream&)':
../misc/config_base.h:39: error: 'boost' has not been declared
../misc/config_base.h:39: error: 'boost' has not been declared
In file included from config.h:8,
from config.cpp:2:
../misc/config_base.h:8:38: error: boost/algorithm/string.hpp: No such file or directory
../misc/config_base.h: In member function 'std::istream& Cconfig_base::load(std::istream&)':
../misc/config_base.h:39: error: 'boost' has not been declared
../misc/config_base.h:39: error: 'boost' has not been declared
connection.cpp:1:38: error: boost/algorithm/string.hpp: No such file or directory
../misc/config_base.h: In member function 'std::istream& Cconfig_base::load(std::istream&)':
../misc/config_base.h:39: error: 'boost' has not been declared
../misc/config_base.h:39: error: 'boost' has not been declared
connection.cpp: In member function 'int Cconnection::recv()':
connection.cpp:96: error: 'boost' has not been declared
connection.cpp:98: error: 'boost' has not been declared
In file included from config.h:8,
from server.h:9,
from peer_link.cpp:5:
../misc/config_base.h:8:38: error: boost/algorithm/string.hpp: No such file or directory
../misc/config_base.h: In member function 'std::istream& Cconfig_base::load(std::istream&)':
../misc/config_base.h:39: error: 'boost' has not been declared
../misc/config_base.h:39: error: 'boost' has not been declared
In file included from config.h:8,
from server.h:9,
from server.cpp:2:
../misc/config_base.h:8:38: error: boost/algorithm/string.hpp: No such file or directory
../misc/config_base.h: In member function 'std::istream& Cconfig_base::load(std::istream&)':
../misc/config_base.h:39: error: 'boost' has not been declared
../misc/config_base.h:39: error: 'boost' has not been declared
In file included from config.h:8,
from server.h:9,
from tcp_listen_socket.cpp:4:
../misc/config_base.h:8:38: error: boost/algorithm/string.hpp: No such file or directory
../misc/config_base.h: In member function 'std::istream& Cconfig_base::load(std::istream&)':
../misc/config_base.h:39: error: 'boost' has not been declared
../misc/config_base.h:39: error: 'boost' has not been declared
tracker_input.cpp:5:38: error: boost/algorithm/string.hpp: No such file or directory
tracker_input.cpp:7: error: 'boost' is not a namespace-name
tracker_input.cpp:7: error: expected namespace-name before ';' token
tracker_input.cpp: In member function 'bool Ctracker_input::banned() const':
tracker_input.cpp:107: error: 'starts_with' was not declared in this scope
tracker_input.cpp:143: error: 'starts_with' was not declared in this scope
tracker_input.cpp:148: error: 'starts_with' was not declared in this scope
In file included from config.h:8,
from server.h:9,
from transaction.h:8,
from transaction.cpp:2:
../misc/config_base.h:8:38: error: boost/algorithm/string.hpp: No such file or directory
../misc/config_base.h: In member function 'std::istream& Cconfig_base::load(std::istream&)':
../misc/config_base.h:39: error: 'boost' has not been declared
../misc/config_base.h:39: error: 'boost' has not been declared
In file included from config.h:8,
from server.h:9,
from transaction.h:8,
from udp_listen_socket.cpp:4:
../misc/config_base.h:8:38: error: boost/algorithm/string.hpp: No such file or directory
../misc/config_base.h: In member function 'std::istream& Cconfig_base::load(std::istream&)':
../misc/config_base.h:39: error: 'boost' has not been declared
../misc/config_base.h:39: error: 'boost' has not been declared
../misc/bt_tracker_url.cpp:4:38: error: boost/algorithm/string.hpp: No such file or directory
../misc/bt_tracker_url.cpp:6: error: 'boost' is not a namespace-name
../misc/bt_tracker_url.cpp:6: error: expected namespace-name before ';' token
../misc/bt_tracker_url.cpp: In member function 'void Cbt_tracker_url::write(const std::string&)':
../misc/bt_tracker_url.cpp:45: error: 'istarts_with' was not declared in this scope


Am sure all the files are in the right place even tho it keeps saying "No such file or directory"
is there anything other than not in the right place which would give me this problem
ive been reading on something called G++ ihave no idea what it is tho lol

Thanks

Lynne
08-14-2009, 03:10 PM
Not only do the files have to be there, but they need to be readable. Make sure they really are there in the place the script thinks it will be (in relation to whatever directory you are in).

Marco van Herwaarden
08-14-2009, 03:14 PM
The only place where you can get real answers on this would be the site where you got this software.

Xencored
08-14-2009, 03:55 PM
Not only do the files have to be there, but they need to be readable. Make sure they really are there in the place the script thinks it will be (in relation to whatever directory you are in).

Done it
I will post what i did for anyone with the same problem


Installing XBT Tracker under Linux

The following dependencies are needed to compile. The g++ version should be at least 3.4.

g++
libboost-dev
libboost-program-options-dev
libmysqlclient15-dev
subversion
zlib1g-dev

The following commands can be used to install some of the dependencies on Fedora Core. The g++ version should be at least 3.4.

yum install boost-devel

Enter the following commands in a terminal. Be patient while g++ is running, it'll take a few minutes.

cd xbt/Tracker
./make.sh

Starting under Linux
Enter the following commands in a terminal.

./xbt_tracker

Thanks Lynne and Marco for the help
@Marco support is down at vbitty thats why i thought i would try here hope it was ok
Mike:D