view paste/paste.2788 @ 5129:7d19c0f4d970

<b_jonas> echo $\'#!/usr/bin/perl\\n\'\'$_=shift;sub k{my$t;$t=~y/IVXLC/XLCDM/,$t.=("",I,II,III,IV,V,VI,VII,VIII,IX)[$_]for/./g;$$t=$_;$t}k for s""\\$"..4e3;print eval(),$/\' > bin/fromroman && chmod a+x bin/fromroman
author HackBot
date Fri, 14 Nov 2014 21:22:56 +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