Report Compile or cmake problems in Help and Support Posted January 22, 2016 Hi, I am having a hard time compiling branch 3.3.5 on a fresh Ubuntu 15.04 install. I have followed the tutorial line by line and can't figure out what is wrong. I keep getting this error : [ 9%] Building CXX object src/common/CMakeFiles/common.dir/Common.cpp.o c++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions. src/common/CMakeFiles/common.dir/build.make:54: recipe for target 'src/common/CMakeFiles/common.dir/Common.cpp.o' failed make[2]: *** [src/common/CMakeFiles/common.dir/Common.cpp.o] Error 4 CMakeFiles/Makefile2:582: recipe for target 'src/common/CMakeFiles/common.dir/all' failed make[1]: *** [src/common/CMakeFiles/common.dir/all] Error 2 Makefile:117: recipe for target 'all' failed make: *** [all] Error 2 Here are all the things that I did. On a fresh / clean install, I ran the following command as root : sudo apt-get install build-essential autoconf libtool gcc g++ make cmake git-core wget p7zip-full libncurses5-dev zlib1g-dev libbz2-dev sudo apt-get install openssl libssl-dev mysql-server mysql-client libmysqlclient-dev libmysql++-dev libreadline6-dev sudo apt-get install libboost-dev libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-iostreams-dev Then, as the "wow" user : cd ~/emulator/ git clone -b 3.3.5 git://github.com/TrinityCore/TrinityCore.git cd TrinityCore mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/home/wow/emulator/server -DCONF_DIR=/home/wow/emulator/server/etc -DTOOLS=1 -DWITH_WARNINGS=
Compile or cmake problems
in Help and Support
Posted
Hi,
I am having a hard time compiling branch 3.3.5 on a fresh Ubuntu 15.04 install.
I have followed the tutorial line by line and can't figure out what is wrong.
I keep getting this error :
[ 9%] Building CXX object src/common/CMakeFiles/common.dir/Common.cpp.o
c++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
src/common/CMakeFiles/common.dir/build.make:54: recipe for target 'src/common/CMakeFiles/common.dir/Common.cpp.o' failed
make[2]: *** [src/common/CMakeFiles/common.dir/Common.cpp.o] Error 4
CMakeFiles/Makefile2:582: recipe for target 'src/common/CMakeFiles/common.dir/all' failed
make[1]: *** [src/common/CMakeFiles/common.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Here are all the things that I did.
On a fresh / clean install, I ran the following command as root :
sudo apt-get install build-essential autoconf libtool gcc g++ make cmake git-core wget p7zip-full libncurses5-dev zlib1g-dev libbz2-dev
sudo apt-get install openssl libssl-dev mysql-server mysql-client libmysqlclient-dev libmysql++-dev libreadline6-dev
sudo apt-get install libboost-dev libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-iostreams-dev
Then, as the "wow" user :
cd ~/emulator/
git clone -b 3.3.5 git://github.com/TrinityCore/TrinityCore.git
cd TrinityCore
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/wow/emulator/server -DCONF_DIR=/home/wow/emulator/server/etc -DTOOLS=1 -DWITH_WARNINGS=