[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Can't get lmdb to build on FreeBSD 12
Is there a reason why you’re not using the Port to compile from source?
http://www.freshports.org/databases/lmdb/
> On Oct 4, 2017, at 16:05, Russell Haley <russ.haley@gmail.com> wrote:
>
> (face in hand)
> Sorry. Of course, tired and working late. Normally GNU makefiles fail
> in the same way and I recognize the issue immediately. The lmdb system
> seems to *almost* work exactly on the BSD make system. Thanks for your
> patience the next time I ask this same question. :(
>
> Russ
>
> On Wed, Oct 4, 2017 at 9:28 AM, Howard Chu <hyc@symas.com> wrote:
>> Russell Haley wrote:
>>>
>>> Hi,
>>>
>>> Sorry for the silly question, but I've stumped myself and my C is
>>> weak. Normally lmdb builds fine without issue on most of the platforms
>>> I try (Debian Jessie, FreeBSD 10.3 & 12), but it's stopped compiling
>>> on my TrueOS box, which is FreeBSD 12. I've tried gcc and clang 4.0
>>> and 3.9.
>>
>>
>> Try using GNU make. It looks like whatever make you're using doesn't have
>> the proper default build rules.
>>
>>
>>> ------------------------
>>>
>>> russellh@prescott:~/Git/lmdb/libraries/liblmdb% make
>>> cc -pthread -O2 -g -W -Wall -Wno-unused-parameter -Wbad-function-cast
>>> -Wuninitialized -v mdb_stat.c -o mdb_stat
>>> FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on
>>> LLVM 4.0.0)
>>> Target: x86_64-unknown-freebsd12.0
[…]