Hello, i get this error installing luagraph rock on mac osx: (on a side note, luagraph 1.0.4 has been released in april, it'd be nice to get an updated rock)
luarocks install luagraph Installing http://luarocks.org/repositories/rocks/luagraph-1.0.2-2.src.rock... Archive: /private/tmp/luarocks_luarocks-rock-luagraph-1.0.2-2-2009/luagraph-1.0.2-2.src.rock inflating: luagraph-1.0.2-2.rockspec inflating: luagraph-1.0.2.tar.gz uname: illegal option -- o usage: uname [-amnprsv] cd src; make all uname: illegal option -- o usage: uname [-amnprsv] rm -f makefile.deps test -z "compat-5.1r5/compat-5.1.o gr_graph.o gr_node.o gr_edge.o gr_util.o" || export MACOSX_DEPLOYMENT_TARGET=10.3; gcc -MM -O2 compat-5.1r5/compat-5.1.c gr_graph.c gr_node.c gr_edge.c gr_util.c >> makefile.deps gr_util.c:24:24: error: compat-5.1.h: No such file or directory export MACOSX_DEPLOYMENT_TARGET=10.3; gcc -O2 -c -o compat-5.1r5/compat-5.1.o compat-5.1r5/compat-5.1.c export MACOSX_DEPLOYMENT_TARGET=10.3; gcc -O2 -c -o gr_graph.o gr_graph.c In file included from gr_graph.c:25: gr_graph.h:51:1: warning: "AGID" redefined In file included from /usr/local/include/graphviz/gvc.h:20, from gr_graph.h:19, from gr_graph.c:25: /usr/local/include/graphviz/types.h:726:1: warning: this is the location of the previous definition In file included from gr_graph.c:25: gr_graph.h:52:1: warning: "agnameof" redefined In file included from /usr/local/include/graphviz/gvc.h:20, from gr_graph.h:19, from gr_graph.c:25: /usr/local/include/graphviz/types.h:719:1: warning: this is the location of the previous definition In file included from gr_graph.c:25: gr_graph.h:54:1: warning: "agisdirected" redefined In file included from /usr/local/include/graphviz/gvc.h:20, from gr_graph.h:19, from gr_graph.c:25: /usr/local/include/graphviz/types.h:725:1: warning: this is the location of the previous definition In file included from gr_graph.c:25: gr_graph.h:55:1: warning: "agroot" redefined In file included from /usr/local/include/graphviz/gvc.h:20, from gr_graph.h:19, from gr_graph.c:25: /usr/local/include/graphviz/types.h:722:1: warning: this is the location of the previous definition gr_graph.c: In function ‘luaopen_graph_core’: gr_graph.c:1478: error: expected ‘)’ before ‘VERSION’ gr_graph.c:1478: error: too few arguments to function ‘lua_pushlstring’ gr_graph.c:1481: error: expected ‘)’ before ‘VERSION’ gr_graph.c:1481: error: too few arguments to function ‘lua_pushlstring’ gr_graph.c:1484: error: expected ‘)’ before ‘GVVERSION’ gr_graph.c:1484: error: too few arguments to function ‘lua_pushlstring’ make[1]: *** [gr_graph.o] Error 1 make: *** [all] Error 2 _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
