• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Configuration Ubuntu - From nothing to complete server (TFS, ModernAAC, MySQL, Lighttpd)!

Sorry, how can I compile it with SSL, in the new revs its added, when I use ./configure --enable-mysql I get this error:

configure: error: "Required OpenSSL headers not found."

Thx!
 
Error Wile Copile

PHP:
vps:~/tfs# ./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 `.'
vps:~/tfs# ./configure --enable-mysql
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
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 ceil... 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.6.32)
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
configure: error: "zlib header not found."
 
Code:
onfigmanager.o -MD -MP -MF .deps/configmanager.Tpo -c -o configmanager.o configmanager.cpp
condition.cpp: In member function ‘bool ConditionDamage::doDamage(Creature*, int32_t)’:
condition.cpp:1161: error: no matching function for call to ‘Game::combatBlockHit(CombatType_t&, Creature*&, Creature*&, int32_t&, bool, bool, bool, bool&)’
game.h:592: note: candidates are: bool Game::combatBlockHit(CombatType_t, Creature*, Creature*, int32_t&, bool, bool)
make[1]: *** [condition.o] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
mv -f .deps/configmanager.Tpo .deps/configmanager.Po
make[1]: Opuszczenie katalogu `/home/****/tfs'
make: *** [all] Błąd 2
root@michal-desktop:/home/****/tfs#


Aff.. i don't have any idea how to fix this.. anybody know ?
 
i get a problem i cannot access to my phpmyadmin after sudo apt-get install phpmyadmin
 
PHP:
checking lua.hpp usability... no
checking lua.hpp presence... no
checking for lua.hpp... no
configure: error: "LuaJIT header not found."


vps:~# apt-get install libluajit-5.1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libluajit-5.1-dev
 
PHP:
checking lua.hpp usability... no
checking lua.hpp presence... no
checking for lua.hpp... no
configure: error: "LuaJIT header not found."


vps:~# apt-get install libluajit-5.1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libluajit-5.1-dev

Yeah, I have the same problem. Even if I don't use LuaJIT I still get the no lua headers error.
 
0.4:
Upload the .tar.gz rev to your home directory. And run this:

what u mean with this?
 
when I enter my website has shown the following

403 - Forbidden
 
Stian you should add xCache to the tutorial D: Makes the web site much faster.
 
Back
Top