Title: PPCoin: How to Compile on Ubuntu 12.04 Post by: AndyRossy on September 19, 2012, 03:19:04 PM A quick walk through on how to compile on a fresh Ubuntu LTS 12.04
Code: apt-get install git g++-4.5 libboost1.46-all-dev libdb5.1++-dev make This will put a ppcoind executeable in the ppcoin/src folder. You can move it to wherever you desire, and execute in a similar way to starting up bitcoind. FAQ. Q. I receive internal compiler error: Killed (program cc1plus) Code: g++: internal compiler error: Killed (program cc1plus) A. Type "dmesg", Code: [ 1377.575785] Out of memory: Kill process 12305 (cc1plus) score 905 or sacrifice child If you see output like this, your machine does not have enough memory to compile. You can fix this by adding more swap. To add a 1gb swap file, in /swapfile: Code: sudo dd if=/dev/zero of=/swapfile bs=64M count=16 After compiling, you may wish to Code: sudo swapoff /swapfile Will be adding answers to other compiling questions for other OS's over time. Title: Re: PPCoin: How to Compile on Ubuntu 12.04 Post by: napoleon2121 on June 02, 2013, 10:18:55 AM hi and tnx for the tutorial. i am trying to compille wallets... every wallet. and i get this error.
Code: /usr/local/include/boost/filesystem/path.hpp:707: undefined reference to `boost::filesystem::path::m_append_separator_if_needed()' if you could help plzzzzzz Title: Re: PPCoin: How to Compile on Ubuntu 12.04 Post by: vual on September 29, 2013, 12:21:32 AM Hey mate,
Thanks nice tip on the swap space. I still get this error: g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make: *** [obj/alert.o] Error 4 |