Wystarczy chcie? poszuka? .A ma mo?e kto? repozytoria pod Ubuntu 9.04 z tymi dobrymi libbost?Bo ja mam ale z?e jak co? to podajcie jak mo?ecie
apt-get install 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
Odinstaluj wcze?niejszego boosta i wpisz co jest poni?ej zainstalujesz w tedy libboost 1.40:ja uzywam debiana 5.0 lenny i mi tez nie wchodza ( co zrobic ;] tylko pisac normalnie a nie zgadywac ! !
wget http://ftp.pl.debian.org/debian/pool/main/b/boost1.40/libboost1.40-all-dev_1.40.0-6+b1_i386.deb
dpkg -i libboost1.40-all-dev_1.40.0-6+b1_i386.deb
apt-get install 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
--enable-root-permission
> WARNING: The Forgotten Server has been executed as root user! It is recommended to execute as a normal user.
Continue? (y/N)
02 2 * * * root /root/tfs && ./theforgottenserver && y || ( cd / && run-parts --report /etc/cron.daily )
./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag --enable-root-permission
ztego co widze logoujesz sie jako root ;] musisz uruchomic to chyba zwyk?ym userem jesli nie masz to zrob sobie zwykle konto ;] wydajem mi sie ze zadziala to w 99%executed as root user!
chmod -R 777 /var/www
APT::Cache-Limit "125829120";
Tu chyba ci czego? brakuje01 2 * * * root /root/theforgottenserver && ./theforgottenserver || ( cd / && run-parts --report /etc/cron.daily )
po co? lepiej zmieni? nazwe a nie robi? burdel z symlinkami.ln -s automysqlbackup.sh.2.5 automysqlbackup.sh
Oczywi?cieCzy mogliby?cie da? sources.list bazuj?c na tym poradniku? Mam DEBIANA 5.0 64 bit LAMP!
deb ftp://mir1.ovh.net/debian/ lenny main contrib non-free
deb-src ftp://mir1.ovh.net/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
Mysle ze tak nie powinno byc po configure niemam zadnych bledow ale po komendzie make po jakims czasie kompilacji mam takie cos :autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
exception.Tpo -c -o exception.o exception.cpp
mv -f .deps/exception.Tpo .deps/exception.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__REMOTE_CONTROL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT fileloader.o -MD -MP -MF .deps/fileloader.Tpo -c -o fileloader.o fileloader.cpp
mv -f .deps/fileloader.Tpo .deps/fileloader.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__REMOTE_CONTROL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cpp
virtual memory exhausted: Cannot allocate memory
make[1]: *** [game.o] Error 1
make[1]: Leaving directory `/root/0.3.5pl1'
make: *** [all] Error 2
Masz b??d, ale stawiam ?e jest to winna z kt?rego? z pakietu.virtual memory exhausted: Cannot allocate memory
Dobze czy zle?USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 2036 612 ? Ss Jun20 2:14 init [2]
root 26 0.0 0.0 100 12 ? S Jun20 0:03 [init-logger]
root 929 0.0 0.5 8264 2860 ? Rs 12:23 0:00 sshd: root@pts/
root 932 0.0 0.3 2924 1604 pts/0 Ss 12:23 0:00 -bash
root 939 0.0 0.1 2356 924 pts/0 R+ 12:24 0:00 ps aux
www-data 1621 0.0 1.0 34940 5320 ? S Jun26 0:00 /usr/sbin/apach
clamav 4366 0.0 0.1 3080 996 ? Ss Jun20 0:53 /usr/bin/freshc
107 8812 0.0 0.0 2584 500 ? Ss Jun26 0:00 /usr/bin/dbus-d
root 11703 0.0 0.2 2572 1168 ? S Jun26 0:00 /bin/sh /usr/bi
mysql 11815 0.0 3.4 136872 17876 ? Sl Jun26 0:07 /usr/sbin/mysql
root 11816 0.0 0.1 1676 540 ? S Jun26 0:00 logger -t mysql
root 15327 0.0 0.2 3196 1500 ? Ss Jun26 0:00 SCREEN
root 15328 0.0 0.3 2944 1604 pts/4 Ss+ Jun26 0:00 /bin/bash
root 15330 0.0 0.3 2944 1608 pts/5 Ss+ Jun26 0:00 /bin/bash
root 17569 0.0 0.3 2944 1648 pts/6 Ss+ Jun26 0:00 /bin/bash
root 21402 0.0 0.2 28340 1328 ? Sl Jun23 0:00 /usr/sbin/rsysl
daemon 21585 0.0 0.0 1812 500 ? Ss Jun23 0:00 /sbin/portmap
root 22138 0.0 0.6 8288 3612 ? S Jun23 0:01 python /usr/sbi
root 22218 0.0 0.6 23496 3512 ? Sl Jun23 0:50 /usr/bin/python
root 24801 0.0 0.8 34228 4676 ? Ss Jun23 0:03 /usr/sbin/apach
www-data 24804 0.0 1.0 34808 5724 ? S Jun23 0:00 /usr/sbin/apach
www-data 24805 0.0 1.2 35416 6308 ? S Jun23 0:00 /usr/sbin/apach
www-data 24806 0.0 1.0 34808 5520 ? S Jun23 0:00 /usr/sbin/apach
www-data 24807 0.0 1.0 34816 5620 ? S Jun23 0:00 /usr/sbin/apach
www-data 24808 0.0 1.1 35112 5908 ? S Jun23 0:00 /usr/sbin/apach
www-data 25555 0.0 1.1 35104 5984 ? S Jun23 0:00 /usr/sbin/apach
root 25932 0.0 0.1 2932 948 ? Ss Jun23 0:00 SCREEN
root 25933 0.0 0.2 2908 1292 pts/1 Ss+ Jun23 0:00 /bin/bash
root 27586 0.0 0.1 2296 816 ? Ss Jun23 0:00 /usr/sbin/cron
daemon 27614 0.0 0.0 2164 340 ? Ss Jun23 0:00 /usr/sbin/atd
root 27720 0.0 0.1 5500 780 ? Ss Jun23 0:00 /usr/sbin/sshd
proftpd 28302 0.0 0.1 5548 984 ? Ss Jun23 0:00 proftpd: (accep
root 28416 0.0 0.2 2932 1160 ? Ss Jun23 0:00 SCREEN
root 28417 0.0 0.2 2908 1496 pts/2 Ss+ Jun23 0:00 /bin/bash
www-data 29366 0.0 1.1 35152 6172 ? S Jun25 0:00 /usr/sbin/apach
root 30473 0.0 0.2 2932 1128 ? Ss Jun26 0:00 SCREEN
root 30474 0.0 0.2 2924 1560 pts/3 Ss+ Jun26 0:00 /bin/bash