[Suche] TrinityCore installier Helfer für Linux

04/11/2014 18:24 timbletak#1
Hallo,
ich verzweifel gerade dabei TrinityCore auf meinem Linux Root Server zu installieren (unter Windows klappts ja)
Hat einer Zeit um das für mich oder mit mir zu erledigen?
Das Problem liegt bei cmake, ich bekomme da immer eine Fehlermeldung:
cmake ../TrinityCore/ -DACE_LIBRARY=/home/wow/.sys/lib/libACE.so -DACE_INCLUDE_DIR=/home/wow/.sys/include/ -DOPENSSL_LIBRARIES=/home/wow/.sys/lib/libssl.so -DOPENSSL_INCLUDE_DIR=/home/wow/.sys/include/ -DDO_RA=1 -DPREFIX=/home/wow/build/ -DCONF_DIR=/home/wow/build/etc
CMake Error: The source directory "/TrinityCore" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

Ich hoffe jemand kann mir helfen.
04/11/2014 20:01 °"Crazy"°#2
Code:
cmake ../ -DPREFIX=/pfad/zum/compilen/ -DCONF_DIR=/pfad/zum/compilen/  -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DWITH_WARNINGS=1
Danach nur noch make && make install

MfG
04/11/2014 20:24 timbletak#3
Genau das Funktioniert ja nicht.


-- Configuring incomplete, errors occurred!
wow@gc584-26:~/TrinityCore$ ^C
wow@gc584-26:~/TrinityCore$ cmake ../ -DPREFIX=/pfad/zum/compilen/ -DCONF_DIR=/p fad/zum/compilen/ -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DWITH_WARNINGS=1
CMake Error: The source directory "/home/wow" does not appear to contain CMakeLi sts.txt.
Specify --help for usage, or press the help button on the CMake GUI.
wow@gc584-26:~/TrinityCore$ cd
wow@gc584-26:~$ -DCONF_DIR=/pfad/zum/compilen/ -DTOOLS=1 -DSCRIPTS=1 -DSERVERS =1 -DWITH_WARNINGS=1 bash: -DCONF_DIR=/pfad/zum/compilen/: Datei oder Verzeichnis nicht gefunden
wow@gc584-26:~$ cmake ../ -DPREFIX=/home/wow/TrinityCore -DCONF_DIR=/home/wow/Tr inityCore -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DWITH_WARNINGS=1
CMake Error: The source directory "/home" does not appear to contain CMakeLists. txt.
Specify --help for usage, or press the help button on the CMake GUI.
wow@gc584-26:~$

Bin etwas weiter gekommen, doch leider stecke ich wieder fest

wow@gc584-26:~$ cd TrinityCore
wow@gc584-26:~/TrinityCore$ cmake ../ -DACE_LIBRARY=/home/wow/.sys/lib/libACE.so -DACE_INCLUDE_DIR=/home/wow/.sys/include/ -DOPENSSL_LIBRARIES=/home/wow/.sys/lib/libssl.so -DOPENSSL_INCLUDE_DIR=/home/wow/.sys/include/ -DDO_RA=1 -DPREFIX=/home/wow/build/ -DCONF_DIR=/home/wow/build/etc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wow
wow@gc584-26:~/TrinityCore$ make -j1 && make install
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
wow@gc584-26:~/TrinityCore$
04/12/2014 06:53 °"Crazy"°#4
Ist ja logisch, wenn du nichtmal make installiert hast.

Code:
apt-get install make
Sollte Dir bisschen mehr fehlen, hier ein kleiner, erweiterter Befehl:

Code:
apt-get install build-essential autoconf libtool gcc g++ make cmake git-core patch wget links zip unzip unrar
MfG
04/12/2014 11:46 timbletak#5
Natürlich habe ich make installiert


root@gc584-26:~# apt-get install build-essential autoconf libtool gcc g++ make cmake git-core patch wget links zip unzip
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
autoconf ist schon die neueste Version.
build-essential ist schon die neueste Version.
cmake ist schon die neueste Version.
g++ ist schon die neueste Version.
gcc ist schon die neueste Version.
git-core ist schon die neueste Version.
links ist schon die neueste Version.
libtool ist schon die neueste Version.
make ist schon die neueste Version.
patch ist schon die neueste Version.
unzip ist schon die neueste Version.
wget ist schon die neueste Version.
zip ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@gc584-26:~#

Ich habe cmake aktualisiert, nun bekomme ich diese Meldung:


flo@gc584-26:~/TrinityCore/build$ cmake ../ -DPREFIX=/home/flo/server -DCONF_DIR=/home/flo/server/conf -DLIBSDIR=/home/flo/server/lib -DUSE_SFMT=1 -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DWITH_WARNINGS=1
-- The C compiler identification is GNU 4.4.5
-- The CXX compiler identification is GNU 4.4.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detected 64-bit platform
-- UNIX: Using jemalloc
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/bin/gcc
CMake Error at cmake/compiler/gcc/settings.cmake:7 (message):
GCC: TrinityCore requires version 4.7.2 to build but found 4.4.5
Call Stack (most recent call first):
cmake/platform/unix/settings.cmake:37 (include)
cmake/macros/CheckPlatform.cmake:15 (include)
CMakeLists.txt:48 (include)


-- Configuring incomplete, errors occurred!
See also "/home/flo/TrinityCore/build/CMakeFiles/CMakeOutput.log".
flo@gc584-26:~/TrinityCore/build$

CMakeOutput.log:


Ich kann nicht genau sagen wieso aber jetzt bekomme ich weniger Meldungen:

flo@gc584-26:~/TrinityCore$ cmake -DPREFIX=/home/flo/server -DCONF_DIR=/home/flo/server/conf -DLIBSDIR=/home/flo/server/lib -DUSE_SFMT=1 -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DWITH_WARNINGS=1
-- Detected 64-bit platform
-- UNIX: Using jemalloc
CMake Error at cmake/platform/unix/settings.cmake:22 (configure_file):
configure_file attempted to configure a file:
/home/flo/TrinityCore/cmake_uninstall.cmake into a source directory.
Call Stack (most recent call first):
cmake/macros/CheckPlatform.cmake:15 (include)
CMakeLists.txt:48 (include)


-- Configuring incomplete, errors occurred!
See also "/home/flo/TrinityCore/CMakeFiles/CMakeOutput.log".
flo@gc584-26:~/TrinityCore$
04/12/2014 12:42 °"Crazy"°#6
Ich zitier mich mal:

Code:
cmake ../ -DPREFIX=/home/flo/server -DCONF_DIR=/home/flo/server/conf  -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DWITH_WARNINGS=1
Für Dich hab ich mal die Pfade angepasst.

MfG
04/12/2014 12:45 timbletak#7
Da bekomme ich die selbe Meldung:

flo@gc584-26:~/TrinityCore$ cmake -DPREFIX=/home/flo/server -DCONF_DIR=/home/flo/server/conf -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DWITH_WARNINGS=1
-- Detected 64-bit platform
-- UNIX: Using jemalloc
CMake Error at cmake/platform/unix/settings.cmake:22 (configure_file):
configure_file attempted to configure a file:
/home/flo/TrinityCore/cmake_uninstall.cmake into a source directory.
Call Stack (most recent call first):
cmake/macros/CheckPlatform.cmake:15 (include)
CMakeLists.txt:48 (include)


-- Configuring incomplete, errors occurred!
See also "/home/flo/TrinityCore/CMakeFiles/CMakeOutput.log".
flo@gc584-26:~/TrinityCore$

Hat du eventuell Skype?
Adde mich bitte
Skypename: timbletak2205
04/12/2014 12:51 °"Crazy"°#8
Ich habe Dich mal geaddet - dann schauen wir das Problem mal gemeinsam an =)