openziti / ngx_ziti_module

An NGINX module that allows OpenZiti to front upstream servers
Apache License 2.0
11 stars 0 forks source link

Errors while trying to build binary #10

Open LiodakisOdysseas opened 3 months ago

LiodakisOdysseas commented 3 months ago

When trying to build using CMake i get the following output:

project version: 2.0.0-alpha7.1
git info:
   branch : main
     hash : g89ef643

using Unix Makefiles
cross-compiling FALSE
Project: tlsuv@v0.30.1
CMake Error at cmake-build/_deps/tlsuv-src/CMakeLists.txt:113 (find_package):
  Could not find a package configuration file provided by "llhttp" with any
  of the following names:

    llhttpConfig.cmake
    llhttp-config.cmake

  Add the installation prefix of "llhttp" to CMAKE_PREFIX_PATH or set
  "llhttp_DIR" to a directory containing one of the above files.  If "llhttp"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.

When trying to build Via Nginx:

In file included from ..//ngx_ziti_module.c:1:
..//ngx_ziti_module.h:12:10: fatal error: ziti/zitilib.h: No such file or directory
   12 | #include <ziti/zitilib.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [objs/Makefile:1241: objs/addon/../ngx_ziti_module.o] Error 1
make[1]: Leaving directory '/home/remote-host/ngx_ziti_module/nginx-1.23.2'
make: *** [Makefile:10: build] Error 2
make -f objs/Makefile install
make[1]: Entering directory '/home/remote-host/ngx_ziti_module/nginx-1.23.2'
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I ../include -I ../uv-mbed-0.14.11/include  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
    -o objs/addon/../ngx_ziti_module.o \
    ..//ngx_ziti_module.c
In file included from ..//ngx_ziti_module.c:1:
..//ngx_ziti_module.h:12:10: fatal error: ziti/zitilib.h: No such file or directory
   12 | #include <ziti/zitilib.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [objs/Makefile:1241: objs/addon/../ngx_ziti_module.o] Error 1
make[1]: Leaving directory '/home/remote-host/ngx_ziti_module/nginx-1.23.2'
make: *** [Makefile:13: install] Error 2