libucl icon indicating copy to clipboard operation
libucl copied to clipboard

"make -f Makefile.unix" fails out of the box on Debian Wheezy

Open gafferongames opened this issue 9 years ago • 2 comments

make -f Makefile.unix

cc -o .obj/ucl_hash.o -O2 -fPIC -Wall -W -Wno-unused-parameter -Wno-pointer-sign -I./include -I./uthash -I./src -c src/ucl_hash.c src/ucl_hash.c:26:19: fatal error: khash.h: No such file or directory #include "khash.h" ^ compilation terminated. Makefile.unix:55: recipe for target '.obj/ucl_hash.o' failed make: *** [.obj/ucl_hash.o] Error 1

I had to fall back to cmake, but then was missing an install step.

I would like to use libucl but cannot depend on it if I don't have a reliable release that installs clean on Unix out of the box.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35450626-make-f-makefile-unix-fails-out-of-the-box-on-debian-wheezy?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github).

gafferongames avatar Jun 24 '16 06:06 gafferongames

In fact, I always use autotools to build libucl. I'll check plain Makefile and fix it if possible.

vstakhov avatar Jun 24 '16 10:06 vstakhov

Thank you very much.

gafferongames avatar Jun 25 '16 03:06 gafferongames