koreader-base icon indicating copy to clipboard operation
koreader-base copied to clipboard

czmq: kindle build fails

Open yparitcher opened this issue 4 years ago • 4 comments

koreader/base/thirdparty/czmq/build/arm-kindlepw2-linux-gnueabi/czmq-prefix/src/czmq/src/../include/czmq_prelude.h:518:17: fatal error: uuid/uuid.h: No such file or directory
 #       include <uuid/uuid.h>

it thinks i have uuid available (I think autotools catches the system install).

this works fine building the emulator as the system libraries are actually available.

This is my reward for running kodev clean by mistake :)

yparitcher avatar Jun 22 '20 04:06 yparitcher

commenting out: koreader/base/thirdparty/czmq/build/arm-kindlepw2-linux-gnueabi/czmq-prefix/src/czmq-build/src/platform.h

#define HAVE_LIBUUID 1

was a quick and dirty way to let it succeed

yparitcher avatar Jun 22 '20 04:06 yparitcher

The configure script should never have picked up LIBUUID in the first place, it's part of util-linux, which we don't build...

NiLuJe avatar Jun 22 '20 16:06 NiLuJe

Then again, that's a 7 years old czmq snapshot, so, who knows...

NiLuJe avatar Jun 22 '20 16:06 NiLuJe

I have a mild hunch that a clean checkout from scratch would work just fine ^^.

NiLuJe avatar Jun 22 '20 16:06 NiLuJe

This was my problem ;)

I was building a different program that needed to be linked against the kindle's lipc so i copied lipc and dependecies from my kindle into my TC sysroot. this included libuuid.so. deleting it solved the issue.

this that our czmq is 8 years old didn't help anything, so i can't even disable uuid as a config option.

yparitcher avatar Sep 05 '22 14:09 yparitcher

Updating that zmq stuff is slightly non-trivial and nobody's motivated to put in the time. ;-)

Frenzie avatar Sep 05 '22 15:09 Frenzie