- Joined
- Dec 11, 2007
- Messages
- 3,666
- Solutions
- 1
- Reaction score
- 125
- Location
- Warsaw, Poland
- GitHub
- tayandenga
- Twitch
- tayandenga
Updated with latest libs and NOTEs regarding TFS 0.2.
apt-get install libboost1.37-dev libboost-system1.37-dev libboost-filesystem1.37-dev libboost-date-time1.37-dev libboost-regex1.37-dev libboost-thread1.37-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev
apt-get install libboost1.35-dev libboost-system1.35-dev libboost-filesystem1.35-dev libboost-date-time1.35-dev libboost-regex1.35-dev libboost-thread1.35-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev
exist in Karmic repos btw (and personally i Run Jaunty Jaguar, with Karmic GCC 4.4-release/libs, better binary code and from personal experience, no problems with it )Just updating one thing for ubuntu users:
Since 1.38 does not exist i have updated the apt-get list with 1.37
Code:apt-get install libboost1.37-dev libboost-system1.37-dev libboost-filesystem1.37-dev libboost-date-time1.37-dev libboost-regex1.37-dev libboost-thread1.37-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev
and heres is 1.35 if 1.37 does not work
Code:apt-get install libboost1.35-dev libboost-system1.35-dev libboost-filesystem1.35-dev libboost-date-time1.35-dev libboost-regex1.35-dev libboost-thread1.35-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev
Note: tfs wouldn't compile for me with libboost1.37 but 1.35 worked
deb http://no.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://no.archive.ubuntu.com/ubuntu/ karmic main restricted
try: {Hi, I using Linux Debian 5.03
it's my errors:
Pls help me :/
Not Found
The requested URL /phpmyadmin/ was not found on this server.
Apache/2.2.14 (Debian) Server at IP Port 80
[B]root@poriqq-desktop:~/forgottenserver# mv data doc config.lua forgottenserver.s3db forgottenserver.sql schema.sqlite forgottenserver ..
mv: nie można wykonać stat na `data': No such file or directory
mv: nie można wykonać stat na `doc': No such file or directory
mv: nie można wykonać stat na `config.lua': No such file or directory
mv: nie można wykonać stat na `forgottenserver.s3db': No such file or directory
mv: nie można wykonać stat na `forgottenserver.sql': No such file or directory
mv: nie można wykonać stat na `schema.sqlite': No such file or directory
mv: nie można wykonać stat na `forgottenserver': No such file or directory[/B]
that question deserves it's own thread, and has nothing to do with "compiling TFS on linux" >.< however...I have problem with phpmyadmin.
When going to http://IP/phpmyadmin/
Errors
Not Found
The requested URL /phpmyadmin/ was not found on this server.
Apache/2.2.14 (Debian) Server at IP Port 80
Srry for my english.
Please help ;x
Dont f*in spam. however what about just tryingCode:[B]root@poriqq-desktop:~/forgottenserver# mv data doc config.lua forgottenserver.s3db forgottenserver.sql schema.sqlite forgottenserver .. mv: nie można wykonać stat na `data': No such file or directory mv: nie można wykonać stat na `doc': No such file or directory mv: nie można wykonać stat na `config.lua': No such file or directory mv: nie można wykonać stat na `forgottenserver.s3db': No such file or directory mv: nie można wykonać stat na `forgottenserver.sql': No such file or directory mv: nie można wykonać stat na `schema.sqlite': No such file or directory mv: nie można wykonać stat na `forgottenserver': No such file or directory[/B]
And i dont know what do now :/
(nie można wykonać stat means that you can't make stat(istics ?) on '...')
mv * ../
I know, i must change sources.list but i don't know that i must copy link.libboost1.38-dev libboost-system1.38-dev libboost-filesystem1.38-dev libboost-date-time1.38-dev libboost-regex1.38-dev libboost-thread1.38-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev
apt-get install libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev
after didconfigure: error: "Linking against boost::regex library failed."
./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag
i have problem with phpmyadmin.
When going to http://ip/phpmyadmin/
errors
srry for my english.
Please help ;x
apt-get install phpmyadmin
cp /etc/phpmyadmin/apache.conf /etc/apache2/sites-available/phpmyadmin
a2ensite phpmyadmin
/etc/init.d/apache2 restart
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
/usr/local/include/boost/system/error_code.hpp:175: undefined reference to `boost::system::get_posix_category()'
game.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
/usr/local/include/boost/system/error_code.hpp:175: undefined reference to `boost::system::get_posix_category()'
otserv.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
otserv.o:/usr/local/include/boost/system/error_code.hpp:175: more undefined references to `boost::system::get_posix_category()' follow
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Błąd 1
make[1]: Opuszczenie katalogu `/root/tfs'
make: *** [all] Błąd 2
static const error_category & posix_category = get_posix_category();
static const error_category & errno_ecat = get_posix_category();
checking whether we are cross compiling... no
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... yes
root@twins-desktop:/home/twins/forgottenserver# ./autogen.sh
bash: ./autogen.sh: No such file or directory
root@twins-desktop:/home/twins/forgottenserver# ./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag
bash: ./configure: No such file or directory
root@twins-desktop:/home/twins/forgottenserver# make
make: *** No targets specified and no makefile found. Stop.