Ok let's get this tutorial section started off with one. Now mind you I didn't write this tutorial, it was writen by "Michael Erwin Steurer" and posted on the other bitcoin forum. Problem is it was hard to find and it's in PDF format, don't like that myself ha ha
So I am going to post it here to get the tutorials section up and running. Plus, I also fixed a problem someone on the other forum was having with gthread not being installed and working, I will post that at the end of the tutorial.
Now I HAVE tested this myself just 10 minutes ago on a CentOS 5.5 system with the most recent of everything, including the most recent download of bitcoin. So it works. Let's start:
We keep everything in our home directory under ~/Bitcoin/. We do not make any changes to system parameters or system libraries and therefore no root privileges are required.
That above statement was from the original, root priviledges WILL be required if you have the problem with gthread, which most VPS machines should have. This is because you will have to install gthread using yum, so root is needed in this case or sudo power.
To download and compile from SF, use wget, issue these commands:
Replace sf_link with your download link and 0.3.23 with the version you downloaded.
Create a new fille ~/Bitcoin/Trunk/makefi le.centos and add the lines as follows.
The spaces that you see are not spaces, they are TABS, one single tab to be exact since make is picky about this make sure you use tabs not spaces.
Change the Value DEPSDIR according to your Deps/ directory.
Finally, compile the sources in the ~/Bitcoin/Trunk directory. This also depends on where you extracted the files from the source file to and from, you want to be in the SRC directory if you downloaded from SF instead of GIT.
Now for those of you with this error when you make:
You need to install glib2-devel, that is the LIB that contains gthread for CentOS, you can do this issueing this command as root or sudo:
Now I just noticed as I was previewing this thing, that the formatting on the makefile above is all OFF, so I am attaching the final one for my system as a ZIP file of the final makefile.