{"action":"created","issue":{"url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/333","labels_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/333/comments","events_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/333/events","html_url":"https://github.com/openresty/lua-nginx-module/issues/333","id":26797280,"number":333,"title":"openresty 1.5.8.1 on FreeBSD10 issue","user":{"login":"lhmwzy","id":1417894,"avatar_url":"https://avatars.githubusercontent.com/u/1417894?v=3","gravatar_id":"","url":"https://api.github.com/users/lhmwzy","html_url":"https://github.com/lhmwzy","followers_url":"https://api.github.com/users/lhmwzy/followers","following_url":"https://api.github.com/users/lhmwzy/following{/other_user}","gists_url":"https://api.github.com/users/lhmwzy/gists{/gist_id}","starred_url":"https://api.github.com/users/lhmwzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhmwzy/subscriptions","organizations_url":"https://api.github.com/users/lhmwzy/orgs","repos_url":"https://api.github.com/users/lhmwzy/repos","events_url":"https://api.github.com/users/lhmwzy/events{/privacy}","received_events_url":"https://api.github.com/users/lhmwzy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-02-03T11:58:17Z","updated_at":"2015-03-10T20:31:01Z","closed_at":"2014-07-05T00:54:31Z","body":"./configure 有如下错误\r\n\r\n./configure\r\nplatform: freebsd (freebsd)\r\ncp -rp bundle/ build\r\ncd build\r\ncd LuaJIT-2.1-20140109\r\ngmake TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit\r\n==== Building LuaJIT 2.1.0-alpha ====\r\ngmake -C src\r\ngmake[1]: gcc: Command not found\r\ngmake[1]: Entering directory `/usr/home/lhm/ngx_openresty-1.5.8.1/build/LuaJIT-2.1-20140109/src'\r\ngmake[1]: gcc: Command not found\r\ngmake[1]: gcc: Command not found\r\ngmake[1]: gcc: Command not found\r\ngmake[1]: gcc: Command not found\r\ngmake[1]: gcc: Command not found\r\nMakefile:228: *** Unsupported target architecture.  Stop.\r\ngmake[1]: Leaving directory `/usr/home/lhm/ngx_openresty-1.5.8.1/build/LuaJIT-2.1-20140109/src'\r\ngmake: *** [default] Error 2\r\nERROR: failed to run command: gmake TARGET_STRIP=@: CCDEBUG=-g PREFIX=/usr/local/openresty/luajit\r\n\r\nuse ./configure --with-cc=/usr/bin/cc\r\nhas following error and warnings,but can make it.\r\n\r\ncc: error: unsupported option '-dumpspecs'\r\ncc: error: no input files\r\ncc: warning: argument unused during compilation: '-fPIC'\r\ncc: warning: argument unused during compilation: '-fomit-frame-pointer'\r\ncc: warning: argument unused during compilation: '-Wall'\r\ncc: warning: argument unused during compilation: '-D _FILE_OFFSET_BITS=64'\r\ncc: warning: argument unused during compilation: '-D _LARGEFILE_SOURCE'\r\ncc: warning: argument unused during compilation: '-U _FORTIFY_SOURCE'\r\ncc: warning: argument unused during compilation: '-D LUA_ROOT=\"/usr/local/openresty/luajit\"'\r\ncc: warning: argument unused during compilation: '-D LUA_MULTILIB=\"lib\"'\r\ncc: warning: argument unused during compilation: '-fomit-frame-pointer'\r\ncc: warning: argument unused during compilation: '-Wall'\r\ncc: warning: argument unused during compilation: '-D _FILE_OFFSET_BITS=64'\r\ncc: warning: argument unused during compilation: '-D _LARGEFILE_SOURCE'\r\ncc: warning: argument unused during compilation: '-U _FORTIFY_SOURCE'\r\ncc: warning: argument unused during compilation: '-D LUA_ROOT=\"/usr/local/openresty/luajit\"'\r\ncc: warning: argument unused during compilation: '-D LUA_MULTILIB=\"lib\"'\r\nldconfig: illegal option -- n\r\nusage: ldconfig [-32] [-aout | -elf] [-Rimrsv] [-f hints_file] [directory | file ...]\r\n\r\n#/usr/bin/cc -v\r\nFreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610\r\nTarget: x86_64-unknown-freebsd10.0\r\nThread model: posix\r\nthis /usr/bin/cc is Clang\r\n\r\nThis warnings and errors has any impact on openresty?\r\nCould @agentzh  fix them?\r\n"},"comment":{"url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/comments/78141523","html_url":"https://github.com/openresty/lua-nginx-module/issues/333#issuecomment-78141523","issue_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/333","id":78141523,"user":{"login":"agentzh","id":56241,"avatar_url":"https://avatars.githubusercontent.com/u/56241?v=3","gravatar_id":"","url":"https://api.github.com/users/agentzh","html_url":"https://github.com/agentzh","followers_url":"https://api.github.com/users/agentzh/followers","following_url":"https://api.github.com/users/agentzh/following{/other_user}","gists_url":"https://api.github.com/users/agentzh/gists{/gist_id}","starred_url":"https://api.github.com/users/agentzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agentzh/subscriptions","organizations_url":"https://api.github.com/users/agentzh/orgs","repos_url":"https://api.github.com/users/agentzh/repos","events_url":"https://api.github.com/users/agentzh/events{/privacy}","received_events_url":"https://api.github.com/users/agentzh/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T20:31:01Z","updated_at":"2015-03-10T20:31:01Z","body":"@gauravt Your error messages are truncated. Will you provide the complete output somewhere like gist.github.com and then share the link here? Also, you'd better create a separate ticket because it's apparently a different issue than the original reporter in this ticket."}}