Show Posts
|
Pages: [1]
|
@n0m4d33, addition to compiling gmp mentioned by feldenthorne, macports installation might be easy. What you get after running gmp installation? that is,
sudo port install gmp
I don't see any reason macports would reject to install.
After running gmp installation this is what is returned: ---> Cleaning gmp iMac-de-Andre:~ Andre$ sudo port install gmp ---> Cleaning gmp ---> Scanning binaries for linking errors ---> No broken files found.
But when I try to compile the minerd, after running: ./configure CFLAGS="-O3" CXXFLAGS="-O3" the terminal returns this error: configure: error: GNU MP not found, see https://gmplib.org/ You actually have gmp installed; what's missing is to configure path so that the compiler can find the library. Open up "Terminal", run: you can use command+V to paste following lines to the file .profile: export CPPFLAGS="-I/opt/local/include $CPPFLAGS" export LDFLAGS="-L/opt/local/lib" export PATH="/opt/local/bin:/opt/local/sbin:$PATH" That is step 3 of https://bitcointalk.org/index.php?topic=735170.msg9576881#msg9576881Then Ctrl+o to save, Ctrl+x to exit; Exit Terminal and relaunch it, then configure & compile miner again. Still giving the same error, I'll put below all process of ./configure CFLAGS="-O3" CXXFLAGS="-O3" checking build system type... x86_64-apple-darwin14.4.0 checking host system type... x86_64-apple-darwin14.4.0 checking target system type... x86_64-apple-darwin14.4.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no 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 whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 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 sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for sys/sysctl.h... yes checking whether be32dec is declared... no checking whether le32dec is declared... no checking whether be32enc is declared... no checking whether le32enc is declared... no checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for getopt_long... yes checking whether we can compile AVX code... yes checking whether we can compile XOP code... yes checking whether we can compile AVX2 code... yes checking for json_loads in -ljansson... no checking for pthread_create in -lpthread... yes checking for __gmpz_init in -lgmp... no configure: error: GNU MP not found, see https://gmplib.org/
|
|
|
@n0m4d33, addition to compiling gmp mentioned by feldenthorne, macports installation might be easy. What you get after running gmp installation? that is,
sudo port install gmp
I don't see any reason macports would reject to install.
After running gmp installation this is what is returned: ---> Cleaning gmp iMac-de-Andre:~ Andre$ sudo port install gmp ---> Cleaning gmp ---> Scanning binaries for linking errors ---> No broken files found.
But when I try to compile the minerd, after running: ./configure CFLAGS="-O3" CXXFLAGS="-O3" the terminal returns this error: configure: error: GNU MP not found, see https://gmplib.org/
|
|
|
I've found a lot of .profile files too and now I am having problems after running ./configure CFLAGS="-O3" CXXFLAGS="-O3", this is the error: " configure: error: GNU MP not found, see https://gmplib.org/ " Just a shot in the dark (because I don't own a Mac), but you might want to enter the following in a terminal to (re?)install GNU MP: sudo port clean gmp sudo port -t install gmp Thanks for trying, but didn't work. ![Embarrassed](https://bitcointalk.org/Smileys/default/embarrassed.gif) You'll probably end up needing to compile GNU MP from the source, then. This guide gives you the proper commands (./configure && make && make install), but be aware that you'll need to grab a copy of autoconf ( sudo port -t install autoconf , maybe?) if OSX doesn't ship with one. I opened the sites, but I don't understand a dot of it. I am not a programer, so I really need that someone give me all the steps to make this miner work . otherwise I will be forced to give up.... ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) Sorry guys, for all these nuisance... Not a problem. You have to download the source ( gmp-6.0.0a.tar.bz2, for example), unzip it, then open a terminal and navigate to that folder in the terminal window. It will probably be named "gmp-6.0.0a". Within the unzipped folder, you should find "gmp-6.0.0". This folder contains all the files necessary for autoconf to build a makefile for your system. (You'll notice that the contents are a slew of folders and files, such as acinclude.m4 and bootstrap.c.) From this directory, issue the commands listed in the tutorial: ./configure make make install That should install GNU MP on your system in whatever the default directory for libraries is on Macs. Hi feldenthorne, thank you for all your patience, you and joelao95, the other guys that are following this saga thank you for the support too. I did what you said but, one more time I've failed in that last command "make install". I'll paste the error that was returned by the terminal. /Applications/Xcode.app/Contents/Developer/usr/bin/make install-recursive Making install in tests Making install in . make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in devel make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpn make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpz make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpq make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpf make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in rand make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in misc make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in cxx make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in mpn make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in mpz make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in mpq make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in mpf make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in printf make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in scanf make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in rand make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in cxx make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in demos Making install in calc /Applications/Xcode.app/Contents/Developer/usr/bin/make install-am make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in expr make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in tune make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in doc make[3]: Nothing to be done for `install-exec-am'. .././install-sh -c -d '/usr/local/share/info' mkdir: /usr/local: Permission denied mkdir: /usr/local: No such file or directory mkdir: /usr/local/share: No such file or directory make[3]: *** [install-info-am] Error 1 make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [install] Error 2
Any ideas?
|
|
|
I've found a lot of .profile files too and now I am having problems after running ./configure CFLAGS="-O3" CXXFLAGS="-O3", this is the error: " configure: error: GNU MP not found, see https://gmplib.org/ " Just a shot in the dark (because I don't own a Mac), but you might want to enter the following in a terminal to (re?)install GNU MP: sudo port clean gmp sudo port -t install gmp Thanks for trying, but didn't work. ![Embarrassed](https://bitcointalk.org/Smileys/default/embarrassed.gif) You'll probably end up needing to compile GNU MP from the source, then. This guide gives you the proper commands (./configure && make && make install), but be aware that you'll need to grab a copy of autoconf ( sudo port -t install autoconf , maybe?) if OSX doesn't ship with one. ok, but what I have to do to compile the GNU from the source? Yes think thats what feldenthorne meant. He add a link for a guide. Maybe that can help you. I opened the sites, but I don't understand a dot of it. I am not a programer, so I really need that someone give me all the steps to make this miner work . otherwise I will be forced to give up.... ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) Sorry guys, for all these nuisance...
|
|
|
I've found a lot of .profile files too and now I am having problems after running ./configure CFLAGS="-O3" CXXFLAGS="-O3", this is the error: " configure: error: GNU MP not found, see https://gmplib.org/ " Just a shot in the dark (because I don't own a Mac), but you might want to enter the following in a terminal to (re?)install GNU MP: sudo port clean gmp sudo port -t install gmp Thanks for trying, but didn't work. ![Embarrassed](https://bitcointalk.org/Smileys/default/embarrassed.gif) You'll probably end up needing to compile GNU MP from the source, then. This guide gives you the proper commands (./configure && make && make install), but be aware that you'll need to grab a copy of autoconf ( sudo port -t install autoconf , maybe?) if OSX doesn't ship with one. ok, but what I have to do to compile the GNU from the source?
|
|
|
I've found a lot of .profile files too and now I am having problems after running ./configure CFLAGS="-O3" CXXFLAGS="-O3", this is the error: " configure: error: GNU MP not found, see https://gmplib.org/ " Just a shot in the dark (because I don't own a Mac), but you might want to enter the following in a terminal to (re?)install GNU MP: sudo port clean gmp sudo port -t install gmp Thanks for trying, but didn't work. ![Embarrassed](https://bitcointalk.org/Smileys/default/embarrassed.gif)
|
|
|
How do I do to mine this coin on a mac computer? Does somebody tried to compile the miner on unix os?
Guide of compiling minerd on mac os:1. Ensure Xcode and the command line tools are installed. 2. Download and Install MacPorts: http://www.macports.org/install.php3. Edit ~/.profile to include the following content:export CPPFLAGS="-I/opt/local/include $CPPFLAGS" export LDFLAGS="-L/opt/local/lib" export PATH="/opt/local/bin:/opt/local/sbin:$PATH" 4. Install librariesOpen up app "Terminal" sudo port selfupdate sudo port install automake autoconf git openssl gmp 5. Compile minerdgit clone https://github.com/noncepool/m7magi-cpuminer-v2 cd m7magi-cpuminer-v2 ./autogen.sh ./nomacro.pl ./configure CFLAGS="-O3" CXXFLAGS="-O3" make 6. start minerdFor example, nonce-pool: minerd -o stratum+tcp://mine2.magi.nonce-pool.com:4090 -u <username.worker> -p <password> Suprnova pool: minerd -o stratum+tcp://xmg.suprnova.cc:7128 -u <username.worker> -p <password> <username.worker> and <password> should be set up in a pool. I tried to do these steps, but I've failed. Where do I do the 3rd step? And, in the 5th step when I hit the "make" command, the terminal returned me the following message: "make: *** No targets specified and no makefile found. Stop." So I couldn't finish the tutorial. Cloud anyone help me? You can open up a text editor and load up the file .profile in your home directory.
Sorry but I am a newbie, How do I load up the file .profile in my home directory with the text editor? any error message after running ./configure CFLAGS="-O3" CXXFLAGS="-O3"?
No problems after running ./configure CFLAGS="-O3" CXXFLAGS="-O3" Hi, I opened the text editor and when I tried to load the .profile I found 4 differents files with this same name but in different folders, how can I know which file is the right file to load up? I've found a lot of .profile files too and now I am having problems after running ./configure CFLAGS="-O3" CXXFLAGS="-O3", this is the error: " configure: error: GNU MP not found, see https://gmplib.org/ "
|
|
|
How do I do to mine this coin on a mac computer? Does somebody tried to compile the miner on unix os?
Guide of compiling minerd on mac os:1. Ensure Xcode and the command line tools are installed. 2. Download and Install MacPorts: http://www.macports.org/install.php3. Edit ~/.profile to include the following content:export CPPFLAGS="-I/opt/local/include $CPPFLAGS" export LDFLAGS="-L/opt/local/lib" export PATH="/opt/local/bin:/opt/local/sbin:$PATH" 4. Install librariesOpen up app "Terminal" sudo port selfupdate sudo port install automake autoconf git openssl gmp 5. Compile minerdgit clone https://github.com/noncepool/m7magi-cpuminer-v2 cd m7magi-cpuminer-v2 ./autogen.sh ./nomacro.pl ./configure CFLAGS="-O3" CXXFLAGS="-O3" make 6. start minerdFor example, nonce-pool: minerd -o stratum+tcp://mine2.magi.nonce-pool.com:4090 -u <username.worker> -p <password> Suprnova pool: minerd -o stratum+tcp://xmg.suprnova.cc:7128 -u <username.worker> -p <password> <username.worker> and <password> should be set up in a pool. I tried to do these steps, but I've failed. Where do I do the 3rd step? And, in the 5th step when I hit the "make" command, the terminal returned me the following message: "make: *** No targets specified and no makefile found. Stop." So I couldn't finish the tutorial. Cloud anyone help me? You can open up a text editor and load up the file .profile in your home directory.
Sorry but I am a newbie, How do I load up the file .profile in my home directory with the text editor? any error message after running ./configure CFLAGS="-O3" CXXFLAGS="-O3"?
No problems after running ./configure CFLAGS="-O3" CXXFLAGS="-O3"
|
|
|
How do I do to mine this coin on a mac computer? Does somebody tried to compile the miner on unix os?
Guide of compiling minerd on mac os:1. Ensure Xcode and the command line tools are installed. 2. Download and Install MacPorts: http://www.macports.org/install.php3. Edit ~/.profile to include the following content:export CPPFLAGS="-I/opt/local/include $CPPFLAGS" export LDFLAGS="-L/opt/local/lib" export PATH="/opt/local/bin:/opt/local/sbin:$PATH" 4. Install librariesOpen up app "Terminal" sudo port selfupdate sudo port install automake autoconf git openssl gmp 5. Compile minerdgit clone https://github.com/noncepool/m7magi-cpuminer-v2 cd m7magi-cpuminer-v2 ./autogen.sh ./nomacro.pl ./configure CFLAGS="-O3" CXXFLAGS="-O3" make 6. start minerdFor example, nonce-pool: minerd -o stratum+tcp://mine2.magi.nonce-pool.com:4090 -u <username.worker> -p <password> Suprnova pool: minerd -o stratum+tcp://xmg.suprnova.cc:7128 -u <username.worker> -p <password> <username.worker> and <password> should be set up in a pool. I tried to do these steps, but I've failed. Where do I do the 3rd step? And, in the 5th step when I hit the "make" command, the terminal returned me the following message: "make: *** No targets specified and no makefile found. Stop." So I couldn't finish the tutorial. Cloud anyone help me?
|
|
|
Obrigado! Vou ter que baixar uns programas pra minerar por código. Valeu pelo link!
|
|
|
Como faço pra minerar a moeda em Mac?
|
|
|
|