Pulsar-Coin / Pulsar-Coin-Cryptocurrency

The source code to the Pulsar Coin Blockchain
https://pulsarcoin.info/
MIT License
17 stars 11 forks source link

Build project from source is incredibly buggy #6

Closed blackmennewstyle closed 2 years ago

blackmennewstyle commented 2 years ago

Hello,

I'm trying to build your project from the sources and it seems incredibly buggy. I don't know which version of Bitcoin has been forked here but it's definitely a very old one.

wget https://github.com/PulsarCoin/Pulsar-Coin-Cryptocurrency/archive/refs/tags/v1.0.0.tar.gz
tar -xvf v1.0.0.tar.gz
cd Pulsar-Coin-Cryptocurrency-1.0.0

First annoying issue, the source code files seems to come with permission issue:

./autogen.sh
bash: ./autogen.sh: Permission denied

OK, so i proceed with modifying all files permission:

chmod -R 775 *

Let's try again:

./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:252: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:331: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:946: error: possibly undefined macro: PKG_CHECK_MODULES
configure.ac:973: error: possibly undefined macro: AC_CHECK_HEADER
autoreconf: /usr/bin/autoconf failed with exit status: 1
blackmennewstyle commented 2 years ago

Another example of how bad it is:

make HOST=aarch64-linux-gnu -j 4
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/pulsar/build-aux/missing aclocal-1.15 -I build-aux/m4
/bin/bash: /root/pulsar/build-aux/missing: Permission denied
make: *** [Makefile:684: aclocal.m4] Error 126

Why the user root is involved in these traces? :'(

le2Ks commented 2 years ago

Hello, the issues you were facing with have already been fixed on the live source code,

You must "git clone" the source code rather than "wget" the v1.0.0 from the release page. Try again now with the v1.1.0 version (wget or git clone, both will work)