[oe] qtwebkit doesn't use system leveldb

Andre McCurdy armccurdy at gmail.com
Thu Jun 18 10:27:32 UTC 2015


On Thu, Jun 18, 2015 at 2:26 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> I don't know what exactly memenv library is, but if it means that we just
> need to upgrade leveldb in meta-oe, then I would prefer this solution.

The leveldb Makefile has a target to build libmemenv.a, but it's not
part of "make all" and there's no Makefile target to create a
libmemenv.so.

  https://github.com/google/leveldb/blob/master/Makefile#L195

Looking at how others handle leveldb, Debian does build and package libmemenv.a:

  https://packages.debian.org/jessie/i386/libleveldb-dev/filelist

However, Debian installs memenv.h as .../leveldb/helpers/memenv.h, so
the qtwebkit configure test (which tries .../helpers/memenv/memenv.h)
wouldn't find system leveldb if building natively on Debian.

Buildroot doesn't seem to build or package a memenv library at all:

  http://git.buildroot.net/buildroot/tree/package/leveldb/leveldb.mk

I wonder if there's any known case where qtwebkit does successfully
use system leveldb?


>
> On Thu, Jun 18, 2015 at 7:18 AM, Andre McCurdy <armccurdy at gmail.com> wrote:
>
>> Hi all,
>>
>> The qtwebkit configure test for leveldb tries to include
>> <helpers/memenv/memenv.h> and link with -lmemenv, however the current
>> meta-oe leveldb package doesn't provide them and so qtwebkit always
>> falls back to using it's internal copy of leveldb.
>>
>> I can work on a patch, but I'm not sure what the best approach is -
>> either rework leveldb so that it builds and installs a memenv library
>> + memenv.h or just remove the leveldb dependency from qtwebkit and let
>> qtwebkit continue to always rely on it's internal leveldb?
>>
>> Andre
>> --



More information about the Openembedded-devel mailing list