Skip to content

Instantly share code, notes, and snippets.

@meric
Created September 27, 2012 13:36
Show Gist options
  • Save meric/3794031 to your computer and use it in GitHub Desktop.
Save meric/3794031 to your computer and use it in GitHub Desktop.
➜ _bootstrap git:(master) cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/Eric/test/_bootstrap
➜ _bootstrap git:(master) ✗ make
Scanning dependencies of target lua
[ 0%] Creating directories for 'lua'
[ 0%] No download step for 'lua'
[ 0%] No patch step for 'lua'
[ 0%] No update step for 'lua'
[ 0%] Performing configure step for 'lua'
loading initial cache file /Users/Eric/test/_bootstrap/config.cmake
-- The C compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/bin/gcc
-- Check for working C compiler: /usr/local/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
DIST_NAME: lua
DIST_VERSION: 5.1.5
DIST_LICENSE: MIT/X11
DIST_AUTHOR: Roberto Ierusalimschy, Waldemar Celes, Luiz Henrique de Figueiredo
DIST_MAINTAINER: Peter Drahoš
DIST_URL: http://www.lua.org
DIST_DESC: Lua is a powerful, fast, light-weight, embeddable scripting language.
DIST_DEPENDS:
-- Found readline: /usr/lib/libreadline.dylib
-- Found Curses: /usr/lib/libcurses.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/Eric/test/_bootstrap/lua/build
[ 0%] Performing build step for 'lua'
Scanning dependencies of target liblua
[ 1%] Building C object CMakeFiles/liblua.dir/src/lapi.c.o
[ 3%] Building C object CMakeFiles/liblua.dir/src/lcode.c.o
[ 4%] Building C object CMakeFiles/liblua.dir/src/ldebug.c.o
[ 6%] Building C object CMakeFiles/liblua.dir/src/ldo.c.o
[ 8%] Building C object CMakeFiles/liblua.dir/src/ldump.c.o
[ 9%] Building C object CMakeFiles/liblua.dir/src/lfunc.c.o
[ 11%] Building C object CMakeFiles/liblua.dir/src/lgc.c.o
[ 13%] Building C object CMakeFiles/liblua.dir/src/llex.c.o
[ 14%] Building C object CMakeFiles/liblua.dir/src/lmem.c.o
[ 16%] Building C object CMakeFiles/liblua.dir/src/lobject.c.o
[ 18%] Building C object CMakeFiles/liblua.dir/src/lopcodes.c.o
[ 19%] Building C object CMakeFiles/liblua.dir/src/lparser.c.o
[ 21%] Building C object CMakeFiles/liblua.dir/src/lstate.c.o
[ 22%] Building C object CMakeFiles/liblua.dir/src/lstring.c.o
[ 24%] Building C object CMakeFiles/liblua.dir/src/ltable.c.o
[ 26%] Building C object CMakeFiles/liblua.dir/src/ltm.c.o
[ 27%] Building C object CMakeFiles/liblua.dir/src/lundump.c.o
[ 29%] Building C object CMakeFiles/liblua.dir/src/lvm.c.o
[ 31%] Building C object CMakeFiles/liblua.dir/src/lzio.c.o
[ 32%] Building C object CMakeFiles/liblua.dir/src/lauxlib.c.o
[ 34%] Building C object CMakeFiles/liblua.dir/src/lbaselib.c.o
[ 36%] Building C object CMakeFiles/liblua.dir/src/ldblib.c.o
[ 37%] Building C object CMakeFiles/liblua.dir/src/liolib.c.o
[ 39%] Building C object CMakeFiles/liblua.dir/src/lmathlib.c.o
[ 40%] Building C object CMakeFiles/liblua.dir/src/loslib.c.o
[ 42%] Building C object CMakeFiles/liblua.dir/src/ltablib.c.o
[ 44%] Building C object CMakeFiles/liblua.dir/src/lstrlib.c.o
[ 45%] Building C object CMakeFiles/liblua.dir/src/linit.c.o
[ 47%] Building C object CMakeFiles/liblua.dir/src/loadlib_rel.c.o
Linking C shared library liblua.dylib
[ 47%] Built target liblua
Scanning dependencies of target liblua_static
[ 49%] Building C object CMakeFiles/liblua_static.dir/src/lapi.c.o
[ 50%] Building C object CMakeFiles/liblua_static.dir/src/lcode.c.o
[ 52%] Building C object CMakeFiles/liblua_static.dir/src/ldebug.c.o
[ 54%] Building C object CMakeFiles/liblua_static.dir/src/ldo.c.o
[ 55%] Building C object CMakeFiles/liblua_static.dir/src/ldump.c.o
[ 57%] Building C object CMakeFiles/liblua_static.dir/src/lfunc.c.o
[ 59%] Building C object CMakeFiles/liblua_static.dir/src/lgc.c.o
[ 60%] Building C object CMakeFiles/liblua_static.dir/src/llex.c.o
[ 62%] Building C object CMakeFiles/liblua_static.dir/src/lmem.c.o
[ 63%] Building C object CMakeFiles/liblua_static.dir/src/lobject.c.o
[ 65%] Building C object CMakeFiles/liblua_static.dir/src/lopcodes.c.o
[ 67%] Building C object CMakeFiles/liblua_static.dir/src/lparser.c.o
[ 68%] Building C object CMakeFiles/liblua_static.dir/src/lstate.c.o
[ 70%] Building C object CMakeFiles/liblua_static.dir/src/lstring.c.o
[ 72%] Building C object CMakeFiles/liblua_static.dir/src/ltable.c.o
[ 73%] Building C object CMakeFiles/liblua_static.dir/src/ltm.c.o
[ 75%] Building C object CMakeFiles/liblua_static.dir/src/lundump.c.o
[ 77%] Building C object CMakeFiles/liblua_static.dir/src/lvm.c.o
[ 78%] Building C object CMakeFiles/liblua_static.dir/src/lzio.c.o
[ 80%] Building C object CMakeFiles/liblua_static.dir/src/lauxlib.c.o
[ 81%] Building C object CMakeFiles/liblua_static.dir/src/lbaselib.c.o
[ 83%] Building C object CMakeFiles/liblua_static.dir/src/ldblib.c.o
[ 85%] Building C object CMakeFiles/liblua_static.dir/src/liolib.c.o
[ 86%] Building C object CMakeFiles/liblua_static.dir/src/lmathlib.c.o
[ 88%] Building C object CMakeFiles/liblua_static.dir/src/loslib.c.o
[ 90%] Building C object CMakeFiles/liblua_static.dir/src/ltablib.c.o
[ 91%] Building C object CMakeFiles/liblua_static.dir/src/lstrlib.c.o
[ 93%] Building C object CMakeFiles/liblua_static.dir/src/linit.c.o
[ 95%] Building C object CMakeFiles/liblua_static.dir/src/loadlib_rel.c.o
Linking C static library libliblua_static.a
[ 95%] Built target liblua_static
Scanning dependencies of target lua
[ 96%] Building C object CMakeFiles/lua.dir/src/lua.c.o
Linking C executable lua
[ 96%] Built target lua
Scanning dependencies of target luac
[ 98%] Building C object CMakeFiles/luac.dir/src/luac.c.o
[100%] Building C object CMakeFiles/luac.dir/src/print.c.o
Linking C executable luac
[100%] Built target luac
[ 0%] Performing install step for 'lua'
[ 47%] Built target liblua
[ 95%] Built target liblua_static
[ 96%] Built target lua
[100%] Built target luac
Install the project...
-- Install configuration: "MinSizeRel"
-- Installing: /usr/local/tmp/bootstrap/bin/lua
-- Installing: /usr/local/tmp/bootstrap/bin/luac
-- Installing: /usr/local/tmp/bootstrap/lib/liblua.dylib
-- Installing: /usr/local/tmp/bootstrap/share/lua/README.md
-- Installing: /usr/local/tmp/bootstrap/share/lua/COPYRIGHT
-- Installing: /usr/local/tmp/bootstrap/share/lua/HISTORY
-- Installing: /usr/local/tmp/bootstrap/lib/lua/strict.lua
-- Installing: /usr/local/tmp/bootstrap/include/lua.h
-- Installing: /usr/local/tmp/bootstrap/include/lualib.h
-- Installing: /usr/local/tmp/bootstrap/include/lauxlib.h
-- Installing: /usr/local/tmp/bootstrap/include/lua.hpp
-- Installing: /usr/local/tmp/bootstrap/include/luaconf.h
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc/
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//contents.html
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//cover.png
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//logo.gif
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//lua.1
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//lua.css
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//lua.html
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//luac.1
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//luac.html
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//manual.css
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//manual.html
-- Installing: /usr/local/tmp/bootstrap/share/lua/doc//readme.html
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc/
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//all.c
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//lua.hpp
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//lua.ico
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//lua.pc
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//lua_lang.ico
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//luavs.bat
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//Makefile
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//min.c
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//noparser.c
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//README
-- Installing: /usr/local/tmp/bootstrap/share/lua/etc//strict.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test/
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//bisect.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//cf.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//echo.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//env.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//factorial.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//fib.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//fibfor.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//globals.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//hello.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//life.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//luac.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//printf.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//README
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//readonly.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//sieve.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//sort.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//table.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//trace-calls.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//trace-globals.lua
-- Installing: /usr/local/tmp/bootstrap/share/lua/test//xd.lua
[ 0%] Completed 'lua'
[ 25%] Built target lua
Scanning dependencies of target srlua
[ 25%] Creating directories for 'srlua'
[ 25%] No download step for 'srlua'
[ 25%] No patch step for 'srlua'
[ 25%] No update step for 'srlua'
[ 25%] Performing configure step for 'srlua'
loading initial cache file /Users/Eric/test/_bootstrap/config.cmake
-- The C compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/bin/gcc
-- Check for working C compiler: /usr/local/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
DIST_NAME: srlua
DIST_VERSION: 5.1
DIST_LICENSE: MIT/X11
DIST_AUTHOR: Luiz Henrique de Figueiredo
DIST_MAINTAINER: Peter Drahoš
DIST_URL: http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/
DIST_DESC: A tool for building self-running Lua programs.
DIST_DEPENDS:
-- Found Lua: /Library/Frameworks/lua.framework (found version "5.1.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/Eric/test/_bootstrap/srlua/build
[ 25%] Performing build step for 'srlua'
Scanning dependencies of target glue
[ 50%] Building C object CMakeFiles/glue.dir/glue.c.o
Linking C executable glue
ld: warning: in /Library/Frameworks//lua.framework/lua, missing required architecture x86_64 in file
[ 50%] Built target glue
Scanning dependencies of target srlua
[100%] Building C object CMakeFiles/srlua.dir/srlua.c.o
Linking C executable srlua
ld: warning: in /Library/Frameworks//lua.framework/lua, missing required architecture x86_64 in file
Undefined symbols:
"_luaL_error", referenced from:
_pmain in srlua.c.o
_pmain in srlua.c.o
_pmain in srlua.c.o
_pmain in srlua.c.o
_pmain in srlua.c.o
"_luaL_newstate", referenced from:
_main in srlua.c.o
"_lua_close", referenced from:
_main in srlua.c.o
"_lua_pushcclosure", referenced from:
_main in srlua.c.o
"_lua_rawseti", referenced from:
_pmain in srlua.c.o
"_luaL_openlibs", referenced from:
_pmain in srlua.c.o
"_lua_pushstring", referenced from:
_pmain in srlua.c.o
_pmain in srlua.c.o
"_lua_createtable", referenced from:
_pmain in srlua.c.o
"_lua_pushinteger", referenced from:
_main in srlua.c.o
"_lua_tolstring", referenced from:
_main in srlua.c.o
"_lua_pcall", referenced from:
_main in srlua.c.o
"_luaL_checkstack", referenced from:
_pmain in srlua.c.o
"_lua_call", referenced from:
_pmain in srlua.c.o
"_lua_setfield", referenced from:
_pmain in srlua.c.o
"_lua_pushlightuserdata", referenced from:
_main in srlua.c.o
"_lua_touserdata", referenced from:
_pmain in srlua.c.o
"_lua_tointeger", referenced from:
_pmain in srlua.c.o
"_lua_load", referenced from:
_pmain in srlua.c.o
"_lua_error", referenced from:
_pmain in srlua.c.o
"_lua_gc", referenced from:
_pmain in srlua.c.o
_pmain in srlua.c.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[5]: *** [srlua] Error 1
make[4]: *** [CMakeFiles/srlua.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [srlua/src/srlua-stamp/srlua-build] Error 2
make[1]: *** [CMakeFiles/srlua.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment