Author

Topic: Slimcoin | First Proof of Burn currency | Decentralized Web - page 146. (Read 137085 times)

member
Activity: 98
Merit: 10
Yep, I figured it out, installed Berkeley DB via brew, compiled it, launched. All good. Now I need a blockchain Smiley
legendary
Activity: 2254
Merit: 1290
Well, gave it a try again, and after 38 minutes, no luck... It's most likely something on my part.

Nothing on your part. It's a bad build.

Hidden behind the exuberant splash screen lurks a hidden dialog box reporting a BDB error.

(Turn off the splash screen with splash=0 either in config or command-line arg.)

I'll fire up the Sierra VM, see if I can guess what I did wrong.

Edit: But not before setting up that cron job

Aha, a hint. While the daemon was halted, I checked the server's db.log:

Code:
BDB2506 file addr.dat has LSN 277/7510668, past end of log at 1/28
BDB2507 Commonly caused by moving a database from one database environment
BDB2508 to another without clearing the database LSNs, or by removing all of
BDB2509 the log files from a database environment

That's the cause of the problem, I reckon. Next step is understand precisely what the log message means.

Cheers

Graham
member
Activity: 98
Merit: 10
Thanks to @gihiggins I now have a working OSX Slimcoin client (didn't work out smoothly, I had to reinstall Berkeley DB, but in the end it worked). Now the network seems very slow, I estimate that a full blockchain download will take about 4-5 days.

Any suggestions?

Thank you. Glad to be part of this. Looks promising.
newbie
Activity: 34
Merit: 0
stuck at block 845745... Linux, slimcoind

It should continue syncing after some time. If not try restarting slimcoind, this fixed it for me.
full member
Activity: 222
Merit: 103
{
    "version" : "SLMv0.4.1-alpha-21-g09f4250-alpha",
    "protocolversion" : 60003,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "newmint" : 0.00000000,
    "stake" : 0.00000000,
    "blocks" : 845745,
    "moneysupply" : 13777855.36523100,
    "connections" : 12,
    "proxy" : "",
    "ip" : "62.152.54.44",
    "difficulty" : 0.00759294,
    "testnet" : false,
    "keypoololdest" : 1431462681,
    "keypoolsize" : 101,
    "paytxfee" : 0.01000000,
    "errors" : ""
}

stuck at block 845745... Linux, slimcoind
legendary
Activity: 2254
Merit: 1290
Got rid of that error, now it stops at make:

an easy one ...

Quote
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++

clang: warning: no such sysroot directory: '/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'

Xcode 8.2 hadn't been released at the time, the pre-release installed as Xcode-beta.

Re-pull from github, I just edited the slimcoin-qt.pro file:

https://github.com/slimcoin-project/Slimcoin/commit/c0b4466bb891b71c4f74d1dc33f676a7b48a70ef

Cheers

Graham
member
Activity: 98
Merit: 10
Got rid of that error, now it stops at make:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.8 -mmacosx-version-min=10.12 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -fstack-protector -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.12 -fstack-protector-all --param ssp-buffer-size=1 -D_FORTIFY_SOURCE=2 -O2 -std=gnu++11 -Wall -Wextra -Wformat -Wformat-security -Wno-ignored-qualifiers -Wno-invalid-offsetof -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-declarations -fPIC -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_NO_PRINTER -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DHAVE_BUILD_INFO -DMAC_OSX -DMSG_NOSIGNAL=0 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -Isrc -Isrc/json -Isrc/qt -I/usr/local/include -I/usr/local/Cellar/miniupnpc/2.0/include -I/usr/local/opt/berkeley-db4/include -I/usr/local/opt/boost/include -I/usr/local/opt/openssl/include -I/qt -I/QtGui -I/usr/local/Cellar/qt5/5.7.1/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.7.1/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt5/5.7.1/lib/QtNetwork.framework/Headers -I/usr/local/Cellar/qt5/5.7.1/lib/QtCore.framework/Headers -Ibuild -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -Ibuild -I/usr/local/Cellar/qt5/5.7.1/mkspecs/macx-clang -F/usr/local/Cellar/qt5/5.7.1/lib -o build/bitcoin.o src/qt/bitcoin.cpp
clang: warning: no such sysroot directory: '/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
In file included from src/qt/bitcoin.cpp:5:
In file included from src/qt/bitcoingui.h:4:
In file included from /usr/local/Cellar/qt5/5.7.1/lib/QtWidgets.framework/Headers/QMainWindow:1:
In file included from /usr/local/Cellar/qt5/5.7.1/lib/QtWidgets.framework/Headers/qmainwindow.h:43:
In file included from /usr/local/include/QtWidgets/qwidget.h:43:
In file included from /usr/local/include/QtGui/qwindowdefs.h:43:
In file included from /usr/local/include/QtCore/qglobal.h:81:
/usr/local/include/QtCore/qsystemdetection.h:96:12: fatal error: 'TargetConditionals.h' file not found
#  include
           ^
1 error generated.
make: *** [build/bitcoin.o] Error 1
legendary
Activity: 2254
Merit: 1290
If you updated the sources to work with QTWebengine that would be great. My compilation stops at "Project ERROR: Unknown module(s) in QT: webkit webkitwidgets".

It isn't much of a change per se, just a tweak to the QT config settings. The error report sounds promising in that webkit was removed in Qt 5.6 iirc, so it looks like you have Qt5.6/7 installed.

Quote
What is the latest source for Slimcoin OSX?

In the “master” branch of https://github.com/slimcoin-project/Slimcoin

See the README (c.f. my caveat about the OSX build instructions being from memory, not actual note-taking, you might want to try allowing brew to first install the Qt binaries, see if that works for you).

NB: above repos properly has “slimcoin” (last released version) as default branch. To use the most recent (as yet unreleased) version, checkout and compile the “master” branch.

I couldn't be arsed to muck about with the png used for the dmg finder window background image, it still says “Bitcoin”. Fortunately, the latest Bitcoin Core's contrib/macdeploy offers an opportunity for theft er, adaptation.

Cheers

Graham

member
Activity: 98
Merit: 10
If you updated the sources to work with QTWebengine that would be great. My compilation stops at "Project ERROR: Unknown module(s) in QT: webkit webkitwidgets".

What Where is the latest source for Slimcoin OSX?

Thanks!
legendary
Activity: 2254
Merit: 1290
Thank you, appreciate that.

Any thoughts about webkit and webkitwidgets issue for qt 5.7?

I used the Qt5.7 binaries from Stevan Binner's qt57 ppa for my Linux app, the Windows build uses the MXE qt binary (which is 5.7, I *think*) and I have updated the source to use QWebEngine/QWebEngineWidgets on Qt 5.7 by default. (I was trying to get a reliable foundation for tackling the halting problem with the Linux client).

The build instructions for OSX in the README are from memory. I seem to recall that it was “merely” a matter of homebrew-installed bottles and kegs. I repeatedly tried to compile Qt from source but every attempt was ultimately thwarted by a laptop crash, so I infer that in the end, I simply installed the binaries - which would be Qt5.7, I guess. I'd need to start the OS X Sierra VM to check. Which I will do sometime this week, uninstall brew, wipe its footprint and re-do the build from start, making more accurate/precise notes of each build step.

* gjhiggins will try to remember to set up a cron job to publish a copy of the blockchain files at midnight each day.

Cheers

Graham
 
member
Activity: 98
Merit: 10
Thank you, appreciate that.

Any thoughts about webkit and webkitwidgets issue for qt 5.7?

legendary
Activity: 2254
Merit: 1290
Well, gave it a try again, and after 38 minutes, no luck... It's most likely something on my part.

I'll ask Ngaio if she would be kind enough to d/l the latest OSX binary to her MB and check its operation.

The OSX binary was compiled on Sierra, for Sierra and its operation has only been checked on OSX Sierra.

Cheers

Graham
member
Activity: 98
Merit: 10
Well, gave it a try again, and after 38 minutes, no luck... It's most likely something on my part.
newbie
Activity: 34
Merit: 0
Also, the precompiled binary from minkiz doesn't get past the round welcome screen which says "Loading addresses". Is that meaning it's downloading the blockchain, or it loads the wallet addresses? A bit confusing Smiley

Thanks!

It took a few minutes on an i5 macbook pro to load. No problems with the binary.
member
Activity: 98
Merit: 10
It's i7 2Ghz, with 8GB RAM and 256 SSD. Sierra version is 10.12.1.
hero member
Activity: 819
Merit: 502
I waited 15 minutes Smiley

The newest build shall load faster, a couple of minutes but depend i think what machine do you have
member
Activity: 98
Merit: 10
I waited 15 minutes Smiley
hero member
Activity: 819
Merit: 502
Also, the precompiled binary from minkiz doesn't get past the round welcome screen which says "Loading addresses". Is that meaning it's downloading the blockchain, or it loads the wallet addresses? A bit confusing Smiley

Thanks!

You have to wait a little bit. I dont have any problem with loading
member
Activity: 98
Merit: 10
Also, the precompiled binary from minkiz doesn't get past the round welcome screen which says "Loading addresses". Is that meaning it's downloading the blockchain, or it loads the wallet addresses? A bit confusing Smiley

Thanks!
member
Activity: 98
Merit: 10
Hi, I am on a Mac OS, Sierra.

I got to the point where I compiled QT 5.7.1 but when I run qmake it says it doesn't find webkit and webkitwidgets. Apparently, in 5.7.1 they dropped these and replaced them with something else. Is there another way I could compile slimcoin on Mac OS?

Thank you!

Happy New Year, btw!
Jump to: