• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

7.92 linux kompilacja

Reins

Member
Joined
Apr 9, 2009
Messages
586
Reaction score
8
Próbował ktoś kiedyś kompilować silnik 7.92 pod linuxa i wychodziło mu to? Byłby ktoś w stanie w tym pomóc?
 
przy kompilacji korzystam z poradnika otserv.pl - Kompilacja Open Tibia Server, robi się to inaczej niż pod wyższe wersje, przy próbie kompilacji cały czas przy pierwszym pliku account.c++ występują błędy, próbowałem tylu metod z pakietami, źródłami, bibliotekami ale zawsze coś nie trybi... ;/ Source oczywiście mam
 
Zróbmy to na innym przykładzie, znalazłem teraz na necie silnik AueraWar 1.2 TEN SILNIK, żeby nie było że coś wrzucałem od siebie, i jak widzę source jest skompilowane, jak go teraz uruchomić, jak nie ma odpowiedniego pliku do odpalenia przez linuxa ;/
 
No to nawet i ten, TU, ma źródła, ale jak odpalić otserva jakim plikiem ,bo tfs jest to thefotgottenserver, a tutaj nici nie ma;/
 
otserv.ico
otserv.map
otserv.o
otserv.rc
otserv.cpp

No i nie da rady dalej odpalić ;/
 
Czyli Ty go nie kompilowałeś nawet? spróbuj odpalić autogen.sh, configure, make clean, make
 
Ta bo się nakompilowałem..
Code:
bash: ./autogen.sh: /bin/sh^M: bad interpreter: No such file or directory
Spróbuję z tym innym źródłem
 
Usuń te śmieszne zakończenia linii (^M) za pomocą mcedita/nano i spróbuj ponownie.
 
Nawet na nano mam tylko

Code:
#!/bin/sh

aclocal
autoconf
autoheader
automake -a -c
Nie ma znaków

@edit

mcedit

Code:
autogen.sh      
#!/bin/sh^
^
aclocal^
autoconf^
autoheader^
automake -a -c^

Po usunięciu ^, nie wiem czy to o te znaki chodziło...

błędy

Code:
root@:~/ot# ./autogen.sh
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libmcrypt.m4:17:   run info '(automake)Extending aclocal'
/usr/share/aclocal/libmcrypt.m4:17:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:5: required directory ./config does not exist
cp: cannot create regular file `config/config.guess': No such file or directory
configure.in:11: installing `config/config.guess'
configure.in:11:     error while copying
cp: cannot create regular file `config/config.sub': No such file or directory
configure.in:11: installing `config/config.sub'
configure.in:11:     error while copying
cp: cannot create regular file `config/install-sh': No such file or directory
configure.in:14: installing `config/install-sh'
configure.in:14:     error while copying
cp: cannot create regular file `config/missing': No such file or directory
configure.in:14: installing `config/missing'
configure.in:14:     error while copying
cp: cannot create regular file `config/depcomp': No such file or directory
Makefile.am: installing `config/depcomp'
Makefile.am:     error while copying
 
Last edited:
Po usunięciu tych znaków (^) przy próbie wpisaniu ./autogen.sh występuje
Code:
root@reins:~/zxc# ./autogen.sh
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libmcrypt.m4:17:   run info '(automake)Extending aclocal'
/usr/share/aclocal/libmcrypt.m4:17:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
root@reins:~/zxc#

Pomoże ktoś z tym całym problemem, zasiadam już przy nim kilkudziesięciokrotny raz i nigdy nie mogę go zrealizować -.-
 
Chyba usunąłeś trochę za dużo, usuń to jakimś automatem, np za pomocą nano przekonwertuj z Windowsowego formatu.
 
Back
Top