-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Noah Watkins <[email protected]>
- Loading branch information
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ missing | |
*.o | ||
docs | ||
m4 | ||
compile | ||
lua-rados.rockspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
AC_PREREQ(2.59) | ||
|
||
AC_INIT([lua-rados], [0.0.1], [[email protected]]) | ||
AC_INIT([lua-rados], [0.0.2], [[email protected]]) | ||
|
||
AC_CONFIG_MACRO_DIR([m4]) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package="lua-rados" | ||
version="0.0.2-1" | ||
source = { | ||
url = "https://github.com/noahdesu/lua-rados/archive/v0.0.2.tar.gz", | ||
dir = "lua-rados-0.0.2" | ||
} | ||
description = { | ||
summary = "Lua bindings to RADOS", | ||
detailed = [[]], | ||
homepage = "http://github.com/noahdesu/lua-rados/", | ||
license = "MIT" | ||
} | ||
dependencies = { | ||
"lua >= 5.1" | ||
} | ||
build = { | ||
type = "command", | ||
build_command = "./bootstrap.sh && LUA=$(LUA) CPPFLAGS=-I$(LUA_INCDIR) ./configure --prefix=$(PREFIX) --libdir=$(LIBDIR) --datadir=$(LUADIR) && make clean && make", | ||
install_command = "make install" | ||
} |
cd12dbe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lua-rados.rockspec
config.status: executing depfiles commands
config.status: executing libtool commands
test -z "rados.la" || rm -f rados.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
CXX rados_la-lua_rados.lo
CXXLD rados.la
make install
make[1]: Entering directory `/tmp/luarocks_luarocks-source-lua-rados-0.0.2-1-W1GwhP/lua-rados-0.0.2'
/bin/mkdir -p '/usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib'
/bin/sh ./libtool --mode=install /bin/install -c rados.la '/usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib'
libtool: install: /bin/install -c .libs/rados.so /usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib/rados.so
libtool: install: /bin/install -c .libs/rados.lai /usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib/rados.la
libtool: install: /bin/install -c .libs/rados.a /usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib/rados.a
libtool: install: chmod 644 /usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib/rados.a
libtool: install: ranlib /usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib/rados.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin:/usr/local/openresty/luajit//bin:/sbin" ldconfig -n /usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib
Libraries have been installed in:
/usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
during execution
during linking
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
make[1]: Nothing to be done for
install-data-am'. make[1]: Leaving directory
/tmp/luarocks_luarocks-source-lua-rados-0.0.2-1-W1GwhP/lua-rados-0.0.2'lua-rados 0.0.2-1 is now installed in /usr/local/openresty/luajit (license: MIT)
[root@xxy-sto-ceph-cephgw-ngx-1 /]#
[root@xxy-sto-ceph-cephgw-ngx-1 /]# ls -lt /usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib
ls: cannot access /usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados/0.0.2-1/lib: No such file or directory
cd12dbe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I installed successful by luarocks, nothing errors . but ,there is no lib in dir "/usr/local/openresty/luajit/lib/luarocks/rocks/lua-rados"
cd12dbe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. I'll see if i can recreate this. Can you post that in a new issue?