Jump to content
  • Announcements

    • Xmat

      Pravidlo pro postování v TTT

      Do sekce Tipy, triky, tutoriály nepatří žádné dotazy.   Postujte sem vaše návody, tipy a různé další věci jež uznáte za vhodné sdělit zdejšímu osazenstvu, ale veškeré dotazy směřujte do sekce Všeobecná diskuse.
    • Replik

      Seznam návodů a důležitých témat v této sekci

      Pro lepší přehlednost jsem vytvořil tento seznam, který vás, méně zkušené, lépe provede touto sekcí. Věřím, že zde najdete, co hledáte. Vypsané jsou návody, které jsou oficiálně uznané jako návody. Běžné diskuze, které neposkytují postupy a rady zvěřejněny nejsou.   Instalace vlastního MaNGOS Serveru Díky těmto návodům budete (měli by jste být) schopni vytvořit a následně spustit váš vlastní server. Nastavení je pro verze s i bez datadisku.   Instalace MaNGOS Serveru (bez datadisku TBC) - Autor Benny Instalace MaNGOS Serveru (s datadiskem TBC) - Autor Malfik Instalace MaNGOS Serveru v prostředí Linux - Autor charlie Instalace MaNGOS Serveru v prostředí Linux - Autor kupkoid   Chyby a jejich řešení při přihlašování k serveru - Autor Cybe   Zálohování uživatelských dat   Dávkový soubor (BAT soubor) pro vytvoření SQL záloh - Autor Replik   Kompilování - tvoření vlastních release (revizí)   Tvorba kompilací pro Win32 (MangoScript) - Autor bLuma   Ostatní - těžko zařaditelné, ale neznamená to, že nejsou dobré   VIP Systém - Autor charlie Tvorba Webových stránek pro MaNGOS - Autor zahuba Tvorba teleportačních NPC (MangoScript) - Autor Replik Registrační web (původně předělaná SPORA) Funkční pro Antrix i MaNGOS - Autor Replik Nastavení a spuštění Minimanager pro MaNGOS - Autor BlackMartin Nastavení MaNGOS Website - Autor Artorius   Samozřejmě jsou zde i jiné návody, ale tyto jsou nejvíce používané, proto věřím, že vám budou nápomocné. Tuto sekci budeme upravovat podle potřeby. Pokud by jste něco nenašli nebo si nevěděli rady, hledejte na fóru a teprve potom založte vlastní topik. Pokud nějaký autor vytvoří kvalitní návod a chtěl by ho zveřejnit i v tomto seznamu, doporučuji, aby mi napsal zprávu skrze PM.   Díky a přeji hezký den na WoWResource   Replik
    • Aristo

      Příspěvky tam, kde nemají co dělat

      Dodržujte zákaz přispívání do topiků s repaky pokud si to zakladatelé nepřejí!! Opakované psaní příspěvků bude trestáno warnem.
    • Aristo

      Používání spoilerů

      Poslední dobou má většina uživatelů fora zvláštní nutkání postovat extrémně dlouhé texty nebo kódy, které zabírají v nejedenom případu i 80% obsahu celé stránky a hodně tak zvedají nepřehlednost v topiku. Chtěl bych všechny uživatele požádat, aby při postování citací, jakýchkoliv kódů, errorů, atp... delších než 30 řádků používali funkci spoileru.   Funkci vyvoláte příkazem [spoiler] text [/spoiler]   Ukázka:  
Sign in to follow this  
t-wist7

Chyba při kompilaci mangosu pod Ubuntu

Recommended Posts

Mám OS Ubuntu Server+LAMP do kterého jsem si doinstaloval GUI protože to s linuxem neumím.

Při kompilaci mi to vyhazuje nějaké chyby... :pinch: Myslím že jsem nainstaloval všechny potřebné knihovny ale stejně nemohl by sem někdo hodit jejich seznam?

screenshotuy1.th.png

:huh:

BTW nejde mi spustit synaptic zkoušel jsem apt-get remove a znova ho nainstalovat ale pořád nic.

...

Díky za každou pomoc

Share this post


Link to post
Share on other sites

na ubuntu je mangos kompilacia o nieco odlisna. niektore baliky neziskas apt-get install ale musis ich stiahnut z netu takze neverim ze si vsetky baliky nainstaloval

Share this post


Link to post
Share on other sites
sudo apt-get install build-essential libtool libmysql++-dev autoconf automake1.9 subversion zlibc zlib1g-dev libssl-dev

 

 

lol method ty si zavislak :D:D

Share this post


Link to post
Share on other sites

nejsem zavislak : o) jen mam vse potrebne vzdy po ruce

 

btw mozna bych se jeste podival na mysql-server a mysql-klient baliky ... dystak zkus vyhledat presny nazvy apt-cache search mysql-

Edited by Method-man

Share this post


Link to post
Share on other sites

Nevím co dělám špatně... můj postup:

(mám v home složce vytvořenou složku mangos a v ní složky mangos a arena)

cd mangos

svn checkout https://mangos.svn.sourceforge.net/svnroot/mangos/trunk mangos

svn checkout https://scriptdev2.svn.sourceforge.net mangos/src/bindings/ScriptDev2

svn checkout http://svn2.assembla.com/svn/mangarena arena

(nakopíruju arena.patch do složky mangos)

cd mangos

patch -p0 -i arena.patch

autoreconf --install --force

autoconf

./configure --prefix=/home/vojta/mangos/mangos --sysconfdir=/home/vojta/mangos/mangos/etc with-python --enable-cli --enable-ra -datadir=/home/vojta/mangos/mangos

 

screenshot1iv7.th.png

Všechno co jsi psal jsem měl kromě "libssl-dev". A místo "automake1.9" jsem instaloval jen "automake"

Teď to asi nejde ani konfigurovat.

(smazal jsem to a udělal znovu svn checkout)

Edited by t-wist7

Share this post


Link to post
Share on other sites
nastav si veskery repozitory pro stahovani a pak pouzij ten muj prikaz najednou ... jako jeden prikaz ! ... a musi ti to jit ...

zkusim reinstall systemu nejde to :sleeping::hammer::crybaby:

Share this post


Link to post
Share on other sites

Tak nevím zápasím s tím až do teď a nic

Nainstaluju ubuntu (s LAMP)

sudo apt-get install ubuntu-desktop

-reboot

sudo apt-get install build-essential libtool libmysql++-dev autoconf automake1.9 subversion zlibc zlib1g-dev libssl

cd /home/vojta/

mkdir mangos

svn checkout https://mangos.svn.sourceforge.net/svnroot/mangos/trunk

svn checkout https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2 trunk/src/bindings/ScriptDev2

svn checkout http://svn2.assembla.com/svn/mangarena arena

-nakopiruju arena.patch do slozky trunk

cd trunk

patch -p0 -i arena.patch

autoreconf --install --force (nic se nedeje)

autoconf (zase nic)

./configure --prefix=/home/vojta/mangos/trunk --sysconfdir=/home/vojta/mangos/trunk/etc with-python --enable-cli --enable-ra -datadir=/home/vojta/mangos/trunk

 

co delam spatne?? :hammer: HAMMER TIME

Share this post


Link to post
Share on other sites
Tak nevím zápasím s tím až do teď a nic

Nainstaluju ubuntu (s LAMP)

sudo apt-get install ubuntu-desktop

-reboot

sudo apt-get install build-essential libtool libmysql++-dev autoconf automake1.9 subversion zlibc zlib1g-dev libssl

cd /home/vojta/

mkdir mangos

svn checkout https://mangos.svn.sourceforge.net/svnroot/mangos/trunk

svn checkout https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2 trunk/src/bindings/ScriptDev2

svn checkout http://svn2.assembla.com/svn/mangarena arena

-nakopiruju arena.patch do slozky trunk

cd trunk

patch -p0 -i arena.patch

autoreconf --install --force (nic se nedeje)

autoconf (zase nic)

./configure --prefix=/home/vojta/mangos/trunk --sysconfdir=/home/vojta/mangos/trunk/etc with-python --enable-cli --enable-ra -datadir=/home/vojta/mangos/trunk

 

co delam spatne?? :hammer: HAMMER TIME

 

Vyprdnul bych se na lamp pri instalaci a popripade ho doinstaloval az potom jesli to opravdu potrebujes ale podle me by to apache resil daleko lip:) A jeste si doinstaluju tu mysql jak rikal metod

 

EDIT: JEste jak koukam na ten posledni obrazek tak tam nemas naistalovany zadnej compiler (g++ a gcc )

Edited by clon4flame

Share this post


Link to post
Share on other sites

Chjo :sleeping:

sudo apt-get install g++ (pise ze je jiz nejnovejsi verze)

sudo apt-get install gcc (zase je jiz nejnovejsi verze)

:pinch:

a kdyz dam autoreconf --install --force pise ze to nema pristup (permission denied 13) tzn musim dat sudo to nechapu predtim to nedelalo

autoconf nereaguje jako by nic... :(

jeste k tomu mysql jake mam stahnout baliky?

Apache i php bezi bezvadne a asi i mysql kdyz se pripojim pres phpmyadmina (apache php ani mysql jsem nestahoval porad lamp) tak to fachci bezvadne

BTW nevi nekdo jak mam pod linuxem nastavit abych se mohl pripojit na mysql jako root z jinyho pc?

Edited by t-wist7

Share this post


Link to post
Share on other sites
Chjo :sleeping:

sudo apt-get install g++ (pise ze je jiz nejnovejsi verze)

sudo apt-get install gcc (zase je jiz nejnovejsi verze)

:pinch:

a kdyz dam autoreconf --install --force pise ze to nema pristup (permission denied 13) tzn musim dat sudo to nechapu predtim to nedelalo

autoconf nereaguje jako by nic... :(

jeste k tomu mysql jake mam stahnout baliky?

Apache i php bezi bezvadne a asi i mysql kdyz se pirpojim pres phpmyadmina

 

Dělej to podle charlieho návodu, je podrobný a funkční

 

Share this post


Link to post
Share on other sites

jo to jsem zapomněl připsat B) taky jsem na to koukal..

Už mě to štve koupil jsem novou mašinu složil jí dokupy a teď nemůžu zkompilovat dmntní mangos... Dělám se s tím už 3. den a pořád nic

Jednou to jít musí ;)

Share this post


Link to post
Share on other sites
vypis posledni chybu co ti to hlasi :-D

 

tady je vypis

 

vojta@twister7-server:~/mangos/mangos$ patch -p0 -i arena.patch
The program 'patch' is currently not installed.  You can install it by typing:
sudo apt-get install patch
bash: patch: command not found
vojta@twister7-server:~/mangos/mangos$ sudo apt-get install patch
[sudo] password for vojta: 
Čtu seznamy balíků... Hotovo
Vytvářím strom závislostí       
Reading state information... Hotovo
The following packages were automatically installed and are no longer required:
 lib32gomp1 libc6-i386 lib32gcc1 libc6-dev-i386
Use 'apt-get autoremove' to remove them.
Navrhované balíky:
 diff-doc
Následující NOVÉ balíky budou nainstalovány:
 patch
0 aktualizováno, 1 nově instalováno, 0 k odstranění a 0 neaktualizováno.
Potřebuji stáhnout 97,8kB archivů.
After this operation, 197kB of additional disk space will be used.
Mám:1 http://cz.archive.ubuntu.com hardy/main patch 2.5.9-4 [97,8kB]
Staženo 97,8kB za 0s (168kB/s)
Instaluji balík patch.
(Čtu databázi ... nyní je nainstalováno 97083 souborů a adresářů.)
Rozbaluji patch (z .../patch_2.5.9-4_amd64.deb) ...
Nastavuji balík patch (2.5.9-4) ...
vojta@twister7-server:~/mangos/mangos$ patch -p0 -i arena.patch
(Stripping trailing CRs from patch.)
patching file src/game/ArenaTeam.cpp
(Stripping trailing CRs from patch.)
patching file src/game/ArenaTeam.h
(Stripping trailing CRs from patch.)
patching file src/game/ArenaTeamHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGround.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGround.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundAB.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundBE.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundBE.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundEY.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundMgr.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundMgr.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundNA.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundNA.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundRL.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundRL.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundWS.cpp
(Stripping trailing CRs from patch.)
patching file src/game/CharacterHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Chat.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Chat.h
(Stripping trailing CRs from patch.)
patching file src/game/Group.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Group.h
(Stripping trailing CRs from patch.)
patching file src/game/ItemPrototype.h
(Stripping trailing CRs from patch.)
patching file src/game/Language.h
(Stripping trailing CRs from patch.)
patching file src/game/Level1.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Level3.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Map.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Map.h
(Stripping trailing CRs from patch.)
patching file src/game/MapInstanced.cpp
(Stripping trailing CRs from patch.)
patching file src/game/MapInstanced.h
(Stripping trailing CRs from patch.)
patching file src/game/MapManager.cpp
(Stripping trailing CRs from patch.)
patching file src/game/MiscHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/MovementHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/ObjectMgr.h
(Stripping trailing CRs from patch.)
patching file src/game/Player.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Player.h
(Stripping trailing CRs from patch.)
patching file src/game/Spell.cpp
(Stripping trailing CRs from patch.)
patching file src/game/SpellEffects.cpp
(Stripping trailing CRs from patch.)
patching file src/game/SpellHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Unit.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Unit.h
(Stripping trailing CRs from patch.)
patching file src/game/World.cpp
(Stripping trailing CRs from patch.)
patching file src/game/World.h
(Stripping trailing CRs from patch.)
patching file src/game/WorldSession.cpp
(Stripping trailing CRs from patch.)
patching file src/mangosd/mangosd.conf.in
(Stripping trailing CRs from patch.)
patching file src/shared/Database/DBCStructure.h
vojta@twister7-server:~/mangos/mangos$ autoreconf --install
configure.ac:23: installing `./install-sh'
configure.ac:23: installing `./missing'
dep/src/g3dlite/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
vojta@twister7-server:~/mangos/mangos$ ./configure --prefix=/home/vojta/mangos/mangos/ --sysconfdir=/home/vojta/mangos/mangos/
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking for pthread_create in -lpthread... yes
checking for compress in -lz... yes
checking for ftime in -lcompat... no
checking for SHA1_Init in -lcrypto... no
configure: error: Missing openssl
vojta@twister7-server:~/mangos/mangos$ ./configure --prefix=/home/vojta/mangos/mangos/ --sysconfdir=/home/vojta/mangos/mangos/etc --enable-cli --enable-ra --datadir=/home/vojta/mangos/mangos/
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking for pthread_create in -lpthread... yes
checking for compress in -lz... yes
checking for ftime in -lcompat... no
checking for SHA1_Init in -lcrypto... no
configure: error: Missing openssl
vojta@twister7-server:~/mangos/mangos$ make
make: *** No targets specified and no makefile found.  Stop.
vojta@twister7-server:~/mangos/mangos$ sudo apt-get install openssl
Čtu seznamy balíků... Hotovo
Vytvářím strom závislostí       
Reading state information... Hotovo
openssl je již nejnovější verze.
openssl set to manually installed.
The following packages were automatically installed and are no longer required:
 lib32gomp1 libc6-i386 lib32gcc1 libc6-dev-i386
Use 'apt-get autoremove' to remove them.
0 aktualizováno, 0 nově instalováno, 0 k odstranění a 0 neaktualizováno.
vojta@twister7-server:~/mangos/mangos$ 

...

vypisuje to ze tam neni openssl a pritom je tam posledni verze :hammer:

Edited by t-wist7

Share this post


Link to post
Share on other sites
chybi ti openssl

apt-get install openssl

 

Psal jsem ze openssl jsem zkousel nainstalovat a psalo to ze je jiz posledni verze takze jsem zkusil remove install a reboot a stejne nic vis? :stupid::D:D:D

uz fakt nvm co s tim... :confused1:

Share this post


Link to post
Share on other sites
Psal jsem ze openssl jsem zkousel nainstalovat a psalo to ze je jiz posledni verze takze jsem zkusil remove install a reboot a stejne nic vis? :stupid::D:D:D

uz fakt nvm co s tim... :confused1:

 

Máš opravdu tohle všechno nainstalovaný?

 

* GCC
* G++
* make
* libtool
* automake
* autoconf
* glibc & glibc-dev // knihovny -take je muzete najit pod nazvem Gnu Libc
* mysql-server
* libmysql++-dev
* OpenSSL, libssl-dev
* subversion (svn)
* zlibc

Share this post


Link to post
Share on other sites
Psal jsem ze openssl jsem zkousel nainstalovat a psalo to ze je jiz posledni verze takze jsem zkusil remove install a reboot a stejne nic vis? :stupid::D:D:D

uz fakt nvm co s tim... :confused1:

 

 

sudo apt-get install libssl-dev

todle bude ono:P

Share this post


Link to post
Share on other sites
sudo apt-get install libssl-dev

todle bude ono:P

ano diky uz me to pusti i na make ale stejne

 

vojta@twister7-server:~/mangos/mangos$ patch -p0 -i arena.patch
(Stripping trailing CRs from patch.)
patching file src/game/ArenaTeam.cpp
(Stripping trailing CRs from patch.)
patching file src/game/ArenaTeam.h
(Stripping trailing CRs from patch.)
patching file src/game/ArenaTeamHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGround.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGround.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundAB.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundBE.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundBE.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundEY.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundMgr.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundMgr.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundNA.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundNA.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundRL.cpp
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundRL.h
(Stripping trailing CRs from patch.)
patching file src/game/BattleGroundWS.cpp
(Stripping trailing CRs from patch.)
patching file src/game/CharacterHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Chat.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Chat.h
(Stripping trailing CRs from patch.)
patching file src/game/Group.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Group.h
(Stripping trailing CRs from patch.)
patching file src/game/ItemPrototype.h
(Stripping trailing CRs from patch.)
patching file src/game/Language.h
(Stripping trailing CRs from patch.)
patching file src/game/Level1.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Level3.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Map.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Map.h
(Stripping trailing CRs from patch.)
patching file src/game/MapInstanced.cpp
(Stripping trailing CRs from patch.)
patching file src/game/MapInstanced.h
(Stripping trailing CRs from patch.)
patching file src/game/MapManager.cpp
(Stripping trailing CRs from patch.)
patching file src/game/MiscHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/MovementHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/ObjectMgr.h
(Stripping trailing CRs from patch.)
patching file src/game/Player.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Player.h
(Stripping trailing CRs from patch.)
patching file src/game/Spell.cpp
(Stripping trailing CRs from patch.)
patching file src/game/SpellEffects.cpp
(Stripping trailing CRs from patch.)
patching file src/game/SpellHandler.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Unit.cpp
(Stripping trailing CRs from patch.)
patching file src/game/Unit.h
(Stripping trailing CRs from patch.)
patching file src/game/World.cpp
(Stripping trailing CRs from patch.)
patching file src/game/World.h
(Stripping trailing CRs from patch.)
patching file src/game/WorldSession.cpp
(Stripping trailing CRs from patch.)
patching file src/mangosd/mangosd.conf.in
(Stripping trailing CRs from patch.)
patching file src/shared/Database/DBCStructure.h
vojta@twister7-server:~/mangos/mangos$ autoreconf --install --force
configure.ac:23: installing `./install-sh'
configure.ac:23: installing `./missing'
dep/src/g3dlite/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
vojta@twister7-server:~/mangos/mangos$ ./configure --prefix=/home/vojta/mangos/mangos/ --sysconfdir=/home/vojta/mangos/mangos/etc --enable-cli --enable-ra --datadir=/home/vojta/mangos/mangos/
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking for pthread_create in -lpthread... yes
checking for compress in -lz... yes
checking for ftime in -lcompat... no
checking for SHA1_Init in -lcrypto... yes
checking whether to build/link POSTGRESQL... no
checking whether to build/link MYSQL... yes
checking for mysql_config... /usr/bin/mysql_config
checking whether to include debug info in library... no
checking whether cli console is enabled... yes
checking whether remote console is enabled... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.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 for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... 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 sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint64_t... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for error_at_line... 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 sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for ftime... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for pow... no
checking for realpath... yes
checking for select... yes
checking for socket... yes
checking for sqrt... no
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating dep/include/Makefile
config.status: creating dep/lib/Makefile
config.status: creating dep/src/Makefile
config.status: creating dep/src/g3dlite/Makefile
config.status: creating dep/src/sockets/Makefile
config.status: creating dep/src/zlib/Makefile
config.status: creating dep/src/zthread/Makefile
config.status: creating dep/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating sql/Makefile
config.status: creating sql/tools/Makefile
config.status: creating sql/updates/Makefile
config.status: creating src/Makefile
config.status: creating src/framework/Makefile
config.status: creating src/shared/Makefile
config.status: creating src/shared/Auth/Makefile
config.status: creating src/shared/Config/Makefile
config.status: creating src/shared/Database/Makefile
config.status: creating src/shared/vmap/Makefile
config.status: creating src/shared/SystemConfig.h
config.status: creating src/game/Makefile
config.status: creating src/realmd/Makefile
config.status: creating src/realmd/realmd.conf
config.status: creating src/mangosd/Makefile
config.status: creating src/mangosd/mangosd.conf
config.status: creating src/bindings/Makefile
config.status: creating src/bindings/universal/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing svn_revision commands
vojta@twister7-server:~/mangos/mangos$ make
make  all-recursive
make[1]: Entering directory `/home/vojta/mangos/mangos'
Making all in dep
make[2]: Entering directory `/home/vojta/mangos/mangos/dep'
Making all in include
make[3]: Entering directory `/home/vojta/mangos/mangos/dep/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vojta/mangos/mangos/dep/include'
Making all in lib
make[3]: Entering directory `/home/vojta/mangos/mangos/dep/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vojta/mangos/mangos/dep/lib'
Making all in src
make[3]: Entering directory `/home/vojta/mangos/mangos/dep/src'
Making all in g3dlite
make[4]: Entering directory `/home/vojta/mangos/mangos/dep/src/g3dlite'
source='AABox.cpp' object='AABox.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I../../..  -I. -I./../../include -I./../../include/g3dlite   -DENABLE_RA -DENABLE_CLI -DDO_MYSQL  -c -o AABox.o AABox.cpp
../../../depcomp: line 571: exec: g++: not found
make[4]: *** [AABox.o] Error 127
make[4]: Leaving directory `/home/vojta/mangos/mangos/dep/src/g3dlite'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/vojta/mangos/mangos/dep/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vojta/mangos/mangos/dep'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vojta/mangos/mangos'
make: *** [all] Error 2

:blink::crybaby:

Share this post


Link to post
Share on other sites

chjo proste sis to tam nenainstaloval ... udelame to jinak, preinstaluj cely system ... a pak tam pouzij ten muj prikaz, ALE ! cely najednou zadny deleni ... a predtim nezapomen aktualizovat zdroje softwaru !! a musi ti to jit, jinak si za tebou osobne dojedu a nainstaluju ti to :D

Share this post


Link to post
Share on other sites
chjo proste sis to tam nenainstaloval ... udelame to jinak, preinstaluj cely system ... a pak tam pouzij ten muj prikaz, ALE ! cely najednou zadny deleni ... a predtim nezapomen aktualizovat zdroje softwaru !! a musi ti to jit, jinak si za tebou osobne dojedu a nainstaluju ti to :D

No ted jsem zkusil apt-get install g++ gcc

a ted se to kompiluje :nw2_guitar: tak doufam ze to nakonci nevybleje nejakou chybu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×