Had a few requests from people for help in building Primecoin from source on a linux OS so I decided to write up this handy guide so that everyone could do it themselves
If you have any problems then please post in this thread and i’ll look into them or update the post as needs be.
Guide was requested as apparently you can get 3x more PPS building from source (maybe needs further optimisation?) but hope this gets some people some more coins.
Ok i’ll post a few builds I have here so people can test for themselves… I’m on the 2nd build and i gone from 10-20 PPS to 210 and still rising!!
erm my terminology letting me down here but i think i know what u mean,
the two links in the second post are binaries that I have compiled and then uploaded to a server which point out on the web so you can get the compiled source code without having to compile yourself. These binaries are not going to move or be updated with latest source code compiled when changes made, I will build again and post a new link should sunnyking change source code.
Is that a staticly linked binary as opposed to a dynamic linked one??
Any tips on how to build for Centos? I tried on Centos 6.4 last night but the build appears to be looking for the includes in the wrong places. I have yum installed all the depenencies.
My C dev skills are weak so I don’t know to to fix the include lookup.
Would anyone mind posting a quick guide on how to build for windows? I need binaries that will work on Core 2’s and all the latest ones only seem to work for newer processors. They crash on my Core 2 windows machines but work on my i7s and i5.
You guessed right, I actually don’t know what is a proper expression in this case.
Anyway I was trying to create a more recent compilation, so I can use it on the other machine (I have an older version of suse distribution there, so I’m actually unable to compile it there properly…), but wasn’t successful so far. Have you used statically linked libraries?
erm my terminology letting me down here but i think i know what u mean,
the two links in the second post are binaries that I have compiled and then uploaded to a server which point out on the web so you can get the compiled source code without having to compile yourself. These binaries are not going to move or be updated with latest source code compiled when changes made, I will build again and post a new link should sunnyking change source code.
Is that a staticly linked binary as opposed to a dynamic linked one??[/quote]
I decided to just install Ubuntu on my Centos boxes instead of spending an unknown amount of time learning how to migrate the make file between the two. Easy to build on Ubuntu and now my linux boxes are pulling down some nice pps
For the windows boxes I decided to just install ubuntu in virtualbox vms. Had to turn on the vt-x virtualization in the bios to get it to work but it was pretty easy overall. The vms get similar pps as the native ubuntu boxes.
Will be doing some experimenting with building on windows tomorrow. May write up a guide if I get it working.
Has anyone managed to build a binary for Linux out of the latest 0.1.1 version o mikaelh’s update? I’m working on one including dynamic libraries, but no success so far :-\
While I’m quite familiar with compiling for linux, I’d like to put my Mac to work as well, but have never compiled anything for it (mainly use it for my web dev work). Could someone point me in the right direction on compiling for mac? My Google Fu seems to be weak on this search :o
EDIT: I actually found that there are a few small differences, but using mac ports, you can install all needed dependencies, and simply compile using makefile.osx
I am currently running it now, I didn’t need to install anything extra beyond what is needed for the default client, what are the errors you’re seeing?
(oh and sorry for the double post, just trying to be helpful)
I would like to ask again for help on building universal linux build (like the one posted on sourceforge). Is it only using statically linked libraries or also anything else?