Skip to content

Instantly share code, notes, and snippets.

@aktau
Created February 22, 2014 12:48
Show Gist options
  • Save aktau/9154339 to your computer and use it in GitHub Desktop.
Save aktau/9154339 to your computer and use it in GitHub Desktop.
homebrew: error while installing luaposix
➜ local git:(master) luarocks install luaposix
Installing http://www.luarocks.org/repositories/rocks/luaposix-31-1.src.rock...
Using http://www.luarocks.org/repositories/rocks/luaposix-31-1.src.rock... switching to 'build' mode
Missing dependencies for luaposix:
luabitop >= 1.0.2
Using http://www.luarocks.org/repositories/rocks/luabitop-1.0.2-1.src.rock... switching to 'build' mode
export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/usr/local/include/luajit-2.0 -c bit.c -o bit.o
export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -bundle -undefined dynamic_lookup -all_load -o bit.so -Lluajit/lib bit.o
ld: warning: directory not found for option '-Lluajit/lib'
Updating manifest for /usr/local/lib/luarocks/rocks
No existing manifest. Attempting to rebuild...
luabitop 1.0.2-1 is now built and installed in /usr/local (license: MIT/X license)
Archive: release-v31.zip
2f6b3f687dfdf5b43ec2e51575e1329be9dda09c
creating: luaposix-release-v31/
inflating: luaposix-release-v31/.autom4te.cfg
inflating: luaposix-release-v31/.travis.yml
inflating: luaposix-release-v31/AUTHORS
inflating: luaposix-release-v31/COPYING
inflating: luaposix-release-v31/ChangeLog
inflating: luaposix-release-v31/GNUmakefile
inflating: luaposix-release-v31/INSTALL
inflating: luaposix-release-v31/Makefile.am
inflating: luaposix-release-v31/Makefile.in
inflating: luaposix-release-v31/NEWS
inflating: luaposix-release-v31/README
inflating: luaposix-release-v31/aclocal.m4
inflating: luaposix-release-v31/bootstrap
inflating: luaposix-release-v31/bootstrap.conf
inflating: luaposix-release-v31/bootstrap.slingshot
creating: luaposix-release-v31/build-aux/
inflating: luaposix-release-v31/build-aux/ar-lib
inflating: luaposix-release-v31/build-aux/compile
inflating: luaposix-release-v31/build-aux/config.guess
inflating: luaposix-release-v31/build-aux/config.sub
inflating: luaposix-release-v31/build-aux/depcomp
inflating: luaposix-release-v31/build-aux/gitlog-to-changelog
inflating: luaposix-release-v31/build-aux/install-sh
inflating: luaposix-release-v31/build-aux/ltmain.sh
inflating: luaposix-release-v31/build-aux/make_lcurses_doc.pl
inflating: luaposix-release-v31/build-aux/missing
inflating: luaposix-release-v31/build-aux/mkrockspecs
inflating: luaposix-release-v31/build-aux/release.mk
inflating: luaposix-release-v31/build-aux/rockspecs.mk
inflating: luaposix-release-v31/build-aux/sanity-cfg.mk
inflating: luaposix-release-v31/build-aux/sanity.mk
inflating: luaposix-release-v31/build-aux/specl.mk
inflating: luaposix-release-v31/config.h.in
inflating: luaposix-release-v31/configure
inflating: luaposix-release-v31/configure.ac
creating: luaposix-release-v31/doc/
inflating: luaposix-release-v31/doc/curses.html
inflating: luaposix-release-v31/doc/curses_c.html
inflating: luaposix-release-v31/doc/index.html
inflating: luaposix-release-v31/doc/ldoc.css
creating: luaposix-release-v31/examples/
inflating: luaposix-release-v31/examples/dir.lua
inflating: luaposix-release-v31/examples/fork.lua
inflating: luaposix-release-v31/examples/fork2.lua
inflating: luaposix-release-v31/examples/getopt.lua
inflating: luaposix-release-v31/examples/glob.lua
inflating: luaposix-release-v31/examples/limit.lua
inflating: luaposix-release-v31/examples/poll.lua
inflating: luaposix-release-v31/examples/signal.lua
inflating: luaposix-release-v31/examples/socket.lua
inflating: luaposix-release-v31/examples/termios.lua
creating: luaposix-release-v31/ext/
creating: luaposix-release-v31/ext/curses/
inflating: luaposix-release-v31/ext/curses/curses.c
inflating: luaposix-release-v31/ext/curses/strlcpy.c
creating: luaposix-release-v31/ext/include/
inflating: luaposix-release-v31/ext/include/lua52compat.h
creating: luaposix-release-v31/ext/posix/
inflating: luaposix-release-v31/ext/posix/config.ld
inflating: luaposix-release-v31/ext/posix/posix.c
creating: luaposix-release-v31/lib/
inflating: luaposix-release-v31/lib/curses.lua
inflating: luaposix-release-v31/lib/posix.lua
inflating: luaposix-release-v31/local.mk
inflating: luaposix-release-v31/luaposix-31-1.rockspec
inflating: luaposix-release-v31/luaposix-git-1.rockspec
creating: luaposix-release-v31/m4/
inflating: luaposix-release-v31/m4/00gnulib.m4
inflating: luaposix-release-v31/m4/ax_compare_version.m4
inflating: luaposix-release-v31/m4/ax_lua.m4
inflating: luaposix-release-v31/m4/ax_with_curses.m4
inflating: luaposix-release-v31/m4/gnulib-common.m4
inflating: luaposix-release-v31/m4/gnulib-comp.m4
inflating: luaposix-release-v31/m4/libtool.m4
inflating: luaposix-release-v31/m4/ltoptions.m4
inflating: luaposix-release-v31/m4/ltsugar.m4
inflating: luaposix-release-v31/m4/ltversion.m4
inflating: luaposix-release-v31/m4/lt~obsolete.m4
inflating: luaposix-release-v31/m4/manywarnings.m4
inflating: luaposix-release-v31/m4/slingshot.m4
inflating: luaposix-release-v31/m4/warnings.m4
inflating: luaposix-release-v31/rockspec.conf
creating: luaposix-release-v31/specs/
inflating: luaposix-release-v31/specs/curses_spec.yaml
inflating: luaposix-release-v31/specs/lposix_spec.yaml
inflating: luaposix-release-v31/specs/posix_spec.yaml
inflating: luaposix-release-v31/specs/specs.mk
inflating: luaposix-release-v31/travis.yml.in
./configure LUA='luajit/bin/luajit' LUA_INCLUDE='-I/usr/local/include/luajit-2.0' --prefix='/usr/local/lib/luarocks/rocks/luaposix/31-1' --libdir='/usr/local/lib/luarocks/rocks/luaposix/31-1/lib' --datadir='/usr/local/lib/luarocks/rocks/luaposix/31-1/lua' && make clean all
## ----------------------- ##
## Configuring luaposix 31 ##
## ----------------------- ##
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for egrep... (cached) /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking the archiver (ar) interface... ar
checking build system type... x86_64-apple-darwin13.0.0
checking host system type... x86_64-apple-darwin13.0.0
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/local/bin/gsed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin13.0.0 file names to x86_64-apple-darwin13.0.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin13.0.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm output from clang object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for library containing crypt... none required
checking for strlcpy... yes
checking for statvfs... yes
checking for NcursesW wide-character library... no
checking for Ncurses library... yes
checking for working ncurses/curses.h... no
checking for working ncurses.h... yes
checking for resizeterm... yes
checking if luajit/bin/luajit is a Lua interpreter... no
configure: error: not a Lua interpreter
Error: Build error: Failed building.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment