[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] Help Building and Deploying
From: |
John Clizbe |
Subject: |
Re: [Sks-devel] Help Building and Deploying |
Date: |
Wed, 19 Oct 2011 16:26:42 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.20pre) Gecko/20110606 Mnenhy/0.8.4 SeaMonkey/2.0.15pre |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1,SHA256
Eric H. Christensen wrote:
> I'm having problems building SKS. I don't understand how to configure the
> Makefile.local file. Can anyone help configure this on Fedora 15?
Hi, Eric
It's pretty straight forward. Since your building from scratch, you may want to
grab my copy of the mercurial repository, there's a Makefile patch and a
documentation patch that may make life easier:
hg clone https://address@hidden/r/johnclizbe-sks-keyserver/ sks
The first two prerequisites are that you have a version of the ocaml compiler
suite, 3.10+, and the (Oracle) Berkeley DB library (4.6+), but I'd use as late
as you can get for both
Copy Makefile.local.unused to Makefile.local and edit it to reflect where things
it needs are and where the binaries and man page should go, e.g.,
On my Slackware boxes:
address@hidden:~/sks-dev/hg/sks-work$ cat Makefile.local
BDBLIB=-L/usr/lib
BDBINCLUDE=-I/usr/include/db52
PREFIX=/usr
LIBDB=-ldb-5.2
MANDIR=/usr/share/man
On the Solaris boxes, using Blastwave ports:
- -bash-3.00$ cat Makefile.local
BDBLIB=-L/opt/csw/lib
BDBINCLUDE=-I/opt/csw/include/db4.7
PREFIX=/opt/csw
LIBDB=-ldb-4.7
MANDIR=/opt/csw/man
On Mac OS X using MacPorts:
basket:sks-work jpclizbe$ cat Makefile.local
BDBLIB=-L/opt/local/lib/db52
BDBINCLUDE=-I/opt/local/include/db52
PREFIX=/opt/local
LIBDB=-ldb-5.2
MANDIR=/opt/share/man
To summarize:
BDBLIB=-L{directory where the libraries for version being used are found}
BDBINCLUDE=-I{directory where db.h for the version being used lives}
PREFIX={Where to put the finished binaries}
LIBDB=-l{name of library file without lib or suffixes}
MANDIR={where to put man page, sks.8.gz}
Post back to the list if you have any trouble, and once you get your DB loaded,
when you need peers
- -John
- --
John P. Clizbe Inet: John (a) GingerBear DAWT net
FSF Assoc #995 / FSFE Fellow #1797 hkp://keyserver.gingerbear.net or
mailto:address@hidden
Raise your hand if you know someone who is alive only because you
did not want to spend time in jail
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12-svn5502-2010-12-23 (Windows XP)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
Comment: Be part of the £33 ECHELON -- Use Strong Encryption.
Comment: It's YOUR right - for the time being.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOn0CKAAoJECMTMVxDW9A0FuAIAJGgtEia6MKLgSks/v7sVRr0
up4496NrFbJSeZOQMxUOvwUQpSRH083SkJye2I/ryTOUkBviyiaMHrKe3PB0wOpn
BiNOsbNGdeBRI4uGVujXzrkc6JCpU4JAxGjwG3srYcWtArYPd8GS1XNGlAWPOjFD
AWx8nQmz0nYTkijw7IgNjMsP8lmzsMt+gXDxh8pxbUk/lguRLkRZEPzk7JKTys/C
wrm794Jyrlm29Yha0rwkKJncERYkRlBAcoSl9YxzAion5ZUHzHI/3QstU//sCeQY
YLGgrIw53olqxN7qRTLfjBwGDPNNctEaAMHzzI07YF4EbMBOfJQyy+lOYXi4rT6I
XgQBEQgABgUCTp9AigAKCRDrXhnz1laYJZ+lAP988NHOKCqQfy2vUSRtte7NspBZ
xh/C+vTeeU/xu/VvMwD/cq/RbvrKoe9EKPOTy5XuqHwVMS1sKdVGEFQt4bM2t88=
=RxZi
-----END PGP SIGNATURE-----