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: Mike O'Connor
Subject: Re: [Sks-devel] Compile SKS db issue
Date: Tue, 17 Feb 2015 19:44:58 +1030
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 15/02/2015 1:20 am, Kristian Fiskerstrand wrote:
-----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)

Ok the cleanall fixed the issue, the distro is debian wheezy.

Mike



reply via email to

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