Pages:
Author

Topic: [ANN][XMR][HOW TO] Install & use Monero on Linux (Read 15833 times)

legendary
Activity: 2156
Merit: 1131
February 19, 2016, 03:31:54 PM
#29
AFAIK all installed.
P.S. It is problem of Qt. Do you know how to install bitmonerod only?
   -MZ

We don't use Qt, there's no Monero GUI in Monero core yet. What operating system are you building on? And what compiler version do you get if you run gcc --version or g++ --version?
Can't setup monero.
clone git
install cmake since it was required
I run 'make'
Once make is done I can't install
make install or install make does nothing.
What am I missing ?
neither does in build and release folder.

This thread is too old. Check the main Monero thread or go on IRC #monero
newbie
Activity: 10
Merit: 0
AFAIK all installed.

P.S. It is problem of Qt. Do you know how to install bitmonerod only?

   -MZ

We don't use Qt, there's no Monero GUI in Monero core yet. What operating system are you building on? And what compiler version do you get if you run gcc --version or g++ --version?
Can't setup monero.

clone git
install cmake since it was required
I run 'make'
Once make is done I can't install
make install or install make does nothing.

What am I missing ?

neither does in build and release folder.
legendary
Activity: 2156
Merit: 1131
 
I'm trying to update the thread, can someone check if the OP is correct ?

Thanks
newbie
Activity: 11
Merit: 0
Totally agreed with you !

For everyone hoping to run a Monero node, I made a little guide on the official forum :
https://forum.getmonero.org/5/support/313/mini-guide-for-installing-a-node-on-debian-jessie

 Grin  Grin  Grin

44LWG3ZKbx9h15GZasC742FoHSHw4BnobKWPanCg4sEUauhWCP5eDwo2UCFUR7kqZ71s2uKagmy9FNy o7n58sBzG8T3oeH8
legendary
Activity: 1260
Merit: 1008
Ok, I'm going on.

I tried "git checkout", but sorry I'm not used to : what's that for ?  Huh
And finally, the same error occured.

So I looked after the same error code on internet and found this : https://github.com/ellzey/libevhtp/issues/127
I installed "libssl-dev" and it worked !  Grin

OK, OK... some warnings appeared, but for developpers eyes. Developpers, if you are interested : tell me !  Cool

Then I ran "bitmonerod" and it synchronized !
There is just this annoying message (for developpers eyes) :
[1433872546] libunbound[17776:0] info: warning: unsupported algorithm for trust anchor . DS IN                                                                                   
[1433872546] libunbound[17776:0] warning: trust anchor . has no supported algorithms, the anchor is ignored (check if you need to upgrade unbound and openssl)

Thank's GingerAle.


Awesome! There yah go ! Thats how yah do it!

We're all developers with Monero - thats what open source means.

Maybe the updated install script fixed these issues... i gotta find a way to host that. I dloaded it a while ago.... hrm....
newbie
Activity: 11
Merit: 0
Ok, I'm going on.

I tried "git checkout", but sorry I'm not used to : what's that for ?  Huh
And finally, the same error occured.

So I looked after the same error code on internet and found this : https://github.com/ellzey/libevhtp/issues/127
I installed "libssl-dev" and it worked !  Grin

OK, OK... some warnings appeared, but for developpers eyes. Developpers, if you are interested : tell me !  Cool

Then I ran "bitmonerod" and it synchronized !
There is just this annoying message (for developpers eyes) :
[1433872546] libunbound[17776:0] info: warning: unsupported algorithm for trust anchor . DS IN                                                                                   
[1433872546] libunbound[17776:0] warning: trust anchor . has no supported algorithms, the anchor is ignored (check if you need to upgrade unbound and openssl)

Thank's GingerAle.
legendary
Activity: 1260
Merit: 1008
Hmmm, yes I doubted something was going on with a sort of "openssl-dev".
I made my choice on "packages.debian.org" and installed "libcurl4-openssl-dev".

But that doesn't work neither...  Embarrassed


you still getting a dependency problem or what?

the latest head doesn't compile for me - it borks out with errors at around 74%... but head is bleeding edge, so this is the purpose of head - to find these bugs.

This commit compiled fine for me, so do this

make your way to ~/bitmonero/

Code:
git checkout f37ee2f30428040741ffc5c5bc96a12280f1ad93

then

Code:
make clean

hit yes, kill the build directory (unless you had wallet files in their)

then

Code:
make release-static
newbie
Activity: 11
Merit: 0
Hmmm, yes I doubted something was going on with a sort of "openssl-dev".
I made my choice on "packages.debian.org" and installed "libcurl4-openssl-dev".

But that doesn't work neither...  Embarrassed
legendary
Activity: 1260
Merit: 1008
Thank's GingerAle  Wink

But this time there's another error :

CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES
  OPENSSL_INCLUDE_DIR)


I've checked openssl was already installed : OpenSSL 1.0.2a 19 Mar 2015.



try to find an apt-get for openSSL-dev.... hrm, try this

Code:
sudo apt-get install libcurl4-openssl-dev
newbie
Activity: 11
Merit: 0
Thank's GingerAle  Wink

But this time there's another error :

CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES
  OPENSSL_INCLUDE_DIR)


I've checked openssl was already installed : OpenSSL 1.0.2a 19 Mar 2015.

legendary
Activity: 1260
Merit: 1008
all I know is that this works:

cd ~ && rm -f install_monero.sh && wget https://raw.githubusercontent.com/Quanttek/install_monero/master/install_monero.sh && bash install_monero.sh
Code:
cd ~ && rm -f install_monero.sh && wget https://raw.githubusercontent.com/Quanttek/install_monero/master/install_monero.sh && bash install_monero.sh


No, it doesn't !  Cry
It's a big deception, but when I'm launching the script, there's a fatal error at the end :

-- Could not find Berkeley DB >= 4.1 (missing:  BERKELEY_DB_INCLUDE_DIR BERKELEY_DB_LIBRARIES)
CMake Error at CMakeLists.txt:45 (message):
  BerkeleyDB not found.  At this time it should be installed in your
  system for a non-static build.


Have someone already encountered the same thing ?  Huh
(OS : SparkyLinux Jessie)


Yeah, the source code changed. The script needs to be updated. With the new code, the following will get you along farther.

Code:
sudo apt-get install libevent-dev

Code:
make release-static
newbie
Activity: 11
Merit: 0
all I know is that this works:

cd ~ && rm -f install_monero.sh && wget https://raw.githubusercontent.com/Quanttek/install_monero/master/install_monero.sh && bash install_monero.sh
Code:
cd ~ && rm -f install_monero.sh && wget https://raw.githubusercontent.com/Quanttek/install_monero/master/install_monero.sh && bash install_monero.sh


No, it doesn't !  Cry
It's a big deception, but when I'm launching the script, there's a fatal error at the end :

-- Could not find Berkeley DB >= 4.1 (missing:  BERKELEY_DB_INCLUDE_DIR BERKELEY_DB_LIBRARIES)
CMake Error at CMakeLists.txt:45 (message):
  BerkeleyDB not found.  At this time it should be installed in your
  system for a non-static build.


Have someone already encountered the same thing ?  Huh
(OS : SparkyLinux Jessie)
legendary
Activity: 1260
Merit: 1008
It really works on Debian 8 Jessie@MATE, thanks. But what the....

Code:
root@debian-katya:~/cpuminer/cpuminer-multi# ./minerd --help
[2015-06-05 16:56:13] CPU does not have AES-NI, which is required.

How to compile it for non-AES system? I haven't found an instruction: https://github.com/wolf9466/cpuminer-multi/blob/master/README.md#architecture-specific-notes

Wolf's kinda blows for non-aes. Install YAM's -

https://mega.co.nz/#F!h0tkXSxZ!f62uoUXogkxQmP2xO8Ib-g

thats a list of his miners, each compiled for different CPU architectures

if you don't know your CPU architecture, google it.
legendary
Activity: 2030
Merit: 1076
A humble Siberian miner
It really works on Debian 8 Jessie@MATE, thanks. But what the....

Code:
root@debian-katya:~/cpuminer/cpuminer-multi# ./minerd --help
[2015-06-05 16:56:13] CPU does not have AES-NI, which is required.

How to compile it for non-AES system? I haven't found an instruction: https://github.com/wolf9466/cpuminer-multi/blob/master/README.md#architecture-specific-notes
legendary
Activity: 1260
Merit: 1008
all I know is that this works:

cd ~ && rm -f install_monero.sh && wget https://raw.githubusercontent.com/Quanttek/install_monero/master/install_monero.sh && bash install_monero.sh
Code:
cd ~ && rm -f install_monero.sh && wget https://raw.githubusercontent.com/Quanttek/install_monero/master/install_monero.sh && bash install_monero.sh
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Ok there's your problem - per the dependencies: "Dependencies: GCC 4.7.3 or later"

Thanks for pointing it out!

If you're on an older version of Ubuntu you may find it best to add the Toolchain Test Builds PPA: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test and then install a more recent version of gcc. Once installed you will need to link the newer gcc/g++ version to default (ie. something similar to http://askubuntu.com/questions/26498/choose-gcc-and-g-version)

Everything done but still giving errors.

Code:
cc1plus: error: -Werror=maybe-uninitialized: no option -Wmaybe-uninitialized
cc1plus: error: unrecognized command line option '-std=c++11'
make[3]: *** [src/crypto/CMakeFiles/crypto.dir/crypto.cpp.o] Error 1
make[3]: Leaving directory `/root/bitmonero/build/release'
make[2]: *** [src/crypto/CMakeFiles/crypto.dir/all] Error 2
make[2]: Leaving directory `/root/bitmonero/build/release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/bitmonero/build/release'
make: *** [release-all] Error 2

It's probably easier for you to install Ubuntu 13.10 or 14.04 on your VPS instead. Ubuntu 14.04 is recommended, as it has current versions of gcc and boost.

It's not mine, I am helping a person but I will tell him though I am not sure whether he will because some daemons already installed in it and the sync is complete(BTC, LTC, Doge etc...).

   -MZ
donator
Activity: 1274
Merit: 1060
GetMonero.org / MyMonero.com
We don't use Qt, there's no Monero GUI in Monero core yet. What operating system are you building on? And what compiler version do you get if you run gcc --version or g++ --version?

I used new source. OS : Ubuntu and I am installing on VPS. I will tell about the version soon, I am trying again now and the shell script is running.

Edit: Version of gcc/g++ is 4.6.3 .

   -MZ

Ok there's your problem - per the dependencies: "Dependencies: GCC 4.7.3 or later"

If you're on an older version of Ubuntu you may find it best to add the Toolchain Test Builds PPA: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test and then install a more recent version of gcc. Once installed you will need to link the newer gcc/g++ version to default (ie. something similar to http://askubuntu.com/questions/26498/choose-gcc-and-g-version)

It's probably easier for you to install Ubuntu 13.10 or 14.04 on your VPS instead. Ubuntu 14.04 is recommended, as it has current versions of gcc and boost.
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
We don't use Qt, there's no Monero GUI in Monero core yet. What operating system are you building on? And what compiler version do you get if you run gcc --version or g++ --version?

I used new source. OS : Ubuntu and I am installing on VPS. I will tell about the version soon, I am trying again now and the shell script is running.

Edit: Version of gcc/g++ is 4.6.3 .

   -MZ
donator
Activity: 1274
Merit: 1060
GetMonero.org / MyMonero.com
AFAIK all installed.

P.S. It is problem of Qt. Do you know how to install bitmonerod only?

   -MZ

We don't use Qt, there's no Monero GUI in Monero core yet. What operating system are you building on? And what compiler version do you get if you run gcc --version or g++ --version?
legendary
Activity: 1428
Merit: 1001
getmonero.org
Can you tell me exactly what you did and what system do you use? Cause as i said this is really an old source and not even from the core team:
https://github.com/bitmonero-project/bitmonero (Old source)

https://github.com/monero-project/bitmonero    (thats the right source)

No i dont know how to compile just bitmonerod. Before, you could just uncheck simplewallet and test from CMakeLists.txt but now i dont know how.
Pages:
Jump to: