Jump to content
  • 0

impossible to compile on debian


myraje

Question

17 answers to this question

Recommended Posts

This tutorial is outdated. You have to use cmake :

apt-get install cmake
mkdir build
cd build
cmake ../ -DPREFIX=[working path]
make && make install

For cmake flags, you can use -DDEBUG=1 to enable debug informations. You can get more informations by typing cmake ../ command.

Link to comment
Share on other sites

It look like working, I have forget to apply patch for "mangos-scriptdev0"

I used this command found on internet:

cmake ../ -DPREFIX=/opt/mangos -DPCH=1 -DACE_USE_EXTERNAL=0 -DDEBUG=0 -DTBB_USE_EXTERNAL=0;

For command "cmake ../command :

cmake error : the rource directory "********/server/build/command" does not exist/

Link to comment
Share on other sites

The guide for compile mangos (old forum) say

apt-get install build-essential gcc g++ cpp automake git-core autoconf make patch libmysql++-dev libtool libcurl4-openssl-dev libssl-dev grep binutils subversion zlibc libc6 nano mysql-server unrar-free

you say

apt-get install libssl-dev g++ build-essentials zlib-dev libmysql++-dev mysql-server mysql-client

what else?

Link to comment
Share on other sites

Yes but I try to do a tutorial for "compile on debian" for MaNGOS community and I must have right informations..

For example, if i download "autoconf" and i don't need it, it's bad..

How much does it matter? You need autoconf for ACE installation i think. But those packages are not any kind of daemons so they just take a lil harddrive space. Who cares if you spend 5 MB extra on installing autoconf? If you want a perfect installation, then try for yourself. You will see what packages you really need. Then you an write a guide. Do not expect anything for people working for free, pay them if you want something do be done. Or just wait until someone feels for doing it.

Link to comment
Share on other sites

~/mangos/bulid$ make && make install

[ 0%] Built target genrev

[ 0%] Built target revision.h

[ 2%] Built target TBB_Project

[ 3%] Built target ACE_Project

[ 4%] Built target detour

[ 12%] Built target g3dlite

[ 12%] Built target gsoap

Linking CXX shared library libstorm.so

/usr/bin/ld: cannot find -lbz2

collect2: ld returned 1 exit status

make[2]: *** [dep/StormLib/libstorm.so.8.20.0] Error 1

make[1]: *** [dep/StormLib/CMakeFiles/storm.dir/all] Error 2

make: *** [all] Error 2

I have got this error ,can anyone help

Link to comment
Share on other sites

~/mangos/bulid$ make && make install

[ 0%] Built target genrev

[ 0%] Built target revision.h

[ 2%] Built target TBB_Project

[ 3%] Built target ACE_Project

[ 4%] Built target detour

[ 12%] Built target g3dlite

[ 12%] Built target gsoap

Linking CXX shared library libstorm.so

/usr/bin/ld: cannot find -lbz2

collect2: ld returned 1 exit status

make[2]: *** [dep/StormLib/libstorm.so.8.20.0] Error 1

make[1]: *** [dep/StormLib/CMakeFiles/storm.dir/all] Error 2

make: *** [all] Error 2

I have got this error ,can anyone help

Oh yeah, with stormlib you might need bzip dev package (i dont know the name but i guess it could be libbz2-dev or something (google it)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use