Koci1994
Banned User
- Joined
- Dec 27, 2008
- Messages
- 807
- Reaction score
- 1
WItam mam problem z kompilacja robie wszystko co w readme i nie weim co potem zrboic.
Mógłby ktos powiedziec jak to dokladnie zrobic i po Polsku ;p Uzywam Ubuntu 8.04
Debian \ Ubuntu
Launch a terminal, and paste in the following commands:
sudo apt-get install libboost1.35-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 libsqlite0 libsqlite0-dev libsqlite3-0 libsqlite3-dev sqlite3 lua5.1 libmysql++-dev libgmp3-dev subversion make g++ libxml2 libxml2-dev libxml++2.6-dev libmysqlclient15-dev mysql-client-5.0 mysql-common mysql-server-5.0 gcc cpp automake autoconf pkg-config
sudo: command not found
If you're running Debian it's possible that you don't have sudo,
if that's the case then you can run 'su' and you will have root
access. Then execute the commands without 'sudo' in the beginning.
Download sources
Launch a terminal, and paste in this command:
svn co Revision 48: /tags/0.3b1
Compiling
Launch a terminal, and type this:
cd 0.3a4 && ./autogen.sh && ./configure --enable-mysql --enable-server-diag && make
Linker error
If you receive a linker error saying something with 'libboost', try pasting the following commands to terminal and then move back to compiling again:
wget http://heanet.dl.sourceforge.net/sourceforge/asio/boost_asio_1_0_0.tar.gz
tar -xf boost_asio_1_0_0.tar.gz
sudo cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/
sudo g++ boost_asio_1_0_0/libs/system/src/error_code.cpp -c -o /usr/lib/libboost_system.a
ln /usr/lib/libboost_regex-mt.so /usr/lib/libboost_regex.so && ln /usr/lib/libboost_regex-mt.a /usr/lib/libboost_regex.a && ln /usr/lib/libboost_thread-mt.so /usr/lib/libboost_thread.so && ln /usr/lib/libboost_thread-mt.a /usr/lib/libboost_thread.a
Mógłby ktos powiedziec jak to dokladnie zrobic i po Polsku ;p Uzywam Ubuntu 8.04