Code:apt-get install autoconf automake make g++
Code:sh autogen.sh ./configure --enable-mysql make
root@Bvbb:~/forgottenserver# sh autogen.sh
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
configure.ac:3: installing `./install-sh'
configure.ac:3: installing `./missing'
Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
root@Bvbb:~/forgottenserver# ./configure --enable-mysql
configure: error: cannot find sources (account.cpp) in . or ..
root@Bvbb:~/forgottenserver# make
make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
root@Bvbb:~/forgottenserver# sh autogen.sh
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 `.'
root@Bvbb:~/forgottenserver# ./configure --enable-mysql
configure: error: cannot find sources (account.cpp) in . or ..
root@Bvbb:~/forgottenserver# make
When i do what you told i have thats warnings :
Code:root@Bvbb:~/forgottenserver# sh autogen.sh 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 configure.ac:3: installing `./install-sh' configure.ac:3: installing `./missing' Makefile.am: installing `./depcomp' autoreconf: Leaving directory `.' root@Bvbb:~/forgottenserver# ./configure --enable-mysql configure: error: cannot find sources (account.cpp) in . or .. root@Bvbb:~/forgottenserver# make make: *** Nie podano obiektów i nie znaleziono makefile. Stop. root@Bvbb:~/forgottenserver# sh autogen.sh 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 `.' root@Bvbb:~/forgottenserver# ./configure --enable-mysql configure: error: cannot find sources (account.cpp) in . or .. root@Bvbb:~/forgottenserver# make
svn co http://svn.otland.net/public/forgottenserver/tags/0.3.1pl2/
cd 0.3.1pl2
okey, compiled done but how run it?
here is my folder with tfs :]
ImageShack - Image Hosting :: zrzutekranu1uw1.png
#!/bin/bash
ulimit -c unlimited
while true; do ./theforgottenserver; done
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... no
configure: error: "Linking against boost::regex library failed."
I get this error,
E: Couldn't find package libboost1.35-dev
how can i fix it?
this what i type
root@ubuntu:~# sudo apt-get install libboost1.35-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libboost1.35-dev
/etc/apt/sources.list
xxxxx:~/TFS# ./autogen.sh
-bash: ./autogen.sh: Nie ma takiego pliku ani katalogu
help ;/
Quote:
xxxxx:~/TFS# ./autogen.sh
-bash: ./autogen.sh: Nie ma takiego pliku ani katalogu
cd source
./autogen.sh
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... no
configure: error: "Linking against boost::regex library failed."
help ;/
same error as some1 other on debian 4.0 etch on ubuntu everything was working and yes i installed boosts.Code:checking for main in -lboost_regex-mt... no checking for main in -lboost_regex... no configure: error: "Linking against boost::regex library failed."
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
Code:wget http://heanet.dl.sourceforge.net/sourceforge/asio/boost_asio_1_0_0.tar.gz
Code:tar -xf boost_asio_1_0_0.tar.gz
Code:sudo cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/
Code:sudo g++ boost_asio_1_0_0/libs/system/src/error_code.cpp -c -o /usr/lib/libboost_system.a
Code: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
ks38164:~# wget [url=http://heanet.dl.sourceforge.net/sourceforge/asio/boost_asio_1_0]SourceForge.net: asio C++ library: Files[/url] _0.tar.gz
--2009-03-08 17:47:10-- [url=http://heanet.dl.sourceforge.net/sourceforge/asio/boost]SourceForge.net: asio C++ library: Files[/url] _asio_1_0_0.tar.gz
Resolving heanet.dl.sourceforge.net... 193.1.193.66, 2001:770:18:aa40::c101:c142
Connecting to heanet.dl.sourceforge.net|193.1.193.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 955947 (934K) [application/x-gzip]
Saving to: `boost_asio_1_0_0.tar.gz'
100%[======================================>] 955,947 1.39M/s in 0.7s
2009-03-08 17:47:11 (1.39 MB/s) - `boost_asio_1_0_0.tar.gz' saved [955947/955947 ]
ks38164:~# tar -xf boost_asio_1_0_0.tar.gz
ks38164:~# sudo cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/
ks38164:~# sudo g++ boost_asio_1_0_0/libs/system/src/error_code.cpp -c -o /usr/l ib/libboost_system.a
ks38164:~# ln /usr/lib/libboost_regex-mt.so /usr/lib/libboost_regex.so && ln /us r/lib/libboost_regex-mt.a /usr/lib/libboost_regex.a && ln /usr/lib/libboost_thre ad-mt.so /usr/lib/libboost_thread.so && ln /usr/lib/libboost_thread-mt.a /usr/li b/libboost_thread.a
ln: accessing `/usr/lib/libboost_regex-mt.so': No such file or directory
ks38164:~/0.3.1pl2# ./theforgottenserver ./theforgottenserver: error while loading shared libraries: libboost_date_time-gcc42-mt-1_34_1.so.1.34.1: cannot open shared object file: No such file or directory
same error as some1 other on debian 4.0 etch on ubuntu everything was working and yes i installed boosts.Code:checking for main in -lboost_regex-mt... no checking for main in -lboost_regex... no configure: error: "Linking against boost::regex library failed."
Most likely libboost1.35.1 didn't install libboost-regex-1.35.1
wget http://switch.dl.sourceforge.net/sourceforge/boost/boost_1_34_1.tar.gz
u have in tutorial that lib1.3.4 it is right ? or outdated guide?Code:wget http://switch.dl.sourceforge.net/sourceforge/boost/boost_1_34_1.tar.gz
apt-get install libboost-regex1.35-dev