Bitcoin Forum
June 21, 2024, 03:09:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 »
  Print  
Author Topic: Monero Support  (Read 82929 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
xa4
Member
**
Offline Offline

Activity: 71
Merit: 10


View Profile
April 01, 2015, 07:50:08 PM
 #201

^You can't convert non-deterministic wallet to deterministic one. You should create a new wallet if you want to use this functionality.

Edited...

Thx for the info.
pa
Hero Member
*****
Offline Offline

Activity: 528
Merit: 501


View Profile
April 11, 2015, 06:15:59 PM
 #202

Downloaded the Mac binaries from the getmonero.org, and getting the following error when I try to run bitmonerod on OS X 10.10.3:
Code:
2015-Apr-11 14:06:48.557200 Starting...
2015-Apr-11 14:06:48.563352 bitmonero v0.8.8.6-release
2015-Apr-11 14:06:48.564965 Module folder: ./bitmonerod
2015-Apr-11 14:06:48.567490 Initializing P2P server...
2015-Apr-11 14:06:49.527648 ERROR /Users/ric/Desktop/working/bitmonero/src/p2p/net_node.inl:128 Exception at [node_server::init_config], what=unsupported version
2015-Apr-11 14:06:49.527742 ERROR /Users/ric/Desktop/working/bitmonero/src/p2p/net_node.inl:289 Failed to init config.
2015-Apr-11 14:06:49.527794 ERROR /Users/ric/Desktop/working/bitmonero/src/daemon/daemon.cpp:239 Failed to initialize P2P server.
2015-Apr-11 14:06:49.529663 Mining has been stopped, 0 finished

Any ideas?
pa
Hero Member
*****
Offline Offline

Activity: 528
Merit: 501


View Profile
April 11, 2015, 08:14:13 PM
 #203

Downloaded the Mac binaries from the getmonero.org, and getting the following error when I try to run bitmonerod on OS X 10.10.3:
Code:
2015-Apr-11 14:06:48.557200 Starting...
2015-Apr-11 14:06:48.563352 bitmonero v0.8.8.6-release
2015-Apr-11 14:06:48.564965 Module folder: ./bitmonerod
2015-Apr-11 14:06:48.567490 Initializing P2P server...
2015-Apr-11 14:06:49.527648 ERROR /Users/ric/Desktop/working/bitmonero/src/p2p/net_node.inl:128 Exception at [node_server::init_config], what=unsupported version
2015-Apr-11 14:06:49.527742 ERROR /Users/ric/Desktop/working/bitmonero/src/p2p/net_node.inl:289 Failed to init config.
2015-Apr-11 14:06:49.527794 ERROR /Users/ric/Desktop/working/bitmonero/src/daemon/daemon.cpp:239 Failed to initialize P2P server.
2015-Apr-11 14:06:49.529663 Mining has been stopped, 0 finished

Any ideas?

Nevermind. Used "brew install bitmonero" instead.
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
May 16, 2015, 06:10:55 AM
Last edit: May 16, 2015, 09:09:35 AM by molecular
 #204

I could use some help running a node...

I compiled bitmonerod and made a ~/.bitmonero folder (putting downloaded blockchain.bin and an old wallet.bin I have into it).

when I run a node I see this being repeated:

Code:
2015-May-16 08:05:21.827009 [P2P0]Failed to connect to any of seed peers, continuing without seeds

[/s]
how to get seed node or peers?

Also the blockchain.bin obviously doesn't get used:

Code:
2015-May-16 08:05:20.435886 Blockchain initialized. last block: 0, d1046.h1.m5.s20 time ago, current difficulty: 1

Do I have to import blockchain.bin somehow?


EDIT: I got help on irc #monero, so this is solved.

https://getmonero.org/getting-started/running doesn't help at all. It's extremely light on info and doesn't offer any information about configuration and/or troubleshooting. Frankly it's quite frustrating, I can't find any useful information on configuring / running a node. I would be grateful if someone could point me to some documentation. README.md doesn't give info beyond building, either.


My wallet doesn't work either:

Code:
~/bitcoin/monero\> build/release/bin/simplewallet
Creating the logger system
bitmonero wallet v0.8.8.7-21a72bd
Specify wallet file name (e.g., wallet.bin). If the wallet doesn't exist, it will be created.
Wallet file name: /home/user/.bitmonero/wallet.bin
Error: failed to open wallet "/home/user/.bitmonero/wallet.bin". Keys file wasn't found

am I missing another file to complete the wallet? Is it an old incompatible format?

Any help is appreciated.


EDIT was missing key file

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
May 16, 2015, 08:42:24 AM
 #205



1. blockchain.bin being in your .bitmonero directory should get loaded at startup and you shouldn't be starting with block 0. Are there any messages that indicate a problem loading it. Or maybe the file is download failed and the file is zero length?

2. Yes, you need the .keys file for the actual wallet. The .bin file is just a cache of part of the blockchain.

3. It isn't customary to put the wallet files in .bitmonero. Suggest just putting them in a regular directory where you can see them (dot files are normally hidden)

4. Usually being unable to access seed nodes indicates a firewall problem. There are 20 or so seed nodes hard coded into it, at least one should work.

EDIT: Correction to #1 above. I realized since you compiled it yourself you are running the database version (does not store the blockchain in RAM any more), which means you need to convert the blockchain.bin file. There is something called blockchain_convert, which requires a lot of RAM but is a one-step process, or the alternative is blockchain_export followed by blockchain_import (two step process but uses less RAM). Third alternative is just let is sync from scratch, but that can take quite a while. None of these processes is lightning fast though.


adhitthana
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000



View Profile
May 18, 2015, 10:39:51 AM
 #206

So I have some Monero, on an exchange. Can I store them anywhere, apart from an exchange,  with downloading a wallet and the entire blockchain?
shitaifan2013
Legendary
*
Offline Offline

Activity: 879
Merit: 1000

monero


View Profile
May 18, 2015, 11:44:27 AM
 #207

So I have some Monero, on an exchange. Can I store them anywhere, apart from an exchange,  with downloading a wallet and the entire blockchain?

do you mean "without downloading..." ?

if so, https://mymonero.com/#/ should be what you're looking for.

adhitthana
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000



View Profile
May 18, 2015, 01:08:58 PM
 #208

Thanks and yes I meant without. Smiley
Gabri
Sr. Member
****
Offline Offline

Activity: 856
Merit: 250



View Profile
May 18, 2015, 01:11:50 PM
 #209

Just tried to install Monero on my Mac using the official "getting started" site. After some errors from homebrew (brew doctor solved it), the installation went as expected Smiley
GingerAle
Legendary
*
Offline Offline

Activity: 1260
Merit: 1008


View Profile WWW
August 02, 2015, 01:13:34 PM
Last edit: January 03, 2017, 12:47:46 PM by GingerAle
 #210

updated compile instructions can be found on the github https://github.com/monero-project/monero

Code:
[code][code]


Installation Instructions

As of 20160421, you can download released binaries and simply use them, no need to compile from source.

Code:
cd
mkdir monero_0904
cd monero_0904
wget https://downloads.getmonero.org/monero.linux.x64.v0-9-4-0.tar.bz2
tar -vxjf monero.linux.x64.v0-9-4-0.tar.bz2
./bitmonerod

Compiling Instructions

Crossposting here because compiling instructions keep on getting lost in our main ANN talk thread. There are general compile instructions on the github here:

https://github.com/monero-project/bitmonero

Noobs and others! Welcome to Monero, the cryptocurrency thats kind of a real pain the ass to use because its truly volunteer open source development that takes a while and we're all drinking way too much coffee to have this kind of patience! Here, I provide instructions on how to compile the bleeding edge version of Monero in Linux - meaning, its still in testing. If you're interested in Monero to the extent to actually consider compiling, thats awesome - because you're probably more into the software cool technology part of this stuff as opposed to the dollas and cents. And if you're like me, you can't actually code - so your stuck in this place where all you can do is hope the price goes up and try ranting and raving about Monero anywhere you can.

Well no more! Now you're going to become a Monero Compiler! Compiling from the github repository gets you the latest, bleeding edge version of the software, so you can help find bugs and and otherwise test that everything works the way it should.

As of writing, the bleeding edge of Monero includes a LOT of features that the current binary releases do not have. The ones that I find important and interesting are: LMDB - a databased blockchain. This allows monero to run with 50 megs of RAM, which is awesome. Recently, there were some optimizations that allow really fast sync times. Additionally, there's been some fun wallet software updates, that include sweep dust and view-only wallets. There's probably a lot more that I'm missing, but I don't fully understand all that goes on. As I've said before, I'm just a dude - not a dev.

Warning - this compiles recent head, which should be considered experimental code - test before you trust! (i.e., send tiny amounts of money before using this code to send ALL your money. It's been working for everyone that uses it with little glitches here and there, but hey, if you find a bug, report the bug!!!)

NOTE: I can personally check compiling in Ubuntu as detailed below. If you are building in other systems, try mimicking the dependencies of the Ubuntu instructions. I will try to keep these up to date (compiling head is a moving target due to development)

REGARDING BLOCKCHAIN BOOTSTRAPS:  As of 20150906, the bootstraps available on the getmonero.org website are from the old in-memory version. Thus, they are not immediately compatible with this version you are about to compile. There is a way to convert one to the other. The recommended order is blockchain_export, followed by blockchain_import. Honestly, I would suggest just synchronizing from the network. It will probably take just as long as doing the conversions.  

UBUNTU 15.10
from: https://github.com/moneroexamples/compile-monero-ubuntu-1510

# ubdate ubuntu's repository
Code:
sudo apt-get update

#install git
Code:
sudo apt-get install git

# install dependencies
Code:
sudo apt-get install build-essential cmake libboost-all-dev miniupnpc libunbound-dev graphviz doxygen libdb5.3++-dev

then goto step 4 below

UBUNTU 14.04

DEPENDENCIES CAPABLE OF BUILDING 20150901 commit cf88e4d
If you are building a more recent head, it might not work. You can try rolling back to a different commit, by typing git checkout insert-comit-hash-here after step #5. You can get specific commits here: https://github.com/monero-project/bitmonero/commits/master

1.
Code:
sudo apt-get update
2.
Code:
sudo apt-get upgrade -y
3.
Code:
sudo apt-get install -y git gcc-4.9 cmake libunbound2 libevent-2.0-5 libgtest-dev libboost1.55-all-dev libevent-dev libssl-dev build-essential pkg-config miniupnpc libdb++-dev libdb-dev
4.
Code:
git clone https://github.com/monero-project/bitmonero.git
5.
Code:
cd bitmonero
6.
Code:
make

These were provided by Arux, as documented by me here:
https://forum.getmonero.org/5/support/142/useful-links-including-blockchain-downloads

There is a more in depth tutorial made by Antanst here:
https://antanst.com/blog/2015/05/22/how-to-set-up-a-monero-node-in-ubuntu-14.04/

If you get no errors, you're ready to start the daemon and begin syncing the blockchain.
Code:
cd build/release/bin
./bitmonerod

If the timestats are annoying (this was for optimization), you can add --show-time-stats 0

Open another Terminal window. Now you can run simplewallet and start using Monero!
Code:
./simplewallet


LINUX MINT 17.2 instructions as figured out by robricc here: https://bitcointalk.org/index.php?topic=583449.msg12042051#msg12042051

Code:
sudo apt-get update
Code:
sudo apt-get install -y git gcc-4.9 cmake libunbound2 libevent-2.0-5 libgtest-dev libboost1.55-dev libboost-system1.55-dev libboost-filesystem1.55-dev libboost-thread1.55-dev libboost-date-time1.55-dev libboost-chrono1.55-dev libboost-regex1.55-dev libboost-serialization1.55-dev libboost-program-options1.55-dev libunbound-dev build-essential libssl-dev libdb++-dev libdb-dev
Code:
git clone https://github.com/monero-project/bitmonero.git
cd bitmonero
make

Ultimately, you can't overinstall things, because it won't re-install if you already have stuff. Sudo apt-get baby! Thanks whoever came up with package managers.


From saddambitcoin:
https://bitcointalk.org/index.php?topic=583449.msg12081763#msg12081763

Have you been thinking it's “Way too hard to acquire these Monero Bucks”?

A Step By Step Guide to Compiling Monero on OSX:

I've noticed an increase of people wanting to compile the latest code. While there are plenty of Linux resources I haven't seen many for OSX. Also, the bitmonero Github README points to instructions that install an older release, which is not what you want.

The good thing is, the instructions are not much different from Linux, but if you're new to the command line this may be intimidating to figure out.

Just follow these instructions step by step in your Terminal and you'll be running in no time.

1. Install Homebrew.
Code:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2. Install various packages needed to build the Monero daemon and wallet.
Code:
brew install git boost cmake libevent miniupnpc  pkg-config unbound
updated 12/25/2015 its a christmas miracle.

3. Clone the bitmonero repository to your computer using Git.
Code:
git clone https://github.com/monero-project/bitmonero.git bitmonero

4.
Code:
cd bitmonero

5. Finally, compile the code.
Code:
make release

6. If you get no errors, you're ready to start the daemon and begin syncing the blockchain.
Code:
cd build/release/bin
./bitmonerod

7. Command+T to open another Terminal tab. Now you can run simplewallet and start using Monero!
Code:
./simplewallet

8. If you found this guide helpful, feel free to donate 1 XMR like so:
Code:
transfer 3 47Vmj6BXSRPax69cVdqVP5APVLkcxxjjXdcP9fJWZdNc5mEpn3fXQY1CFmJDvyUXzj2Fy9XafvUgMbW91ZoqwqmQ6RjbVtp 1

(thats saddambitcoins address, btw. Spread the monero! put more outputs on the blockchain!)

Archlinux and other rare variants,
as detailed here on one of these awesome i2p web URLs

http://cucjrcntebdskoljhpxj4xc3bmietslv7nfg5uy7itgrbgppcb6q.b32.i2p.us/arch.html

Code:
pacman -Sy; pacman -S boost boost-libs git gcc autoconf automake cmake db unbound gtest ldns expat bison pkg-config;
git clone https://github.com/libevent/libevent; cd libevent;./autogen.sh;./configure --prefix=/usr;make;make install;
cd; git clone https://github.com/monero-project/bitmonero; cd bitmonero; make release-static

This guy is on a role: I'll actually copy these to this thread eventually.

How to compile Monero on FreeBSD:
http://cucjrcntebdskoljhpxj4xc3bmietslv7nfg5uy7itgrbgppcb6q.b32.i2p.us/freebsd.html
http://moneronodes.i2p.xyz/freebsd.html

How to compile Monero on RHEL 7 / CentOS 7 / Fedora: linkie 1 or linkie 2
http://cucjrcntebdskoljhpxj4xc3bmietslv7nfg5uy7itgrbgppcb6q.b32.i2p.us/centos.html
http://moneronodes.i2p.xyz/centos.html

How to compile Monero on OpenSUSE 13.2: linkie 1 or linkie 2
http://cucjrcntebdskoljhpxj4xc3bmietslv7nfg5uy7itgrbgppcb6q.b32.i2p.us/opensuse.html
http://moneronodes.i2p.xyz/opensuse.html


How to compile Monero on Mageia 5: linkie 1 or linkie 2
http://cucjrcntebdskoljhpxj4xc3bmietslv7nfg5uy7itgrbgppcb6q.b32.i2p.us/mageia.html
http://moneronodes.i2p.xyz/mageia.html


How to compile Monero on Slackware: linkie 1 or linkie 2
http://cucjrcntebdskoljhpxj4xc3bmietslv7nfg5uy7itgrbgppcb6q.b32.i2p.us/slackware.html
http://moneronodes.i2p.xyz/slackware.html

How to compile Monero on Gentoo: linkie 1 or linkie 2
http://cucjrcntebdskoljhpxj4xc3bmietslv7nfg5uy7itgrbgppcb6q.b32.i2p.us/gentoo.html
http://moneronodes.i2p.xyz/gentoo.html

File a bug report using these steps:

1. Try to reproduce the bug. Some bugs are very glitchy in nature and won't reproduce easily, but try.
2. google a bit to see if this has been discovered already, or is known. Known bugs (as far as I'm aware) include:

A. sigfault on exit
B. daemon stall due to suspected dethreading (use print_cn when daemon has stalled, you will see two header rows)
C. funds get stuck in locked status - this can happen when you make a transaction in simplewallet when the daemon isn't syncronized. This can be rescued by regenerating your wallet.

3. Use this template to report your issue. At first, just report the bug here, and we can try to do some triage before filling the github with issues. If this thread becomes a mess, we can go straight to the github, try a triage thing on the forum.getmonero.org, or make a new moderated thread.

Operating System: windows 8.1, Ubuntu 15.0~, etc
Hardware details: system RAM, CPU information, free space on HD - e.g., 8 gigs RAM, AMD FX9590
Describe activity: e.g., I was mining on 3 threads and trying to make a 90 mixin transaction and all of a sudden my computer turned into a giant purple people eater
Commit: insert the commit #. this will allow people that are debugging to know which version of the software you compiled. When the daemon is running, type "help". At the top of this output, there will be something like "bitmonero v0.8.8.7-1737fec" The bolded part can be used to identify the commit. There are other, better ways to get the version info, but I forget them.


Okay, this should be a good starting point. I had made videos on how to compile in a linux virtual machine, but I need to redo them. if you follow part 1 of my virtual machine series (https://www.youtube.com/watch?v=upX2SOZXYnk), that will get you started with the virtual machine. You can then use the above commands in a terminal to start playing with compiling Monero.

edited 20150803 to add libboost1.55-all-dev to the dependency line for ubuntu install, might be redundant with libboost1.55-dev in there. Also added linux mint instructions.

edited 20150805 - shortened it to the libboost1.55-all-dev, but then added it back in.

Basically, if it throw errors, google the shit outta something and ask. Look below for AmericanPegasus's battle with Mint.

At one point I stopped citing people who contributed to figuring out various dependencies. Sorry! But if you look below you can see who figured out what. GODSPEED YOU MIGHTY COMPILER!

From the main ANN thread: If you have old Monero stuff on your PC, the newer builds can throw errors when you try to sync. See below to fix.

Code:
2015-Aug-05 12:28:22.322839 [P2P8][188.134.79.203:18080 OUT]Sync data returned unknown top block: 202622 -> 681852 [479230 blocks (332 days) behind] 
SYNCHRONIZATION started
2015-Aug-05 12:28:26.961903 [P2P9][188.134.79.203:18080 OUT]-->>NOTIFY_REQUEST_GET_OBJECTS: blocks.size()=200, txs.size()=0requested blocks count=200 / 200
2015-Aug-05 12:28:28.195987 [P2P8][109.10.159.165:18080 OUT]Got NEW BLOCKS inside of handle_response_get_objects: size: 200
2015-Aug-05 12:28:28.204492 [P2P8]HASH: - VIN/VOUT: 41/80 H: 0 chcktx: 2
2015-Aug-05 12:28:28.211067 [P2P8]HASH: - VIN/VOUT: 45/45 H: 0 chcktx: 1
2015-Aug-05 12:28:28.223177 [P2P8]HASH: - VIN/VOUT: 79/51 H: 0 chcktx: 3
2015-Aug-05 12:28:28.246164 [P2P8]Height: 202623 blob: 286 cumm: 46946 p/t: 14 (4/0/0/0/0/0/9/0/0/0/7)ms
2015-Aug-05 12:28:28.252709 [P2P8]HASH: - VIN/VOUT: 55/54 H: 0 chcktx: 1
2015-Aug-05 12:28:28.256634 [P2P8]HASH: - VIN/VOUT: 1/55 H: 0 chcktx: 0
2015-Aug-05 12:28:28.264167 [P2P8]Height: 202624 blob: 285 cumm: 14468 p/t: 4 (0/1/0/0/0/0/2/0/0/0/2)ms
2015-Aug-05 12:28:28.270787 [P2P8]HASH: - VIN/VOUT: 24/69 H: 0 chcktx: 1
2015-Aug-05 12:28:28.279580 [P2P8]HASH: - VIN/VOUT: 53/52 H: 0 chcktx: 3
2015-Aug-05 12:28:28.279954 [P2P8]ERROR /home/skunk/bitcoin/bitmonero/src/cryptonote_core/tx_pool.cpp:189 internal error: try to insert duplicate iterator in key_image set
2015-Aug-05 12:28:35.640622 [P2P4][176.9.89.217:18080 OUT]-->>NOTIFY_REQUEST_GET_OBJECTS: blocks.size()=200, txs.size()=0requested blocks count=200 / 200
2015-Aug-05 12:28:37.736564 [P2P8][80.82.78.38:18080 OUT]-->>NOTIFY_REQUEST_GET_OBJECTS: blocks.size()=200, txs.size()=0requested blocks count=200 / 200
2015-Aug-05 12:28:42.500006 [P2P6][176.9.89.217:18080 OUT]Got NEW BLOCKS inside of handle_response_get_objects: size: 200
2015-Aug-05 12:28:42.520971 [P2P6]HASH: - VIN/VOUT: 25/78 H: 0 chcktx: 2
2015-Aug-05 12:28:42.521279 [P2P6]ERROR /home/skunk/bitcoin/bitmonero/src/cryptonote_core/tx_pool.cpp:189 internal error: try to insert duplicate iterator in key_image set
2015-Aug-05 12:28:44.526165 [P2P5][80.82.78.38:18080 OUT]Got NEW BLOCKS inside of handle_response_get_objects: size: 200
2015-Aug-05 12:28:44.549773 [P2P5]HASH: - VIN/VOUT: 24/69 H: 0 chcktx: 2
2015-Aug-05 12:28:46.933277 [P2P9][31.128.159.34:18080 OUT]-->>NOTIFY_REQUEST_GET_OBJECTS: blocks.size()=200, txs.size()=0requested blocks count=200 / 200
2015-Aug-05 12:28:51.512626 [P2P6][31.128.159.34:18080 OUT]Got NEW BLOCKS inside of handle_response_get_objects: size: 200
2015-Aug-05 12:28:51.522660 [P2P6]HASH: - VIN/VOUT: 71/46 H: 0 chcktx: 3
2015-Aug-05 12:28:51.523018 [P2P6]ERROR /home/skunk/bitcoin/bitmonero/src/cryptonote_core/tx_pool.cpp:189 internal error: try to insert duplicate iterator in key_image set
print_height
202624
ok, it seems there is something indigestible for master wallet at this block height...
i give up, will come back in some months...

warptangent said this on irc last night, I just stumbled upon it:

<warptangent> about this issue, skunk could try removing the existing poolstate.bin file. most people running a client from last year onwards, without having cleared that file, probably have dangling key images (left over from txs no longer in the pool)  https://bitcointalk.org/index.php?topic=583449.msg12055171#msg12055171
<warptangent> daemon I mean... bitmonerod

Also, you could try and state your question in this thread: https://bitcointalk.org/index.php?topic=652305.0

Hope that works!


STILL NOT SATISFIED? BUILD DEV!

Yes, its true. Monero core team is moving to a stable-ish source on the release branch, and a no holds-barred development branch. Currently on dev branch is zeroMQ. So if compiling a working Monero isn't satisfying your desire to watch your computer do cool things after you copy and paste commands into it (I COMMAND YOU COMPUTER!!), you can try your hand at the dev branch.

Do steps 1-3 to make sure you have the main dependencies required.

This will clone another copy of the git repository into the directory mondev
Code:
git clone https://github.com/monero-project/bitmonero.git mondev

This will make your compilers and such use the development branch instead of the release branch
Code:
git checkout development

Key new dependency is new zeroMQ stuff, which can be installed by following the instructions provided here:
https://github.com/zeromq/czmq#using-czmq

when all thats done, make your way back to the mondev folder, then type

Code:
make debug

Now, this is probably best used on testnet at this point, so get to /build/debug/bin/, then enter

Code:
./bitmonerod --testnet

you'll have to play around with your ports because testnet uses 28080



edited 20150807 to add libevent-dev to the ubuntu instructions.
edited 20150809 to add sadaambitcoins OSX instructions
edited 20150810 to modify mint instructions due to typos found by bosco[/code][/code]
edited 20150823 to modify Ubuntu build dependencies
edited 20150912 to add instructions on building development branch
edited 20150919 to add pkg-config to OSX list of deps

< Track your bitcoins! > < Track them again! > <<< [url=https://www.reddit.com/r/Bitcoin/comments/1qomqt/what_a_landmark_legal_case_from_mid1700s_scotland/] What is fungibility? >>> 46P88uZ4edEgsk7iKQUGu2FUDYcdHm2HtLFiGLp1inG4e4f9PTb4mbHWYWFZGYUeQidJ8hFym2WUmWc p34X8HHmFS2LXJkf <<< Free subdomains at moneroworld.com!! >>> <<< If you don't want to run your own node, point your wallet to node.moneroworld.com, and get connected to a random node! @@@@ FUCK ALL THE PROFITEERS! PROOF OF WORK OR ITS A SCAM !!! @@@@
Melbustus
Legendary
*
Offline Offline

Activity: 1722
Merit: 1003



View Profile
August 03, 2015, 03:59:34 PM
 #211

...
Code:
sudo apt-get install git gcc-4.9 cmake libunbound2 libevent-2.0-5 libgtest-dev libboost1.55-dev
...

The bolded package didn't work for me on Ubuntu 14.04 LTS (which is probably what most casual Linux users are going to be running).

In addition to your notes above, I had to do:
Code:
sudo apt-get install libboost1.55-all-dev
...before it would compile for me.

Working now, though!

Thanks for the detailed post, GingerAle.

Bitcoin is the first monetary system to credibly offer perfect information to all economic participants.
americanpegasus
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



View Profile
August 05, 2015, 05:14:15 AM
 #212

Wow, thanks for trying to make it easy for us newbies!  I'm running Mint Cinnamon 17.2 so it was a pleasant surprise to find your compiling instructions here without even having to ask. 
 
So starting out, I'm one million percent new to this, and tried the following command by Gingerale in my Linux Mint 17.2 terminal: 

Quote
sudo apt-get install git gcc-4.9 cmake libunbound2 libevent-2.0-5 libgtest-dev libboost1.55-dev libboost-system1.55-dev libboost-filesystem1.55-dev libboost-thread1.55-dev libboost-date_time1.55-dev libboost-chrono1.55-dev libboost-regex1.55-dev libboost-serialization1.55-dev libboost-program_options1.55-dev libunbound-dev build-essential libssl-dev libdb++-dev
 
 
All worked well, but four errors came up for the following two packages: 
 
E: Unable to locate package libboost-date_time1.55-dev
E: Couldn't find any package by regex 'libboost-date_time1.55-dev'
E: Unable to locate package libboost-program_options1.55-dev 
E: Couldn't find any package by regex 'libboost-program_options1.55-dev'   
 
So, being the resourceful and irresponsible person I am, I started throwing sudo commands around like Avarda Kevardas in a Harry Potter movie and stuff installed: 
 
Quote
sudo apt-get install libboost-program-options1.55-dev
Quote
sudo apt-get install libboost-date-time1.55-dev
 
 
Some stuff happened.  I hope it was supposed to happen. 
 
Moving on.

Account is back under control of the real AmericanPegasus.
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
August 05, 2015, 05:28:14 AM
 #213

replace all the libboost1.55... crap in the apt-get install line with

libboost1.55-all-dev

EDIT: I see Melbustus pointed out the same thing above.

I don't know why the previous instructions specified a specific set of boost packages but that really makes things more fragile and isn't needed unless you are trying to fit the system onto the tiniest little device with minimal storage (and then good luck running a monero node). The default set of boost packages is fine.
americanpegasus
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



View Profile
August 05, 2015, 05:38:54 AM
 #214

replace all the libboost1.55... crap in the apt-get install line with

libboost1.55-all-dev

EDIT: I see Melbustus pointed out the same thing above.

I don't know why the previous instructions specified a specific set of boost packages but that really makes things more fragile and isn't needed unless you are trying to fit the system onto the tiniest little device with minimal storage (and then good luck running a monero node). The default set of boost packages is fine.

  
Thanks for the response.  I've followed all the instructions and this is what I'm getting.  Anyone have any idea what I'm doing wrong?  Running Linux Mint 17.2, a fresh install.  I followed all the commands to install all the packages previously.


Account is back under control of the real AmericanPegasus.
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
August 05, 2015, 05:43:01 AM
 #215

apt-get install cmake
americanpegasus
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



View Profile
August 05, 2015, 05:59:49 AM
 #216

apt-get install cmake

Ok, I used that command (ARE YOU ROOT?) and had to use it with sudo (I'm assuming it's because I have a user password on).  Afterwards "make" gives me a massive text dump upon trying to compile. 
 
>make
Quote
mkdir -p build/release
cd build/release && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release ../.. && make
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:90 (file):
  file Internal CMake error when trying to open file:
  /home/user/Monero/bitmonero/build/release/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
  for writing.
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:100 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
  /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:33 (project)


CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:90 (file):
  file Internal CMake error when trying to open file:
  /home/user/Monero/bitmonero/build/release/CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
  for writing.
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:100 (CMAKE_DETERMINE_COMPILER_ID_WRITE)
  /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:33 (project)


-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Could not find DEVELOPER_LOCAL_TOOLS in env (not required)
-- BOOST_IGNORE_SYSTEM_PATHS defaults to OFF
-- Could not find DEVELOPER_LIBUNBOUND_OLD in env (not required)
-- Building for a 64-bit system
-- Could not find DATABASE in env (not required unless you want to change database type from default: lmdb)
-- Could not find Berkeley DB >= 4.1 (missing:  BERKELEY_DB_INCLUDE_DIR BERKELEY_DB_LIBRARIES)
-- BerkeleyDB not found and has been disabled.
-- Could not find miniupnp
-- Using miniupnpc from local source tree (/external/miniupnpc)
-- Looking for libunbound
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (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)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindOpenSSL.cmake:313 (find_package_handle_standard_args)
  external/unbound/CMakeLists.txt:33 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/user/Monero/bitmonero/build/release/CMakeFiles/CMakeOutput.log".
See also "/home/user/Monero/bitmonero/build/release/CMakeFiles/CMakeError.log".
make: *** [release-all] Error 1
 
 
Any ideas what's going wrong?

Account is back under control of the real AmericanPegasus.
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
August 05, 2015, 06:12:56 AM
 #217

ARE YOU ROOT?

No I just didn't mention the usual sudo

I'm not sure what is causing the "Internal CMake error"

Maybe that's something someone else has seen before, I have not.

EDIT: maybe you don't have the C++ modules installed for gcc?

I usually install build-essential, which pulls in all the compiler stuff needed.
americanpegasus
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



View Profile
August 05, 2015, 06:26:15 AM
 #218

ARE YOU ROOT?

No I just didn't mention the usual sudo

I'm not sure what is causing the "Internal CMake error"

Maybe that's something someone else has seen before, I have not.


Ok, well thanks for your help.  If anyone is curious it's a new compy, fresh install of Linux Mint 17.2, and after getting the internet up and running I went to the terminal and typed and executed all of the following commands, in this order: 

Quote
sudo apt-get install git gcc-4.9 cmake libunbound2 libevent-2.0-5 libgtest-dev libboost1.55-dev libboost-system1.55-dev libboost-filesystem1.55-dev libboost-thread1.55-dev libboost-date_time1.55-dev libboost-chrono1.55-dev libboost-regex1.55-dev libboost-serialization1.55-dev libboost-program_options1.55-dev libunbound-dev build-essential libssl-dev libdb++-dev
 
 
(Two of the libraries didn't install so i try them separately and proceed.)

Quote
sudo apt-get install libboost-program-options1.55-dev

Quote
sudo apt-get install libboost-date-time1.55-dev
 
Quote
 
 
Quote
cd bitmonero
make
 
 
ERROR 

(Ain't nobody got time for this.  Just fuapt-get install cmakeck me up Ubuntu.)
 
Quote
sudo apt-get install libboost1.55-all-dev 
 
 
Quote
make
 
 
ERROR 
 
(Apparently I need to install the thing that lets me make the thing.  Definitely *not* Linux masterracing right now) 
 
Quote
apt-get install cmake 
 
 
Quote
make
 
 
MOST RECENT ERROR 
 
It's a shame; I was looking forward to compiling and playing with the latest version.  Let me know if I can bug/newbie test anything else or help to try to understand why this is happening.
 

 

Account is back under control of the real AmericanPegasus.
americanpegasus
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



View Profile
August 05, 2015, 06:28:47 AM
 #219



EDIT: maybe you don't have the C++ modules installed for gcc?

I usually install build-essential, which pulls in all the compiler stuff needed.

Ummmm, like I said,

 
 
I'll go Google how to install those.  Thanks for the suggestion.

Account is back under control of the real AmericanPegasus.
americanpegasus
Hero Member
*****
Offline Offline

Activity: 770
Merit: 502



View Profile
August 05, 2015, 06:33:33 AM
 #220


EDIT: maybe you don't have the C++ modules installed for gcc?

I usually install build-essential, which pulls in all the compiler stuff needed.

I just installed this: http://community.linuxmint.com/software/view/build-essential
which sadly did not fix the problem.  Attempting to compile still gives the same mega-error. 
 
Let me google some stuff about installing c++ modules prior to trying to compile? 
 
Is it possible that there's some basic n00b step I haven't done?  Remember, I've done nothing but what I said.  Fresh OS install, set up a firewall, added a wireless network, and started playing around with terminal.

Account is back under control of the real AmericanPegasus.
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!