Skip to content

Failing to build on osx 10.11.6 #16

Description

@jdonaldson

I was trying to use brew + luarocks to install everything.

brew install apr
brew install apr-util
luarocks install lua-apr

However, I had to link all of the apr.h and apu.h headers to /usr/local/include. However, I hit another error. I get the following:

Archive:  lua-apr-0.20.6-1.zip
   creating: lua-apr-0.20.6-1/
   creating: lua-apr-0.20.6-1/benchmarks/
  inflating: lua-apr-0.20.6-1/benchmarks/file-read-all.png  
  inflating: lua-apr-0.20.6-1/benchmarks/file-read-numbers.png  
  inflating: lua-apr-0.20.6-1/benchmarks/webservers.cmd  
  inflating: lua-apr-0.20.6-1/benchmarks/file_io.lua  
  inflating: lua-apr-0.20.6-1/benchmarks/file-read-lines.png  
  inflating: lua-apr-0.20.6-1/benchmarks/webservers.sh  
  inflating: lua-apr-0.20.6-1/Makefile.win  
   creating: lua-apr-0.20.6-1/etc/
  inflating: lua-apr-0.20.6-1/etc/wrap.lua  
  inflating: lua-apr-0.20.6-1/etc/docs.lua  
  inflating: lua-apr-0.20.6-1/etc/errors.lua  
  inflating: lua-apr-0.20.6-1/etc/buildbot.lua  
  inflating: lua-apr-0.20.6-1/etc/make.lua  
  inflating: lua-apr-0.20.6-1/Makefile  
  inflating: lua-apr-0.20.6-1/NOTES.md  
  inflating: lua-apr-0.20.6-1/make.cmd  
   creating: lua-apr-0.20.6-1/examples/
  inflating: lua-apr-0.20.6-1/examples/threaded-webserver.lua  
  inflating: lua-apr-0.20.6-1/examples/download.lua  
  inflating: lua-apr-0.20.6-1/examples/webserver.lua  
  inflating: lua-apr-0.20.6-1/README.md  
   creating: lua-apr-0.20.6-1/src/
  inflating: lua-apr-0.20.6-1/src/crypt.c  
  inflating: lua-apr-0.20.6-1/src/base64.c  
  inflating: lua-apr-0.20.6-1/src/object.c  
  inflating: lua-apr-0.20.6-1/src/user.c  
  inflating: lua-apr-0.20.6-1/src/io_dir.c  
  inflating: lua-apr-0.20.6-1/src/thread.c  
  inflating: lua-apr-0.20.6-1/src/date.c  
  inflating: lua-apr-0.20.6-1/src/tuple.c  
  inflating: lua-apr-0.20.6-1/src/uuid.c  
  inflating: lua-apr-0.20.6-1/src/apr.lua  
  inflating: lua-apr-0.20.6-1/src/memory_pool.c  
  inflating: lua-apr-0.20.6-1/src/dbd.c  
  inflating: lua-apr-0.20.6-1/src/io_net.c  
  inflating: lua-apr-0.20.6-1/src/dbm.c  
  inflating: lua-apr-0.20.6-1/src/ldap.c  
  inflating: lua-apr-0.20.6-1/src/stat.c  
  inflating: lua-apr-0.20.6-1/src/xml.c  
  inflating: lua-apr-0.20.6-1/src/thread_queue.c  
  inflating: lua-apr-0.20.6-1/src/io_file.c  
  inflating: lua-apr-0.20.6-1/src/buffer.c  
  inflating: lua-apr-0.20.6-1/src/getopt.c  
  inflating: lua-apr-0.20.6-1/src/xlate.c  
  inflating: lua-apr-0.20.6-1/src/signal.c  
  inflating: lua-apr-0.20.6-1/src/lua_apr.h  
  inflating: lua-apr-0.20.6-1/src/str.c  
  inflating: lua-apr-0.20.6-1/src/errno.c  
  inflating: lua-apr-0.20.6-1/src/uri.c  
  inflating: lua-apr-0.20.6-1/src/time.c  
  inflating: lua-apr-0.20.6-1/src/memcache.c  
  inflating: lua-apr-0.20.6-1/src/proc.c  
  inflating: lua-apr-0.20.6-1/src/env.c  
  inflating: lua-apr-0.20.6-1/src/fnmatch.c  
  inflating: lua-apr-0.20.6-1/src/filepath.c  
  inflating: lua-apr-0.20.6-1/src/http.c  
  inflating: lua-apr-0.20.6-1/src/lua_apr.c  
  inflating: lua-apr-0.20.6-1/src/io_pipe.c  
  inflating: lua-apr-0.20.6-1/src/permissions.c  
  inflating: lua-apr-0.20.6-1/src/shm.c  
  inflating: lua-apr-0.20.6-1/TODO.md  
   creating: lua-apr-0.20.6-1/test/
  inflating: lua-apr-0.20.6-1/test/getopt.lua  
  inflating: lua-apr-0.20.6-1/test/io_dir.lua  
  inflating: lua-apr-0.20.6-1/test/dbm.lua  
  inflating: lua-apr-0.20.6-1/test/io_file.lua  
  inflating: lua-apr-0.20.6-1/test/io_net-server.lua  
  inflating: lua-apr-0.20.6-1/test/uri.lua  
  inflating: lua-apr-0.20.6-1/test/shm-child.lua  
  inflating: lua-apr-0.20.6-1/test/str.lua  
  inflating: lua-apr-0.20.6-1/test/proc.lua  
  inflating: lua-apr-0.20.6-1/test/io_file-bidi_pipes.lua  
  inflating: lua-apr-0.20.6-1/test/uuid.lua  
  inflating: lua-apr-0.20.6-1/test/dbd.lua  
  inflating: lua-apr-0.20.6-1/test/crypt.lua  
  inflating: lua-apr-0.20.6-1/test/env.lua  
  inflating: lua-apr-0.20.6-1/test/memcache.lua  
  inflating: lua-apr-0.20.6-1/test/date.lua  
  inflating: lua-apr-0.20.6-1/test/ldap-child.lua  
  inflating: lua-apr-0.20.6-1/test/filepath.lua  
  inflating: lua-apr-0.20.6-1/test/shm.lua  
  inflating: lua-apr-0.20.6-1/test/thread-child.lua  
  inflating: lua-apr-0.20.6-1/test/time.lua  
  inflating: lua-apr-0.20.6-1/test/xml.lua  
  inflating: lua-apr-0.20.6-1/test/signal.lua  
  inflating: lua-apr-0.20.6-1/test/helpers.lua  
  inflating: lua-apr-0.20.6-1/test/user.lua  
  inflating: lua-apr-0.20.6-1/test/base64.lua  
  inflating: lua-apr-0.20.6-1/test/io_buffer.lua  
  inflating: lua-apr-0.20.6-1/test/ldap.lua  
  inflating: lua-apr-0.20.6-1/test/xlate.lua  
  inflating: lua-apr-0.20.6-1/test/thread.lua  
  inflating: lua-apr-0.20.6-1/test/http.lua  
  inflating: lua-apr-0.20.6-1/test/thread_queue.lua  
  inflating: lua-apr-0.20.6-1/test/dbd-child.lua  
  inflating: lua-apr-0.20.6-1/test/io_net.lua  
  inflating: lua-apr-0.20.6-1/test/env-child.lua  
  inflating: lua-apr-0.20.6-1/test/fnmatch.lua  
  inflating: lua-apr-0.20.6-1/test/misc.lua  
  inflating: lua-apr-0.20.6-1/test/io_file-named_pipe.lua  
  inflating: lua-apr-0.20.6-1/test/thread_queue-child.lua  
  inflating: lua-apr-0.20.6-1/test/init.lua  
   creating: lua-apr-0.20.6-1/doc/
  inflating: lua-apr-0.20.6-1/doc/notes.html  
  inflating: lua-apr-0.20.6-1/doc/todo.html  
  inflating: lua-apr-0.20.6-1/doc/readme.html  
  inflating: lua-apr-0.20.6-1/doc/docs.html  
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/base64.c -o src/base64.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/buffer.c -o src/buffer.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/crypt.c -o src/crypt.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/date.c -o src/date.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/dbd.c -o src/dbd.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/dbm.c -o src/dbm.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/env.c -o src/env.o || lua etc/make.lua --check
Looking for headers at /usr/include/apr-1.0/apr_errno.h .. Failed!
Looking for headers at /usr/include/apr-1/apr_errno.h .. Found them!
Up to date!
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/errno.c -o src/errno.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/filepath.c -o src/filepath.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/fnmatch.c -o src/fnmatch.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/getopt.c -o src/getopt.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/http.c -o src/http.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/io_dir.c -o src/io_dir.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/io_file.c -o src/io_file.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/io_net.c -o src/io_net.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/io_pipe.c -o src/io_pipe.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/ldap.c -o src/ldap.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/lua_apr.c -o src/lua_apr.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/memcache.c -o src/memcache.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/memory_pool.c -o src/memory_pool.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/object.c -o src/object.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/permissions.c -o src/permissions.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/proc.c -o src/proc.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/shm.c -o src/shm.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/signal.c -o src/signal.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/stat.c -o src/stat.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/str.c -o src/str.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/thread.c -o src/thread.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/thread_queue.c -o src/thread_queue.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/time.c -o src/time.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/tuple.c -o src/tuple.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/uri.c -o src/uri.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/user.c -o src/user.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/uuid.c -o src/uuid.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/xlate.c -o src/xlate.o || lua etc/make.lua --check
Warning: Failed to determine Lua 5.1 compiler flags.
Warning: Failed to determine APR 1 compiler flags.
Warning: Failed to determine APR-util 1 compiler flags.
Warning: Failed to determine libapreq2 compiler flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -Wall -c -O2 -fPIC -I/usr/local/include/lua5.1 -DLUA_APR_HAVE_APREQ=0 -g -DDEBUG -fPIC src/xml.c -o src/xml.o || lua etc/make.lua --check
Warning: Failed to determine APR 1 linker flags.
Warning: Failed to determine APR-util 1 linker flags.
Warning: Failed to determine apreq2 linker flags.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -shared -o core.so src/base64.o src/buffer.o src/crypt.o src/date.o src/dbd.o src/dbm.o src/env.o src/errno.o src/filepath.o src/fnmatch.o src/getopt.o src/http.o src/io_dir.o src/io_file.o src/io_net.o src/io_pipe.o src/ldap.o src/lua_apr.o src/memcache.o src/memory_pool.o src/object.o src/permissions.o src/proc.o src/shm.o src/signal.o src/stat.o src/str.o src/thread.o src/thread_queue.o src/time.o src/tuple.o src/uri.o src/user.o src/uuid.o src/xlate.o src/xml.o  -g || lua etc/make.lua --check
Undefined symbols for architecture x86_64:
  "_apr_array_make", referenced from:
      _lua_apr_filepath_list_merge in filepath.o
      _lua_apr_dir_remove_recursive in io_dir.o
  "_apr_array_pop", referenced from:
      _lua_apr_dir_remove_recursive in io_dir.o
  "_apr_array_push", referenced from:
      _lua_apr_filepath_list_merge in filepath.o
      _lua_apr_dir_remove_recursive in io_dir.o
  "_apr_atomic_dec32", referenced from:
      _release_object in object.o
      _object_decref in object.o
  "_apr_atomic_inc32", referenced from:
      _object_incref in object.o
  "_apr_atomic_read32", referenced from:
      _object_collectable in object.o
  "_apr_atomic_set32", referenced from:
      _prepare_reference in object.o
  "_apr_base64_decode", referenced from:
      _lua_apr_base64_decode in base64.o
     (maybe you meant: _lua_apr_base64_decode)
  "_apr_base64_decode_len", referenced from:
      _lua_apr_base64_decode in base64.o
  "_apr_base64_encode", referenced from:
      _lua_apr_base64_encode in base64.o
     (maybe you meant: _lua_apr_base64_encode)
  "_apr_base64_encode_len", referenced from:
      _lua_apr_base64_encode in base64.o
  "_apr_ctime", referenced from:
      _lua_apr_time_format in time.o
  "_apr_date_parse_http", referenced from:
      _lua_apr_date_parse_http in date.o
     (maybe you meant: _lua_apr_date_parse_http)
  "_apr_date_parse_rfc", referenced from:
      _lua_apr_date_parse_rfc in date.o
     (maybe you meant: _lua_apr_date_parse_rfc)
  "_apr_dbd_check_conn", referenced from:
      _dbd_check_conn in dbd.o
  "_apr_dbd_close", referenced from:
      _dbd_open in dbd.o
      _dbd_close in dbd.o
      _dbd_gc in dbd.o
  "_apr_dbd_error", referenced from:
      _dbd_dbname in dbd.o
      _dbd_check_conn in dbd.o
      _dbd_query in dbd.o
      _dbd_select in dbd.o
      _dbd_prepare in dbd.o
      _dbd_error in dbd.o
      _next_record in dbd.o
      ...
  "_apr_dbd_escape", referenced from:
      _dbd_escape in dbd.o
  "_apr_dbd_get_driver", referenced from:
      _lua_apr_dbd in dbd.o
  "_apr_dbd_get_entry", referenced from:
      _dbr_tuple_cb in dbd.o
      _dbr_row_cb in dbd.o
  "_apr_dbd_get_name", referenced from:
      _dbr_columns in dbd.o
      _dbr_row_cb in dbd.o
  "_apr_dbd_get_row", referenced from:
      _next_record in dbd.o
  "_apr_dbd_init", referenced from:
      _lua_apr_dbd in dbd.o
  "_apr_dbd_name", referenced from:
      _dbd_driver in dbd.o
  "_apr_dbd_num_tuples", referenced from:
      _dbr_len in dbd.o
  "_apr_dbd_open_ex", referenced from:
      _dbd_open in dbd.o
  "_apr_dbd_pquery", referenced from:
      _dbp_query in dbd.o
  "_apr_dbd_prepare", referenced from:
      _dbd_prepare in dbd.o
  "_apr_dbd_pselect", referenced from:
      _dbp_select in dbd.o
  "_apr_dbd_query", referenced from:
      _dbd_query in dbd.o
  "_apr_dbd_select", referenced from:
      _dbd_select in dbd.o
  "_apr_dbd_set_dbname", referenced from:
      _dbd_dbname in dbd.o
  "_apr_dbd_transaction_end", referenced from:
      _dbd_transaction_end in dbd.o
  "_apr_dbd_transaction_mode_get", referenced from:
      _dbd_transaction_mode in dbd.o
  "_apr_dbd_transaction_mode_set", referenced from:
      _dbd_transaction_mode in dbd.o
  "_apr_dbd_transaction_start", referenced from:
      _dbd_transaction_start in dbd.o
  "_apr_dbm_close", referenced from:
      _dbm_close in dbm.o
      _dbm_gc in dbm.o
  "_apr_dbm_delete", referenced from:
      _dbm_delete in dbm.o
  "_apr_dbm_exists", referenced from:
      _dbm_exists in dbm.o
  "_apr_dbm_fetch", referenced from:
      _dbm_fetch in dbm.o
  "_apr_dbm_firstkey", referenced from:
      _dbm_firstkey in dbm.o
  "_apr_dbm_get_usednames_ex", referenced from:
      _lua_apr_dbm_getnames in dbm.o
  "_apr_dbm_nextkey", referenced from:
      _dbm_nextkey in dbm.o
  "_apr_dbm_open_ex", referenced from:
      _lua_apr_dbm_open in dbm.o
  "_apr_dbm_store", referenced from:
      _dbm_store in dbm.o
  "_apr_dir_close", referenced from:
      _lua_apr_dir_remove_recursive in io_dir.o
      _dir_close in io_dir.o
      _dir_gc in io_dir.o
  "_apr_dir_make", referenced from:
      _lua_apr_dir_make in io_dir.o
     (maybe you meant: _lua_apr_dir_make_recursive, _lua_apr_dir_make )
  "_apr_dir_make_recursive", referenced from:
      _lua_apr_dir_make_recursive in io_dir.o
     (maybe you meant: _lua_apr_dir_make_recursive)
  "_apr_dir_open", referenced from:
      _lua_apr_dir_remove_recursive in io_dir.o
      _lua_apr_dir_open in io_dir.o
     (maybe you meant: _lua_apr_dir_open)
  "_apr_dir_read", referenced from:
      _lua_apr_dir_remove_recursive in io_dir.o
      _dir_read in io_dir.o
  "_apr_dir_remove", referenced from:
      _lua_apr_dir_remove in io_dir.o
      _lua_apr_dir_remove_recursive in io_dir.o
     (maybe you meant: _lua_apr_dir_remove, _lua_apr_dir_remove_recursive )
  "_apr_dir_rewind", referenced from:
      _dir_rewind in io_dir.o
  "_apr_env_delete", referenced from:
      _lua_apr_env_delete in env.o
     (maybe you meant: _lua_apr_env_delete)
  "_apr_env_get", referenced from:
      _lua_apr_env_get in env.o
     (maybe you meant: _lua_apr_env_get)
  "_apr_env_set", referenced from:
      _lua_apr_env_set in env.o
     (maybe you meant: _lua_apr_env_set)
  "_apr_file_append", referenced from:
      _lua_apr_file_append in io_file.o
     (maybe you meant: _lua_apr_file_append)
  "_apr_file_attrs_set", referenced from:
      _lua_apr_file_attrs_set in io_file.o
     (maybe you meant: _lua_apr_file_attrs_set)
  "_apr_file_close", referenced from:
      _file_close_impl in io_file.o
      _lua_apr_xml in xml.o
  "_apr_file_copy", referenced from:
      _lua_apr_file_copy in io_file.o
     (maybe you meant: _lua_apr_file_copy)
  "_apr_file_flush", referenced from:
      _init_file_buffers in io_file.o
      _lua_apr_file_open in io_file.o
  "_apr_file_info_get", referenced from:
      _file_stat in io_file.o
      _lua_apr_xml in xml.o
  "_apr_file_inherit_set", referenced from:
      _file_inherit_set in io_file.o
  "_apr_file_inherit_unset", referenced from:
      _file_inherit_unset in io_file.o
  "_apr_file_link", referenced from:
      _lua_apr_file_link in io_file.o
     (maybe you meant: _lua_apr_file_link)
  "_apr_file_lock", referenced from:
      _file_lock in io_file.o
  "_apr_file_mtime_set", referenced from:
      _lua_apr_file_mtime_set in io_file.o
     (maybe you meant: _lua_apr_file_mtime_set)
  "_apr_file_namedpipe_create", referenced from:
      _lua_apr_namedpipe_create in io_pipe.o
  "_apr_file_open", referenced from:
      _lua_apr_file_open in io_file.o
      _lua_apr_xml in xml.o
     (maybe you meant: _lua_apr_file_open)
  "_apr_file_open_stderr", referenced from:
      _lua_apr_pipe_open_stderr in io_pipe.o
  "_apr_file_open_stdin", referenced from:
      _lua_apr_pipe_open_stdin in io_pipe.o
  "_apr_file_open_stdout", referenced from:
      _lua_apr_pipe_open_stdout in io_pipe.o
  "_apr_file_perms_set", referenced from:
      _lua_apr_file_perms_set in io_file.o
     (maybe you meant: _lua_apr_file_perms_set)
  "_apr_file_pipe_create", referenced from:
      _lua_apr_pipe_create in io_pipe.o
  "_apr_file_pipe_timeout_get", referenced from:
      _pipe_timeout_get in io_file.o
  "_apr_file_pipe_timeout_set", referenced from:
      _pipe_timeout_set in io_file.o
  "_apr_file_read", referenced from:
      _init_file_buffers in io_file.o
      _lua_apr_file_open in io_file.o
  "_apr_file_remove", referenced from:
      _lua_apr_dir_remove_recursive in io_dir.o
      _lua_apr_file_remove in io_file.o
     (maybe you meant: _lua_apr_file_remove)
  "_apr_file_rename", referenced from:
      _lua_apr_file_rename in io_file.o
     (maybe you meant: _lua_apr_file_rename)
  "_apr_file_seek", referenced from:
      _file_seek in io_file.o
  "_apr_file_unlock", referenced from:
      _file_unlock in io_file.o
  "_apr_file_write", referenced from:
      _init_file_buffers in io_file.o
      _lua_apr_file_open in io_file.o
  "_apr_filepath_get", referenced from:
      _lua_apr_filepath_get in filepath.o
     (maybe you meant: _lua_apr_filepath_get)
  "_apr_filepath_list_merge", referenced from:
      _lua_apr_filepath_list_merge in filepath.o
     (maybe you meant: _lua_apr_filepath_list_merge)
  "_apr_filepath_list_split", referenced from:
      _lua_apr_filepath_list_split in filepath.o
     (maybe you meant: _lua_apr_filepath_list_split)
  "_apr_filepath_merge", referenced from:
      _lua_apr_filepath_parent in filepath.o
      _lua_apr_filepath_merge in filepath.o
      _lua_apr_dir_remove_recursive in io_dir.o
      _push_stat_field in stat.o
     (maybe you meant: _lua_apr_filepath_merge)
  "_apr_filepath_name_get", referenced from:
      _lua_apr_filepath_parent in filepath.o
      _lua_apr_filepath_name in filepath.o
      _lua_apr_stat in io_file.o
      _proc_exec in proc.o
  "_apr_filepath_root", referenced from:
      _lua_apr_filepath_root in filepath.o
      _lua_apr_filepath_parent in filepath.o
     (maybe you meant: _lua_apr_filepath_root)
  "_apr_filepath_set", referenced from:
      _lua_apr_filepath_set in filepath.o
     (maybe you meant: _lua_apr_filepath_set)
  "_apr_fnmatch", referenced from:
      _lua_apr_fnmatch in fnmatch.o
     (maybe you meant: _lua_apr_fnmatch, _lua_apr_fnmatch_test )
  "_apr_fnmatch_test", referenced from:
      _lua_apr_fnmatch_test in fnmatch.o
     (maybe you meant: _lua_apr_fnmatch_test)
  "_apr_gethostname", referenced from:
      _lua_apr_hostname_get in io_net.o
  "_apr_getnameinfo", referenced from:
      _lua_apr_addr_to_host in io_net.o
  "_apr_getopt_init", referenced from:
      _lua_apr_getopt in getopt.o
  "_apr_getopt_long", referenced from:
      _lua_apr_getopt in getopt.o
  "_apr_gid_name_get", referenced from:
      _lua_apr_user_get in user.o
      _push_groupname in user.o
  "_apr_initialize", referenced from:
      _luaopen_apr_core in lua_apr.o
  "_apr_md5_encode", referenced from:
      _lua_apr_md5_encode in crypt.o
     (maybe you meant: _lua_apr_md5_encode)
  "_apr_md5_final", referenced from:
      _md5_digest in crypt.o
  "_apr_md5_init", referenced from:
      _lua_apr_md5_init in crypt.o
      _md5_reset in crypt.o
     (maybe you meant: _lua_apr_md5_init)
  "_apr_md5_update", referenced from:
      _md5_update in crypt.o
  "_apr_memcache_add", referenced from:
      _mc_add in memcache.o
  "_apr_memcache_add_server", referenced from:
      _mc_add_server in memcache.o
  "_apr_memcache_create", referenced from:
      _lua_apr_memcache in memcache.o
  "_apr_memcache_decr", referenced from:
      _mc_decr in memcache.o
  "_apr_memcache_delete", referenced from:
      _mc_delete in memcache.o
  "_apr_memcache_disable_server", referenced from:
      _mc_disable_server in memcache.o
  "_apr_memcache_enable_server", referenced from:
      _mc_enable_server in memcache.o
  "_apr_memcache_find_server", referenced from:
      _mc_find_server in memcache.o
  "_apr_memcache_find_server_hash", referenced from:
      _mc_find_server_hash in memcache.o
  "_apr_memcache_getp", referenced from:
      _mc_get in memcache.o
  "_apr_memcache_hash", referenced from:
      _mc_hash in memcache.o
  "_apr_memcache_incr", referenced from:
      _mc_incr in memcache.o
  "_apr_memcache_replace", referenced from:
      _mc_replace in memcache.o
  "_apr_memcache_server_create", referenced from:
      _mc_add_server in memcache.o
  "_apr_memcache_set", referenced from:
      _mc_set in memcache.o
  "_apr_memcache_stats", referenced from:
      _mc_stats in memcache.o
  "_apr_memcache_version", referenced from:
      _mc_version in memcache.o
  "_apr_os_default_encoding", referenced from:
      _lua_apr_os_default_encoding in lua_apr.o
     (maybe you meant: _lua_apr_os_default_encoding)
  "_apr_os_file_get", referenced from:
      _file_fd_get in io_file.o
  "_apr_os_file_put", referenced from:
      _lua_apr_file_open in io_file.o
  "_apr_os_locale_encoding", referenced from:
      _lua_apr_os_locale_encoding in lua_apr.o
     (maybe you meant: _lua_apr_os_locale_encoding)
  "_apr_os_sock_get", referenced from:
      _socket_fd_get in io_net.o
  "_apr_os_sock_put", referenced from:
      _socket_fd_set in io_net.o
  "_apr_palloc", referenced from:
      _lua_apr_base64_encode in base64.o
      _lua_apr_base64_decode in base64.o
      _lua_apr_getopt in getopt.o
      _refpool_alloc in object.o
      _proc_env_set in proc.o
      _proc_exec in proc.o
  "_apr_password_get", referenced from:
      _lua_apr_password_get in crypt.o
     (maybe you meant: _lua_apr_password_get)
  "_apr_password_validate", referenced from:
      _lua_apr_password_validate in crypt.o
     (maybe you meant: _lua_apr_password_validate)
  "_apr_pool_clear", referenced from:
      _lua_apr_dir_remove_recursive in io_dir.o
      _to_pool in memory_pool.o
      _lua_apr_xlate in xlate.o
  "_apr_pool_create_ex", referenced from:
      _lua_apr_dbd in dbd.o
      _lua_apr_dbm_open in dbm.o
      _lua_apr_getopt in getopt.o
      _lua_apr_dir_remove_recursive in io_dir.o
      _lua_apr_dir_open in io_dir.o
      _lua_apr_socket_create in io_net.o
      _socket_accept in io_net.o
      ...
  "_apr_pool_destroy", referenced from:
      _dbm_close in dbm.o
      _dbm_gc in dbm.o
      _lua_apr_getopt in getopt.o
      _lua_apr_dir_remove_recursive in io_dir.o
      _dir_gc in io_dir.o
      _socket_close in io_net.o
      _socket_gc in io_net.o
      ...
  "_apr_proc_create", referenced from:
      _proc_exec in proc.o
     (maybe you meant: _lua_apr_proc_create)
  "_apr_proc_detach", referenced from:
      _lua_apr_proc_detach in proc.o
     (maybe you meant: _lua_apr_proc_detach)
  "_apr_proc_fork", referenced from:
      _lua_apr_proc_fork in proc.o
     (maybe you meant: _lua_apr_proc_fork)
  "_apr_proc_kill", referenced from:
      _proc_kill in proc.o
  "_apr_proc_wait", referenced from:
      _proc_wait in proc.o
  "_apr_procattr_addrspace_set", referenced from:
      _proc_addrspace_set in proc.o
  "_apr_procattr_child_err_set", referenced from:
      _proc_err_set in proc.o
  "_apr_procattr_child_in_set", referenced from:
      _proc_in_set in proc.o
  "_apr_procattr_child_out_set", referenced from:
      _proc_out_set in proc.o
  "_apr_procattr_cmdtype_set", referenced from:
      _proc_cmdtype_set in proc.o
  "_apr_procattr_create", referenced from:
      _proc_alloc in proc.o
  "_apr_procattr_detach_set", referenced from:
      _proc_detach_set in proc.o
  "_apr_procattr_dir_set", referenced from:
      _proc_dir_set in proc.o
  "_apr_procattr_error_check_set", referenced from:
      _proc_error_check_set in proc.o
  "_apr_procattr_group_set", referenced from:
      _proc_group_set in proc.o
  "_apr_procattr_io_set", referenced from:
      _proc_io_set in proc.o
  "_apr_procattr_user_set", referenced from:
      _proc_user_set in proc.o
  "_apr_pstrcat", referenced from:
      _proc_env_set in proc.o
  "_apr_pstrdup", referenced from:
      _lua_apr_filepath_parent in filepath.o
      _lua_apr_filepath_list_merge in filepath.o
      _lua_apr_dir_open in io_dir.o
      _file_alloc in io_file.o
      _lua_apr_file_open in io_file.o
      _proc_alloc in proc.o
      _proc_exec in proc.o
      ...
  "_apr_pstrndup", referenced from:
      _lua_apr_stat in io_file.o
  "_apr_queue_create", referenced from:
      _lua_apr_thread_queue in thread_queue.o
  "_apr_queue_interrupt_all", referenced from:
      _queue_interrupt in thread_queue.o
  "_apr_queue_pop", referenced from:
      _queue_pop in thread_queue.o
  "_apr_queue_push", referenced from:
      _queue_push in thread_queue.o
  "_apr_queue_term", referenced from:
      _queue_terminate in thread_queue.o
  "_apr_queue_trypop", referenced from:
      _queue_trypop in thread_queue.o
  "_apr_queue_trypush", referenced from:
      _queue_trypush in thread_queue.o
  "_apr_rfc822_date", referenced from:
      _lua_apr_time_format in time.o
  "_apr_sha1_final", referenced from:
      _sha1_digest in crypt.o
  "_apr_sha1_init", referenced from:
      _lua_apr_sha1_init in crypt.o
      _sha1_reset in crypt.o
     (maybe you meant: _lua_apr_sha1_init)
  "_apr_sha1_update", referenced from:
      _sha1_update in crypt.o
  "_apr_shm_attach", referenced from:
      _lua_apr_shm_attach in shm.o
     (maybe you meant: _lua_apr_shm_attach)
  "_apr_shm_baseaddr_get", referenced from:
      _lua_apr_shm_create in shm.o
      _lua_apr_shm_attach in shm.o
  "_apr_shm_create", referenced from:
      _lua_apr_shm_create in shm.o
     (maybe you meant: _lua_apr_shm_create)
  "_apr_shm_destroy", referenced from:
      _shm_destroy in shm.o
      _shm_gc in shm.o
  "_apr_shm_detach", referenced from:
      _shm_detach in shm.o
  "_apr_shm_remove", referenced from:
      _lua_apr_shm_remove in shm.o
     (maybe you meant: _lua_apr_shm_remove)
  "_apr_shm_size_get", referenced from:
      _lua_apr_shm_create in shm.o
      _lua_apr_shm_attach in shm.o
  "_apr_signal", referenced from:
      _lua_apr_signal in signal.o
     (maybe you meant: _lua_apr_signal_unblock, _lua_apr_signal_raise , _lua_apr_signal , _lua_apr_signal_block , _lua_apr_signal_names )
  "_apr_signal_block", referenced from:
      _lua_apr_signal_block in signal.o
     (maybe you meant: _lua_apr_signal_block)
  "_apr_signal_unblock", referenced from:
      _lua_apr_signal_unblock in signal.o
     (maybe you meant: _lua_apr_signal_unblock)
  "_apr_sleep", referenced from:
      _lua_apr_sleep in time.o
     (maybe you meant: _lua_apr_sleep)
  "_apr_sockaddr_info_get", referenced from:
      _lua_apr_host_to_addr in io_net.o
      _lua_apr_addr_to_host in io_net.o
      _socket_bind in io_net.o
      _socket_connect in io_net.o
  "_apr_sockaddr_ip_get", referenced from:
      _lua_apr_host_to_addr in io_net.o
      _socket_addr_get in io_net.o
  "_apr_socket_accept", referenced from:
      _socket_accept in io_net.o
  "_apr_socket_addr_get", referenced from:
      _socket_addr_get in io_net.o
  "_apr_socket_bind", referenced from:
      _socket_bind in io_net.o
  "_apr_socket_close", referenced from:
      _socket_close in io_net.o
      _socket_gc in io_net.o
  "_apr_socket_connect", referenced from:
      _socket_connect in io_net.o
  "_apr_socket_create", referenced from:
      _lua_apr_socket_create in io_net.o
     (maybe you meant: _lua_apr_socket_create)
  "_apr_socket_listen", referenced from:
      _socket_listen in io_net.o
  "_apr_socket_opt_get", referenced from:
      _socket_opt_get in io_net.o
  "_apr_socket_opt_set", referenced from:
      _socket_opt_set in io_net.o
  "_apr_socket_recv", referenced from:
      _lua_apr_socket_create in io_net.o
      _socket_accept in io_net.o
  "_apr_socket_send", referenced from:
      _lua_apr_socket_create in io_net.o
      _socket_accept in io_net.o
  "_apr_socket_shutdown", referenced from:
      _socket_shutdown in io_net.o
  "_apr_socket_timeout_get", referenced from:
      _socket_timeout_get in io_net.o
  "_apr_socket_timeout_set", referenced from:
      _socket_timeout_set in io_net.o
  "_apr_stat", referenced from:
      _lua_apr_stat in io_file.o
     (maybe you meant: _lua_apr_stat)
  "_apr_strerror", referenced from:
      _lua_apr_file_open in io_file.o
      _file_close in io_file.o
      _file_flush in io_file.o
      _file_lock in io_file.o
      _file_seek in io_file.o
      _file_stat in io_file.o
      _file_unlock in io_file.o
      ...
  "_apr_strfsize", referenced from:
      _lua_apr_strfsize in str.o
     (maybe you meant: _lua_apr_strfsize)
  "_apr_strftime", referenced from:
      _lua_apr_time_format in time.o
  "_apr_strnatcasecmp", referenced from:
      _lua_apr_strnatcasecmp in str.o
     (maybe you meant: _lua_apr_strnatcasecmp)
  "_apr_strnatcmp", referenced from:
      _lua_apr_strnatcmp in str.o
     (maybe you meant: _lua_apr_strnatcmp)
  "_apr_temp_dir_get", referenced from:
      _lua_apr_temp_dir_get in io_dir.o
     (maybe you meant: _lua_apr_temp_dir_get)
  "_apr_terminate", referenced from:
      _luaopen_apr_core in lua_apr.o
  "_apr_thread_create", referenced from:
      _lua_apr_thread_create in thread.o
     (maybe you meant: _lua_apr_thread_create)
  "_apr_thread_exit", referenced from:
      _thread_runner in thread.o
  "_apr_thread_join", referenced from:
      _thread_join in thread.o
      _thread_gc in thread.o
  "_apr_thread_yield", referenced from:
      _lua_apr_thread_yield in thread.o
     (maybe you meant: _lua_apr_thread_yield)
  "_apr_threadattr_create", referenced from:
      _lua_apr_thread_create in thread.o
  "_apr_time_exp_get", referenced from:
      _time_check in time.o
  "_apr_time_exp_gmt_get", referenced from:
      _lua_apr_time_implode in time.o
  "_apr_time_exp_lt", referenced from:
      _time_check_exploded in time.o
      _lua_apr_time_explode in time.o
  "_apr_time_exp_tz", referenced from:
      _lua_apr_time_explode in time.o
  "_apr_time_now", referenced from:
      _time_check_exploded in time.o
      _time_check in time.o
      _lua_apr_time_now in time.o
     (maybe you meant: _lua_apr_time_now)
  "_apr_tokenize_to_argv", referenced from:
      _lua_apr_tokenize_to_argv in str.o
     (maybe you meant: _lua_apr_tokenize_to_argv)
  "_apr_uid_current", referenced from:
      _lua_apr_user_get in user.o
  "_apr_uid_homepath_get", referenced from:
      _lua_apr_user_homepath_get in user.o
  "_apr_uid_name_get", referenced from:
      _lua_apr_user_get in user.o
      _push_username in user.o
  "_apr_uri_parse", referenced from:
      _lua_apr_uri_parse in uri.o
     (maybe you meant: _lua_apr_uri_parse)
  "_apr_uri_port_of_scheme", referenced from:
      _lua_apr_uri_port_of_scheme in uri.o
     (maybe you meant: _lua_apr_uri_port_of_scheme)
  "_apr_uri_unparse", referenced from:
      _lua_apr_uri_unparse in uri.o
     (maybe you meant: _lua_apr_uri_unparse)
  "_apr_uuid_format", referenced from:
      _lua_apr_uuid_format in uuid.o
     (maybe you meant: _lua_apr_uuid_format)
  "_apr_uuid_get", referenced from:
      _lua_apr_uuid_get in uuid.o
     (maybe you meant: _lua_apr_uuid_get)
  "_apr_uuid_parse", referenced from:
      _lua_apr_uuid_parse in uuid.o
     (maybe you meant: _lua_apr_uuid_parse)
  "_apr_version_string", referenced from:
      _lua_apr_version_get in lua_apr.o
  "_apr_xlate_close", referenced from:
      _lua_apr_xlate in xlate.o
  "_apr_xlate_conv_buffer", referenced from:
      _lua_apr_xlate in xlate.o
  "_apr_xlate_open", referenced from:
      _lua_apr_xlate in xlate.o
  "_apr_xml_parse_file", referenced from:
      _lua_apr_xml in xml.o
  "_apr_xml_parser_create", referenced from:
      _lua_apr_xml in xml.o
  "_apr_xml_parser_done", referenced from:
      _xml_done in xml.o
  "_apr_xml_parser_feed", referenced from:
      _xml_feed in xml.o
  "_apr_xml_parser_geterror", referenced from:
      _lua_apr_xml in xml.o
      _xml_feed in xml.o
      _xml_done in xml.o
      _xml_geterror in xml.o
  "_apu_version_string", referenced from:
      _lua_apr_version_get in lua_apr.o
  "_luaL_argerror", referenced from:
      _read_buffer in buffer.o
      _check_dbd_values in dbd.o
      _lua_apr_filepath_list_merge in filepath.o
      _lua_apr_file_attrs_set in io_file.o
      _file_lock in io_file.o
      _proc_env_set in proc.o
      _proc_exec in proc.o
      ...
  "_luaL_checkany", referenced from:
      _lua_apr_proc_detach in proc.o
  "_luaL_checkinteger", referenced from:
      _dbd_error in dbd.o
      _dbr_columns in dbd.o
      _pipe_timeout_set in io_file.o
      _socket_fd_set in io_net.o
      _socket_bind in io_net.o
      _socket_listen in io_net.o
      _socket_connect in io_net.o
      ...
  "_luaL_checklstring", referenced from:
      _lua_apr_base64_encode in base64.o
      _lua_apr_base64_decode in base64.o
      _write_buffer in buffer.o
      _lua_apr_md5_encode in crypt.o
      _lua_apr_password_validate in crypt.o
      _lua_apr_password_get in crypt.o
      _md5_update in crypt.o
      ...
  "_luaL_checkoption", referenced from:
      _dbd_transaction_mode in dbd.o
      _lua_apr_dbm_open in dbm.o
      _lua_apr_dbm_getnames in dbm.o
      _lua_apr_filepath_root in filepath.o
      _lua_apr_filepath_parent in filepath.o
      _lua_apr_filepath_merge in filepath.o
      _file_lock in io_file.o
      ...
  "_luaL_checkstack", referenced from:
      _read_buffer in buffer.o
      _to_pool in memory_pool.o
  "_luaL_checktype", referenced from:
      _lua_apr_filepath_list_merge in filepath.o
      _lua_apr_file_attrs_set in io_file.o
      _file_lock in io_file.o
      _lua_apr_type in lua_apr.o
      _proc_env_set in proc.o
      _proc_exec in proc.o
      _lua_apr_signal in signal.o
      ...
  "_luaL_checkudata", referenced from:
      _pool_gc in memory_pool.o
  "_luaL_error", referenced from:
      _md5_update in crypt.o
      _md5_digest in crypt.o
      _sha1_update in crypt.o
      _sha1_digest in crypt.o
      _dbd_dbname in dbd.o
      _dbd_check_conn in dbd.o
      _dbd_query in dbd.o
      ...
  "_luaL_loadbuffer", referenced from:
      _thread_runner in thread.o
  "_luaL_newmetatable", referenced from:
      _to_pool in memory_pool.o
      _get_metatable in object.o
  "_luaL_newstate", referenced from:
      _thread_runner in thread.o
  "_luaL_openlibs", referenced from:
      _thread_runner in thread.o
  "_luaL_optinteger", referenced from:
      _next_record in dbd.o
      _file_seek in io_file.o
      _lua_apr_memcache in memcache.o
      _mc_add_server in memcache.o
      _mc_set in memcache.o
      _mc_add in memcache.o
      _mc_replace in memcache.o
      ...
  "_luaL_optlstring", referenced from:
      _lua_apr_file_open in io_file.o
      _proc_user_set in proc.o
      _lua_apr_xml in xml.o
  "_luaL_register", referenced from:
      _luaopen_apr_core in lua_apr.o
      _get_metatable in object.o
  "_luaL_typerror", referenced from:
      _check_object in object.o
  "_lua_call", referenced from:
      _generic_hook in signal.o
      _error_handler in thread.o
  "_lua_close", referenced from:
      _thread_runner in thread.o
  "_lua_createtable", referenced from:
      _dbr_row_cb in dbd.o
      _lua_apr_filepath_list_split in filepath.o
      _lua_apr_getopt in getopt.o
      _luaopen_apr_core in lua_apr.o
      _lua_apr_version_get in lua_apr.o
      _mc_stats in memcache.o
      _get_metatable in object.o
      ...
  "_lua_equal", referenced from:
      _object_env_private in object.o
      _objects_equal in object.o
  "_lua_error", referenced from:
      _next_record in dbd.o
      _check_dbd_values in dbd.o
      _dir_read in io_dir.o
      _lua_apr_socket_create in io_net.o
      _socket_accept in io_net.o
      _luaopen_apr_core in lua_apr.o
      _to_pool in memory_pool.o
      ...
  "_lua_getfenv", referenced from:
      _object_env_private in object.o
      _proc_gc in proc.o
  "_lua_getfield", referenced from:
      _lua_apr_getopt in getopt.o
      _to_pool in memory_pool.o
      _get_metatable in object.o
      _object_env_default in object.o
      _get_pipe in proc.o
      _proc_gc in proc.o
      _error_handler in thread.o
      ...
  "_lua_gethook", referenced from:
      _signal_function in signal.o
  "_lua_gethookcount", referenced from:
      _signal_function in signal.o
  "_lua_gethookmask", referenced from:
      _signal_function in signal.o
  "_lua_getmetatable", referenced from:
      _lua_apr_type in lua_apr.o
      _object_has_type in object.o
      _objects_equal in object.o
      _check_object in object.o
      _check_value_size in tuple.o
  "_lua_gettable", referenced from:
      _check_dbd_values in dbd.o
      _proc_exec in proc.o
      _lua_apr_signal in signal.o
      _generic_hook in signal.o
  "_lua_gettop", referenced from:
      _read_buffer in buffer.o
      _write_buffer in buffer.o
      _check_dbd_values in dbd.o
      _dir_entries in io_dir.o
      _dir_read in io_dir.o
      _lua_apr_stat in io_file.o
      _file_stat in io_file.o
      ...
  "_lua_insert", referenced from:
      _dbr_tuples in dbd.o
      _dbr_rows in dbd.o
      _dbr_pairs in dbd.o
      _lua_apr_getopt in getopt.o
      _proc_in_set in proc.o
      _proc_out_set in proc.o
      _proc_err_set in proc.o
      ...
  "_lua_isnumber", referenced from:
      _lua_apr_getopt in getopt.o
      _lua_apr_file_open in io_file.o
      _pipe_timeout_set in io_file.o
      _socket_timeout_set in io_net.o
      _time_check_exploded in time.o
  "_lua_isstring", referenced from:
      _lua_apr_filepath_list_merge in filepath.o
      _check_permissions in permissions.o
      _proc_env_set in proc.o
      _error_handler in thread.o
      _lua_apr_uri_unparse in uri.o
  "_lua_isuserdata", referenced from:
      _next_record in dbd.o
      _dir_read in io_dir.o
      _mc_add_server in memcache.o
      _to_pool in memory_pool.o
  "_lua_newuserdata", referenced from:
      _dir_entries in io_dir.o
      _to_pool in memory_pool.o
      _new_object in object.o
      _create_reference in object.o
  "_lua_next", referenced from:
      _lua_apr_file_attrs_set in io_file.o
      _proc_env_set in proc.o
  "_lua_objlen", referenced from:
      _check_dbd_values in dbd.o
      _lua_apr_filepath_list_merge in filepath.o
      _lua_apr_getopt in getopt.o
      _proc_exec in proc.o
      _check_value_size in tuple.o
  "_lua_pcall", referenced from:
      _thread_runner in thread.o
  "_lua_pushboolean", referenced from:
      _dbd_open in dbd.o
      _dbd_dbname in dbd.o
      _dbd_check_conn in dbd.o
      _dbd_query in dbd.o
      _dbr_pairs in dbd.o
      _dbp_query in dbd.o
      _dbm_exists in dbm.o
      ...
  "_lua_pushcclosure", referenced from:
      _read_lines in buffer.o
      _dbr_tuples in dbd.o
      _dbr_rows in dbd.o
      _dbr_pairs in dbd.o
      _dir_entries in io_dir.o
      _to_pool in memory_pool.o
      _thread_runner in thread.o
      ...
  "_lua_pushfstring", referenced from:
      _md5_tostring in crypt.o
      _sha1_tostring in crypt.o
      _dbd_tostring in dbd.o
      _dbr_tostring in dbd.o
      _check_dbd_values in dbd.o
      _dbp_tostring in dbd.o
      _dbm_tostring in dbm.o
      ...
  "_lua_pushinteger", referenced from:
      _dbd_query in dbd.o
      _dbr_row_cb in dbd.o
      _dbr_len in dbd.o
      _dbp_query in dbd.o
      _check_dbd_values in dbd.o
      _status_to_name in errno.o
      _lua_apr_getopt in getopt.o
      ...
  "_lua_pushlightuserdata", referenced from:
      _read_lines in buffer.o
  "_lua_pushlstring", referenced from:
      _lua_apr_base64_encode in base64.o
      _lua_apr_base64_decode in base64.o
      _read_buffer in buffer.o
      _read_line in buffer.o
      _md5_digest in crypt.o
      _sha1_digest in crypt.o
      _dbm_fetch in dbm.o
      ...
  "_lua_pushnil", referenced from:
      _lua_apr_base64_encode in base64.o
      _lua_apr_base64_decode in base64.o
      _read_buffer in buffer.o
      _read_line in buffer.o
      _lua_apr_md5_init in crypt.o
      _lua_apr_sha1_init in crypt.o
      _md5_digest in crypt.o
      ...
  "_lua_pushnumber", referenced from:
      _read_buffer in buffer.o
      _lua_apr_date_parse_http in date.o
      _lua_apr_date_parse_rfc in date.o
      _file_seek in io_file.o
      _mc_stats in memcache.o
      _time_push in time.o
      _lua_apr_time_now in time.o
      ...
  "_lua_pushstring", referenced from:
      _lua_apr_base64_encode in base64.o
      _lua_apr_base64_decode in base64.o
      _lua_apr_md5_encode in crypt.o
      _lua_apr_password_get in crypt.o
      _lua_apr_md5_init in crypt.o
      _lua_apr_sha1_init in crypt.o
      _md5_digest in crypt.o
      ...
  "_lua_pushvalue", referenced from:
      _dbd_select in dbd.o
      _dbd_prepare in dbd.o
      _dbp_select in dbd.o
      _dir_entries in io_dir.o
      _object_env_default in object.o
      _object_env_private in object.o
      _get_pipe in proc.o
      ...
  "_lua_rawequal", referenced from:
      _object_has_type in object.o
      _check_object in object.o
  "_lua_rawgeti", referenced from:
      _lua_apr_filepath_list_merge in filepath.o
      _lua_apr_getopt in getopt.o
      _generic_hook in signal.o
      _dump_xml in xml.o
  "_lua_rawset", referenced from:
      _lua_apr_signal in signal.o
      _lua_apr_signal_names in signal.o
      _push_stat_results in stat.o
      _lua_apr_uri_parse in uri.o
      _dump_xml in xml.o
  "_lua_rawseti", referenced from:
      _lua_apr_filepath_list_split in filepath.o
      _lua_apr_getopt in getopt.o
      _lua_apr_signal in signal.o
      _lua_apr_tokenize_to_argv in str.o
      _dump_xml in xml.o
  "_lua_replace", referenced from:
      _thread_runner in thread.o
  "_lua_setfenv", referenced from:
      _new_object in object.o
      _init_object in object.o
      _create_reference in object.o
      _object_env_private in object.o
  "_lua_setfield", referenced from:
      _dbd_select in dbd.o
      _dbd_prepare in dbd.o
      _dbr_row_cb in dbd.o
      _dbp_select in dbd.o
      _lua_apr_getopt in getopt.o
      _luaopen_apr_core in lua_apr.o
      _lua_apr_version_get in lua_apr.o
      ...
  "_lua_sethook", referenced from:
      _signal_function in signal.o
      _generic_hook in signal.o
  "_lua_setmetatable", referenced from:
      _to_pool in memory_pool.o
      _new_object in object.o
      _init_object in object.o
      _create_reference in object.o
  "_lua_settop", referenced from:
      _read_buffer in buffer.o
      _dbd_select in dbd.o
      _dbd_prepare in dbd.o
      _dbr_tuples in dbd.o
      _dbr_rows in dbd.o
      _dbr_pairs in dbd.o
      _dbp_select in dbd.o
      ...
  "_lua_toboolean", referenced from:
      _md5_digest in crypt.o
      _sha1_digest in crypt.o
      _dbd_select in dbd.o
      _dbr_row_cb in dbd.o
      _dbp_select in dbd.o
      _check_dbd_values in dbd.o
      _lua_apr_filepath_name in filepath.o
      ...
  "_lua_tointeger", referenced from:
      _read_buffer in buffer.o
      _lua_apr_getopt in getopt.o
      _time_check_exploded in time.o
  "_lua_tolstring", referenced from:
      _read_buffer in buffer.o
      _check_dbd_values in dbd.o
      _lua_apr_filepath_list_merge in filepath.o
      _lua_apr_getopt in getopt.o
      _lua_apr_file_attrs_set in io_file.o
      _file_lock in io_file.o
      _socket_listen in io_net.o
      ...
  "_lua_tonumber", referenced from:
      _lua_apr_file_open in io_file.o
      _time_check_exploded in time.o
      _time_check in time.o
      _lua_apr_sleep in time.o
      _check_tuple in tuple.o
  "_lua_touserdata", referenced from:
      _read_lines_cb in buffer.o
      _next_record in dbd.o
      _dir_read in io_dir.o
      _to_pool in memory_pool.o
      _objects_equal in object.o
      _check_object in object.o
      _proc_gc in proc.o
      ...
  "_lua_type", referenced from:
      _read_buffer in buffer.o
      _dbd_transaction_mode in dbd.o
      _dbr_columns in dbd.o
      _check_dbd_values in dbd.o
      _lua_apr_filepath_root in filepath.o
      _lua_apr_filepath_parent in filepath.o
      _lua_apr_filepath_merge in filepath.o
      ...
  "_lua_typename", referenced from:
      _lua_apr_filepath_list_merge in filepath.o
      _proc_env_set in proc.o
      _check_tuple in tuple.o
      _check_value_size in tuple.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-------------------------------------------------------------------------------
It looks like your Lua/APR build failed. This could be because you're
missing some external dependencies. I will now check if you have the
required system packages installed (this should work on Debian, Ubuntu,
Arch Linux, Red Hat, Fedora Core, Suse Linux and CentOS).
-------------------------------------------------------------------------------
Unknown platform: You'll have to install the required system
packages manually (lua, apr, apr-util and libapreq2).
-------------------------------------------------------------------------------
make: *** [core.so] Error 1

Error: Build error: Failed building.
Installing https://luarocks.org/lua-apr-0.20.6-1.src.rock...
Using https://luarocks.org/lua-apr-0.20.6-1.src.rock... switching to 'build' mode

The pkgconfig commands are failing here, but I can run them fine in my terminal. Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions