Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: droidz on January 31, 2017, 10:48:31 AM



Title: How to compile from github?
Post by: droidz on January 31, 2017, 10:48:31 AM
I tried to install a couple of coins GitHub code, but none succeeded. For example, this (or other): https://github.com/muddafudda/PayCon

Please step-by step guide (linux mint,64)


Title: Re: How to compile from github?
Post by: BigBoom3599 on January 31, 2017, 11:21:38 AM
If you go to a repository on github there will almost always be a file with instructions on how to compile (Readme, Install, /doc,...). In the example you gave they were located in the "doc" folder, in there, there is a file called "build-unix" this contains build instruction for linux (there's also one for osx and windows). In this case it's as easy as going into the src directory and building it with the included makefile. If you get an error make sure you have the right dependencies installed (also listed in the document).


Title: Re: How to compile from github?
Post by: droidz on January 31, 2017, 11:37:31 AM
If run this command line
"cd src/
make -f makefile.unix"
then write this error message:
"g++: error: /home/droid/paycon/PayCon-master/src/leveldb/libleveldb.a: No such file or directory
g++: error: /home/droid/paycon/PayCon-master/src/leveldb/libmemenv.a: No such file or directory
makefile.unix:289: recipe for target 'PayCond' failed
make: *** [PayCond] Error 1"


Title: Re: How to compile from github?
Post by: sotisoti on February 02, 2017, 12:44:53 AM
If run this command line
"cd src/
make -f makefile.unix"
then write this error message:
"g++: error: /home/droid/paycon/PayCon-master/src/leveldb/libleveldb.a: No such file or directory
g++: error: /home/droid/paycon/PayCon-master/src/leveldb/libmemenv.a: No such file or directory
makefile.unix:289: recipe for target 'PayCond' failed
make: *** [PayCond] Error 1"

For debian/ubuntu/mint
Code:
sudo apt-get install ntp git build-essential libssl-dev libdb-dev libdb++-dev libboost-* libssl-dev libqrencode-dev libcurl4-openssl-dev curl libzip-dev libzip2 libminiupnpc-dev

chmod 755 /home/droid/paycon/PayCon-master/src/leveldb/*


Title: Re: How to compile from github?
Post by: AmoreJaz on February 04, 2017, 03:43:04 PM
if your looking for a step by step guide on how to install a coin from a github source code then your best bet would be going to google and using the search engine to find the results.


Title: Re: How to compile from github?
Post by: droidz on February 05, 2017, 10:43:11 AM
if your looking for a step by step guide on how to install a coin from a github source code then your best bet would be going to google and using the search engine to find the results.
most of the description is inaccurate, incomplete. It does not continue to stop because of failures. qt wallet is not a single case of any description.
show me a link to where it is described. Use google. lol.


Title: Re: How to compile from github?
Post by: droidz on February 05, 2017, 10:49:48 AM
If run this command line
"cd src/
make -f makefile.unix"
then write this error message:
"g++: error: /home/droid/paycon/PayCon-master/src/leveldb/libleveldb.a: No such file or directory
g++: error: /home/droid/paycon/PayCon-master/src/leveldb/libmemenv.a: No such file or directory
makefile.unix:289: recipe for target 'PayCond' failed
make: *** [PayCond] Error 1"

For debian/ubuntu/mint
Code:
sudo apt-get install ntp git build-essential libssl-dev libdb-dev libdb++-dev libboost-* libssl-dev libqrencode-dev libcurl4-openssl-dev curl libzip-dev libzip2 libminiupnpc-dev

chmod 755 /home/droid/paycon/PayCon-master/src/leveldb/*

Code:
sh build_detect_platform build_config.mk ./
This command required, or not? They should, however, is nowhere suggested. interesting.


Title: Re: How to compile from github?
Post by: droidz on February 05, 2017, 10:56:35 AM
If try build a qt wallet in qt creator (open coin.qt-pro file, and build, then errors (zeitcoin example):
Code:
Makefile:556: recipe for target 'zeitcoin-qt' failed
make: *** [zeitcoin-qt] Error 1
11:52:30: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project zeitcoin-qt (kit: Desktop Qt 5.7.0 GCC 64bit)
When executing step "Make"

zeitcoin-qt missing.


Title: Re: How to compile from github?
Post by: droidz on February 05, 2017, 01:27:00 PM
I think a lot of deliberate misleading description that only gurus and programmers are able to access these. Simple user will never be able to do these things.