sgminer-dev / sgminer

Scrypt GPU miner
GNU General Public License v3.0
629 stars 825 forks source link

plz help compile sgminer #89

Closed 008 closed 10 years ago

008 commented 10 years ago

Found Topic: BAMT - sgminer upgrade(git clone + build)? (Read 121 times) https://litecointalk.org/index.php?topic=14609.0 Debian 64 and i have same here...

008 commented 10 years ago

I have successfully buld cgminer from src, but cant compile Sgminer...

008 commented 10 years ago

sgminer-4.1.0$ ./configure

checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for ranlib... ranlib checking whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes

./configure: line 5892: syntax error near unexpected token disable-shared' ./configure: line 5892:LT_INIT(disable-shared)'

008 commented 10 years ago

sgminer-4.1.0$ autoreconf -i configure.ac:14: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1

008 commented 10 years ago

sgminer-4.1.0$ automake configure.ac:20: error: required file 'config.h.in' not found

veox commented 10 years ago

Do not run autotools manually. Use autoreconf -i (or autoreconf -fi). If it fails, the issue is with your build environment being incomplete.

008 commented 10 years ago

autoreconf -fi tnx