Mac Os X Version not updated?

+1 vote
I downloaded and compiled Mac OSX version of Multichain, but when trying to connect to pcm@proofcore.com:3000 (running protocol 10009) and it gives message:

ERROR: Couldn't initialize permission database for blockchain pcm. Probably multichaind for this blockchain is already running. Exiting...

I am used to that message, so I checked ps -x for running version, nothing running then I checked version on Mac - MultiChain Core Daemon build 1.0 beta 2 protocol 10008

Where can I get the up to date code for compiling? I downloaded from https://github.com/MultiChain/multichain
asked Oct 4, 2017 by mark

1 Answer

0 votes
Please build from the 1.0 release branch:

https://github.com/MultiChain/multichain/tree/1.0-release
answered Oct 4, 2017 by MultiChain
For anyone reading this:

./configure --with-gui=no --with-libs=no --with-miniupnpc=no
-bash: ./configure: No such file or directory

tried ./autogen.sh  and then ./configure

got this:

configure: error: OpenSSL ec header missing

so i did this:

export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include

and then ran ./configure again and it seems fine now
Thanks. Which OS X version are you on?
I am on 10.12.6 - but unfortunately getting this message still on the release version from github:

MultiChain Core Daemon build 1.0 beta 2 protocol 10008


ERROR: Couldn't initialize permission database for blockchain pcm. Probably multichaind for this blockchain is already running. Exiting...

Our main chain "pcm" is running 1.0.1
Is the main chain running on the same computer as the version you compiled? Independent of the versions, you can't run MultiChain more than once for the same chain on the same computer, unless you use the datadir option to separate multiple instances' directories.
I tried it on 2 different mac air laptops, with differing OS versions, both with the same result...nothing to do with multichain has ever been installed on them.
OK, but I don't understand why you are seeing the "1.0 beta 2" message if you are building from the "1.0-release" branch. Can you please check the MULTICHAIN_BUILD_DESC constant in the src/version/version.h file to see which version and branch you have actually checked out?
I went to: https://github.com/MultiChain/multichain/tree/1.0-release and just cloned the URL shown in github, but on checking the branch on my local terminal, it is set to master..I did a git checkout 1.0-release to switch to the correct branch and it seems that it has the correct version now..will compile again. I really should check the correct branch next time..;)
UPDATE: It compiled fine and I managed to connect to my other chains...so all is good..;)..finally..
Great - thanks for the update.
...