sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Compile SKS db issue


From: Kristian Fiskerstrand
Subject: Re: [Sks-devel] Compile SKS db issue
Date: Sat, 14 Feb 2015 15:50:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 02/14/2015 12:09 PM, Mike O'Connor wrote:
> Hi Guys
> 
> I've not been able to compile a new version of SKS on my old system
> for over a year. So I decided to build a new os for the job.
> 
> 
> ocamlopt -o sks -I lib -I bdb -ccopt -L/usr/lib -ccopt -Lbdb
> -dtypes -inline 40 unix.cmxa .............. unit_tests.cmx sks.cmx 
> /usr/bin/ld: cannot find -ldb-4.6 collect2: error: ld returned 1
> exit status File "caml_startup", line 1, characters 0-1: Error:
> Error during linking make: *** [sks] Error 2
> 
> 
> The system has db-5.1 installed so I change the Makefile.local to
> have -ldb-5.1 but its still looking for 4.6.

Which distribution is this? Quite a few will have packages for SKS
that can be used. Anyhow; some distros might have different include
paths as well (depending on whether slotting of multiple BDB versions
is possible). Also, after updating the Makefile.local remember to do
make cleanall (copy the Makefile.local out of the dir first, this will
be removed as well - alternatively you can do make bdbclean)

- -- 
- ----------------------------
Kristian Fiskerstrand
Blog: http://blog.sumptuouscapital.com
Twitter: @krifisk
- ----------------------------
Public OpenPGP key 0xE3EDFAE3 at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
- ----------------------------
"We can only see a short distance ahead, but we can see plenty there
that needs to be done."
(Alan Turing)
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJU32DLAAoJEP7VAChXwav6XBcH/3n03yBMIlDLt0u1USDeUExv
DooEyp3pft//jltZuyZ3VD0tMEmYsfU8RRlOgPDh4ihObL4ZaTS0j3K5bQQAa0V9
UaP09J8G204O7MYoWMOzJ3tgITKiwovUow01cQpOqKOofe8ujlOXsIjWTZBKUuz6
HX6+p4pl5iyVCSNGATSfXhoKeT3ACNQk1hgECYwkuw2DyAe2PfTGCoSuhCW2hrw5
in6EiiAHjpJmUz8sIS4F6QiKN4DGsbbRxncyB7e462fAF9J9BUkE0LvyMndTJz9t
OqQBZLGP76Ovl0ezCOjdraLOZojxnJTNhMsOwIruTjOgUWq1wPcP2ixQ/vRDdbA=
=PH4e
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]