- Joined
- Jul 25, 2007
- Messages
- 382
- Reaction score
- 38
Trying to compile 0.2.5 and there's no autogen.sh.
Hello, i have a problem when i try to install libboost1.35-dev i get this error:
elf says something about the sources.list but what do i have to put here? I always have got this problem when i try to compile :\, The OS is Debian etch.
root@centrala:~/ots/0.3.2$ sh autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
/usr/bin/m4: unrecognized option '--gnu'
Try `/usr/bin/m4 --help' for more information.
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
root@centrala:~/ots/0.3.2$ ./configure --enable-mysql --enable-sqlite --enable-remote-control --enable-server-diag
bash: ./configure: Nie ma takiego pliku ani katalogu
root@centrala:~/ots/0.3.2$
******:/home/ots/Serwer 0.3.5/source# ./autogen.sh
./autogen.sh: line 1: autoreconf: command not found
gbr3:/home/tfs/trunk.r2629# ./autogen.sh
autoreconf2.50: Entering directory `.'
autoreconf2.50: configure.ac: not using Gettext
autoreconf2.50: running: aclocal --force
autoreconf2.50: configure.ac: tracing
autoreconf2.50: configure.ac: not using Libtool
autoreconf2.50: running: /usr/bin/autoconf --force
autoreconf2.50: running: /usr/bin/autoheader --force
autoreconf2.50: running: automake --add-missing --copy --force-missing
configure.ac:3: require Automake 1.10, but have 1.9.6
autoreconf2.50: automake failed with exit status: 1
hiho, wheen im try use autogen.sh (svn version 0.3.5pl1) im have this error:
anybody can help me??
Debian 5.0 Lenny
apt-get install autoconf
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... no
checking for main in -lboost_system... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... no
checking for main in -lboost_date_time... yes
checking for main in -lboost_filesystem-gcc-mt... no
checking for main in -lboost_filesystem-mt... no
checking for main in -lboost_filesystem... no
configure: error: "Linking against boost::filesystem library failed."
mis:~# cd "/home/ots/Serwer 0.3.5/source"
e --enable-remote-control --enable-server-diaggure --enable-mysql --enable-sqlit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /home/ots/Serwer: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for floor... yes
checking for ftime... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.6.5... yes (version 2.7.3)
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init2 in -lgmp... yes
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... no
checking for main in -lboost_system... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... yes
checking for main in -lboost_filesystem-gcc-mt... no
checking for main in -lboost_filesystem-mt... no
checking for main in -lboost_filesystem... no
configure: error: "Linking against boost::filesystem library failed."
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... no
3. Ok, you have installed everything required to compile- easy, huh? Now you may do 'the job'.
Here's an compilation example for TFS 0.3.1pl2:
If you receive a linker error saying something with 'libboost', try pasting the following commands to terminal and then move back to compiling again:
Code:cd ~
Code:wget http://garr.dl.sourceforge.net/sourceforge/asio/boost_asio_1_0_0.tar.gz
Code:tar -xzf boost_asio_1_0_0.tar.gz
Code:cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/
Code: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
Code:ln /usr/lib/libboost_regex-mt.a /usr/lib/libboost_regex.a
Code:ln /usr/lib/libboost_thread-mt.so /usr/lib/libboost_thread.so
Code:ln /usr/lib/libboost_thread-mt.a /usr/lib/libboost_thread.a
Code:ldconfig
Code:cd ~
Code:rm -rf boost_asio_1_0_0
root@rxx35:/home/xxxxx# cd forgottenserver
root@rxxx35:/home/xxxxx/forgottenserver# ./autogen.sh
bash: ./autogen.sh: No such file or directory
root@rxxx35:/home/xxxx/forgottenserver#
r27235:~# cd forgottenserver
r27235:~/forgottenserver# ./autogen.sh
-bash: ./autogen.sh: Nie ma takiego pliku ani katalogu
r27235:~/forgottenserver#
: (/usr/bin/ld: cannot find -llua5.1-sql-sqlite
collect2: ld returned 1 exit status
make: *** [forgottenserver] Błąd 1
@up
same, but I'm using tfs 0.2.2 :<
in Makefile-llua5.1-sql-sqlite
A server developed by Elf, Talaturen, Lithium, Kiper, Kornholijo, Jonern & Nightmare.
Visit our forum for updates, support and resources: http://otland.net.
>> Loading config (config.lua)
> ERROR: Unable to load config.lua!
root@xxx-desktop:/home/xxx/forgottenserver/source# ./autogen.sh
bash: ./autogen.sh: No such file or directory
root@xxx-desktop:/home/xxx/forgottenserver/source# sh autogen.sh
sh: Can't open autogen.sh
cory@cory-desktop:~/forgottenserver$ /home/cory/forgottenserver/theforgottenserver
The Forgotten Server, version 0.3.1 (Crying Damson)
A server developed by Elf, Talaturen, Lithium, Kiper, Kornholijo, Jonern & Nightmare.
Visit our forum for updates, support and resources: http://otland.net.
>> Loading config (config.lua)
> Using plaintext passwords
>> Loading RSA key
>> Starting SQL connection
>> Running Database Manager
sqlite3_step(): SQLITE ERROR: attempt to write a readonly database
sqlite3_step(): SQLITE ERROR: attempt to write a readonly database
> No tables were optimized.
>> Loading items
>> Loading vocations
>> Loading script systems
>> Loading outfits
>> Loading experience stages
>> Loading monsters
>> Loading map and spawns...
> Map size: 1000x1000.
> Map descriptions:
Saved with Remere's Map Editor 1.1.4
SimOne MapEditor 0.5.0
> Map loading time: 1.358 seconds.
> Data loading time: 0.099 seconds.
> Unserialization time for houses: 0.003 seconds.
> Unserialization time for map: 0.18 seconds.
>> Loading administration protocol
>> Checking world type... PvP
>> Checking software version... outdated, please consider updating!
> Current version information - version: 0.3.1, patch: 2, build: 1231, timestamp: 1234289760.
> Latest version information - version: 0.3.5, patch: 1, build: 2576, timestamp: 1249584126.
>> All modules were loaded, server starting up...
sqlite3_step(): SQLITE ERROR: attempt to write a readonly database
sqlite3_step(): SQLITE ERROR: attempt to write a readonly database
sqlite3_step(): SQLITE ERROR: attempt to write a readonly database
> ERROR: Failed to save account: 1!
>> Forgotten server Online!
terminate called after throwing an instance of 'boost::system::system_error'
what(): Address already in use
Aborted
cory@cory-desktop:~/forgottenserver$
terminate called after throwing an instance of 'boost::system::system_error'
what(): Address already in use
Aborted