view paste/paste.2788 @ 11116:3923d423f4cb

<oerjan> learn shebang_args_or_input is similar to print_args_or_input, but for other scripting languages like perl or python. E.g. if you have a python script that pipes stdin, replace the usual shebang line by #!/hackenv/bin/shebang_args_or_input python .
author HackBot
date Sat, 22 Jul 2017 00:51:22 +0000
parents 35723677f1c5
children
line wrap: on
line source

cd src && make linux
make[1]: Entering directory `/hackenv/luabuild/lua-5.2.1/src'
make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline -lncurses"
make[2]: Entering directory `/hackenv/luabuild/lua-5.2.1/src'
gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX    -c -o lua.o lua.c
make[2]: Leaving directory `/hackenv/luabuild/lua-5.2.1/src'
make[1]: Leaving directory `/hackenv/luabuild/lua-5.2.1/src'
lua.c:67:31: error: readline/readline.h: No such file or directory
lua.c:68:30: error: readline/history.h: No such file or directory
lua.c: In function ‘pushline’:
lua.c:266: warning: implicit declaration of function ‘readline’
lua.c:266: warning: assignment makes pointer from integer without a cast
lua.c: In function ‘loadline’:
lua.c:296: warning: implicit declaration of function ‘add_history’
make[2]: *** [lua.o] Error 1
make[1]: *** [linux] Error 2
make: *** [linux] Error 2