On 24 April 2015 at 23:39, Andrew Stuart
<[email protected]> wrote:
> Hi folks,
>
> Please forgive the naive question - I’m trying to piece together an 
> understanding of how the build systems work and only understand some bits and 
> not others.
>
> I’m trying to compile uwsgi and the following output results:

uuid/uuid.h is a Linux header location. Under NetBSD there is a uuid.h
header which is quite likely compatible, but the program needs to
understand that by some means (configure, #ifdef __NetBSD__ or
something).

Justin


> Any guidance as to where the problem lies would be much appreciated.  I 
> suspect it’s something to do with using the right libraries? Even some hints 
> about things I can try and general areas to look would be a help.
>
> It compiles fine when not using rumprun-xen-cc
>
> thanks
>
> as
>
> root@contiki:/home/ubuntu/uwsgi# python uwsgiconfig.py --build minimal
> using profile: buildconf/minimal.ini
> detected include path: ['/usr/lib/gcc/x86_64-linux-gnu/4.8/include', 
> '/usr/local/include', '/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed', 
> '/usr/include/x86_64-linux-gnu', '/usr/include']
> detected CPU cores: 4
> configured CFLAGS: -O2 -I. -Wall -Werror -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -Wextra -Wno-unused-parameter 
> -Wno-missing-field-initializers -Wno-format -Wno-format-security 
> -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX 
> -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD 
> -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY -DUWSGI_UUID -DUWSGI_VERSION="\"2.1\"" 
> -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="1" -DUWSGI_VERSION_MINOR="0" 
> -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" 
> -DUWSGI_PLUGIN_DIR="\".\""
> *** uWSGI compiling server core ***
> [thread 0][/home/ubuntu/rumprun/app-tools/rumprun-xen-cc] core/utils.o
> [thread 2][/home/ubuntu/rumprun/app-tools/rumprun-xen-cc] core/protocol.o
> [thread 3][/home/ubuntu/rumprun/app-tools/rumprun-xen-cc] core/socket.o
> [thread 1][/home/ubuntu/rumprun/app-tools/rumprun-xen-cc] core/logging.o
> In file included from core/protocol.c:1:0:
> ./uwsgi.h:192:23: fatal error: uuid/uuid.h: No such file or directory
>  #include <uuid/uuid.h>
>                        ^
> compilation terminated.
> root@contiki:/home/ubuntu/uwsgi# In file included from core/utils.c:1:0:
> ./uwsgi.h:192:23: fatal error: uuid/uuid.h: No such file or directory
>  #include <uuid/uuid.h>
>                        ^
> compilation terminated.
> In file included from core/socket.c:1:0:
> ./uwsgi.h:192:23: fatal error: uuid/uuid.h: No such file or directory
>  #include <uuid/uuid.h>
>                        ^
> compilation terminated.
> In file included from core/logging.c:2:0:
> ./uwsgi.h:192:23: fatal error: uuid/uuid.h: No such file or directory
>  #include <uuid/uuid.h>
>                        ^
> compilation terminated.
> ^C

Reply via email to