tar -xf lua-5.1.5.tar.gz cd src && make linux make[1]: Entering directory `/shared_data/builds/www/lua/5.1.5/src/lua-5.1.5/src' make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" make[2]: Entering directory `/shared_data/builds/www/lua/5.1.5/src/lua-5.1.5/src' gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lapi.o lapi.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lcode.o lcode.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o ldebug.o ldebug.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o ldo.o ldo.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o ldump.o ldump.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lfunc.o lfunc.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lgc.o lgc.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o llex.o llex.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lmem.o lmem.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lobject.o lobject.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lopcodes.o lopcodes.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lparser.o lparser.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lstate.o lstate.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lstring.o lstring.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o ltable.o ltable.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o ltm.o ltm.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lundump.o lundump.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lvm.o lvm.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lzio.o lzio.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lauxlib.o lauxlib.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lbaselib.o lbaselib.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o ldblib.o ldblib.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o liolib.o liolib.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lmathlib.o lmathlib.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o loslib.o loslib.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o ltablib.o ltablib.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lstrlib.o lstrlib.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o loadlib.o loadlib.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o linit.o linit.c ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o # DLL needs all object files ranlib liblua.a gcc -O2 -fPIC -DLUA_USE_LINUX -c -o lua.o lua.c gcc -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline -lhistory -lncurses gcc -O2 -fPIC -DLUA_USE_LINUX -c -o luac.o luac.c gcc -O2 -fPIC -DLUA_USE_LINUX -c -o print.o print.c gcc -o luac luac.o print.o liblua.a -lm -Wl,-E -ldl -lreadline -lhistory -lncurses make[2]: Leaving directory `/shared_data/builds/www/lua/5.1.5/src/lua-5.1.5/src' make[1]: Leaving directory `/shared_data/builds/www/lua/5.1.5/src/lua-5.1.5/src' Please do make PLATFORM where PLATFORM is one of these: aix ansi bsd freebsd generic linux macosx mingw posix solaris See INSTALL for complete instructions. cd src && mkdir -p /shared_data/builds/www/lua/5.1.5/pkg/usr//bin /shared_data/builds/www/lua/5.1.5/pkg/usr//include /shared_data/builds/www/lua/5.1.5/pkg/usr//lib64 /shared_data/builds/www/lua/5.1.5/pkg/usr//man/man1 /shared_data/builds/www/lua/5.1.5/pkg/usr//share/lua/5.1 /shared_data/builds/www/lua/5.1.5/pkg/usr//lib64/lua/5.1 cd src && install -p -m 0755 lua luac /shared_data/builds/www/lua/5.1.5/pkg/usr//bin cd src && install -p -m 0644 lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp /shared_data/builds/www/lua/5.1.5/pkg/usr//include cd src && install -p -m 0644 liblua.a /shared_data/builds/www/lua/5.1.5/pkg/usr//lib64 cd doc && install -p -m 0644 lua.1 luac.1 /shared_data/builds/www/lua/5.1.5/pkg/usr//man/man1 /shared_data/builds/www/lua/5.1.5/pkg: total 12 drwxr-xr-x 3 root root 4096 Oct 16 19:41 etc drwxr-xr-x 2 root root 4096 Oct 16 19:41 install drwxr-xr-x 9 root root 4096 Oct 16 19:41 usr /shared_data/builds/www/lua/5.1.5/pkg/etc: total 4 drwxr-xr-x 2 root root 4096 Oct 16 19:41 profile.d /shared_data/builds/www/lua/5.1.5/pkg/etc/profile.d: total 8 -rwxr-xr-x 1 root root 96 Oct 16 19:41 lua.csh.new -rwxr-xr-x 1 root root 99 Oct 16 19:41 lua.sh.new /shared_data/builds/www/lua/5.1.5/pkg/install: total 8 -rw-r--r-- 1 root root 301 Oct 16 19:41 doinst.sh -rw-r--r-- 1 root root 496 Oct 16 19:41 slack-desc /shared_data/builds/www/lua/5.1.5/pkg/usr: total 28 drwxr-xr-x 2 root root 4096 Oct 16 19:41 bin drwxr-xr-x 3 root root 4096 Oct 16 19:41 doc drwxr-xr-x 2 root root 4096 Oct 16 19:41 include drwxr-xr-x 4 root root 4096 Oct 16 19:41 lib64 drwxr-xr-x 3 root root 4096 Oct 16 19:41 man drwxr-xr-x 3 root root 4096 Oct 16 19:41 share drwxr-xr-x 3 root root 4096 Oct 16 19:41 src /shared_data/builds/www/lua/5.1.5/pkg/usr/bin: total 284 -rwxr-xr-x 1 root root 171736 Oct 16 19:41 lua -rwxr-xr-x 1 root root 116144 Oct 16 19:41 luac /shared_data/builds/www/lua/5.1.5/pkg/usr/doc: total 4 drwxr-xr-x 2 root root 4096 Oct 16 19:41 lua-5.1.5 /shared_data/builds/www/lua/5.1.5/pkg/usr/doc/lua-5.1.5: total 324 -rw-r--r-- 1 root root 1528 Feb 3 2012 COPYRIGHT -rw-r--r-- 1 root root 7907 Mar 26 2007 HISTORY -rw-r--r-- 1 root root 3868 Oct 16 19:41 INSTALL -rw-r--r-- 1 root root 1177 Oct 16 19:41 README -rw-r--r-- 1 root root 22482 Feb 13 2012 contents.html -rw-r--r-- 1 root root 4232 Oct 23 2001 logo.gif -rw-r--r-- 1 root root 1306 Dec 26 2011 lua.css -rw-r--r-- 1 root root 3951 Feb 7 2006 lua.html -rw-r--r-- 1 root root 3896 Feb 12 2006 luac.html -rw-r--r-- 1 root root 341 Dec 26 2011 manual.css -rw-r--r-- 1 root root 254745 Feb 13 2012 manual.html -rw-r--r-- 1 root root 834 Feb 3 2012 readme.html /shared_data/builds/www/lua/5.1.5/pkg/usr/include: total 52 -rw-r--r-- 1 root root 5777 Dec 27 2007 lauxlib.h -rw-r--r-- 1 root root 11688 Jan 13 2012 lua.h -rw-r--r-- 1 root root 191 Dec 22 2004 lua.hpp -rw-r--r-- 1 root root 22299 Feb 11 2008 luaconf.h -rw-r--r-- 1 root root 1026 Dec 27 2007 lualib.h /shared_data/builds/www/lua/5.1.5/pkg/usr/lib64: total 344 -rw-r--r-- 1 root root 344052 Oct 16 19:41 liblua.a drwxr-xr-x 3 root root 4096 Oct 16 19:41 lua drwxr-xr-x 2 root root 4096 Oct 16 19:41 pkgconfig /shared_data/builds/www/lua/5.1.5/pkg/usr/lib64/lua: total 4 drwxr-xr-x 2 root root 4096 Oct 16 19:41 5.1 /shared_data/builds/www/lua/5.1.5/pkg/usr/lib64/lua/5.1: total 4 -rw-r--r-- 1 root root 1779 Oct 16 19:41 util.lua /shared_data/builds/www/lua/5.1.5/pkg/usr/lib64/pkgconfig: total 4 -rw-r--r-- 1 root root 300 Oct 16 19:41 lua-5.1.pc lrwxrwxrwx 1 root root 10 Oct 16 19:41 lua.pc -> lua-5.1.pc /shared_data/builds/www/lua/5.1.5/pkg/usr/man: total 4 drwxr-xr-x 2 root root 4096 Oct 16 19:41 man1 /shared_data/builds/www/lua/5.1.5/pkg/usr/man/man1: total 8 -rw-r--r-- 1 root root 1651 Jan 6 2006 lua.1.gz -rw-r--r-- 1 root root 1676 Feb 12 2006 luac.1.gz /shared_data/builds/www/lua/5.1.5/pkg/usr/share: total 4 drwxr-xr-x 3 root root 4096 Oct 16 19:41 lua /shared_data/builds/www/lua/5.1.5/pkg/usr/share/lua: total 4 drwxr-xr-x 2 root root 4096 Oct 16 19:41 5.1 /shared_data/builds/www/lua/5.1.5/pkg/usr/share/lua/5.1: total 0 /shared_data/builds/www/lua/5.1.5/pkg/usr/src: total 4 drwxr-xr-x 2 root root 4096 Oct 16 19:41 lua-5.1.5 /shared_data/builds/www/lua/5.1.5/pkg/usr/src/lua-5.1.5: total 20 -rw-r--r-- 1 root root 2014 Oct 16 19:41 SLKBUILD -rw-r--r-- 1 root root 300 Oct 16 19:41 lua-5.1.pc -rw-r--r-- 1 root root 96 Oct 16 19:41 lua.csh -rw-r--r-- 1 root root 99 Oct 16 19:41 lua.sh -rw-r--r-- 1 root root 1779 Oct 16 19:41 util.lua Slackware package maker, version 3.14159. Searching for symbolic links: usr/lib64/pkgconfig/lua.pc -> lua-5.1.pc Making symbolic link creation script: ( cd usr/lib64/pkgconfig ; rm -rf lua.pc ) ( cd usr/lib64/pkgconfig ; ln -sf lua-5.1.pc lua.pc ) Unless your existing installation script already contains the code to create these links, you should append these lines to your existing install script. Now's your chance. :^) Would you like to add this stuff to the existing install script and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/lib64/pkgconfig/lua.pc' Updating your ./install/doinst.sh (prepending symlinks)... This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /shared_data/builds/www/lua/5.1.5/lua-5.1.5-x86_64-2rl.txz ./ etc/ etc/profile.d/ etc/profile.d/lua.csh.new etc/profile.d/lua.sh.new usr/ usr/bin/ usr/bin/lua usr/bin/luac usr/share/ usr/share/lua/ usr/share/lua/5.1/ usr/lib64/ usr/lib64/pkgconfig/ usr/lib64/pkgconfig/lua-5.1.pc usr/lib64/liblua.a usr/lib64/lua/ usr/lib64/lua/5.1/ usr/lib64/lua/5.1/util.lua usr/include/ usr/include/lauxlib.h usr/include/lua.hpp usr/include/lualib.h usr/include/luaconf.h usr/include/lua.h usr/src/ usr/src/lua-5.1.5/ usr/src/lua-5.1.5/util.lua usr/src/lua-5.1.5/lua.sh usr/src/lua-5.1.5/SLKBUILD usr/src/lua-5.1.5/lua-5.1.pc usr/src/lua-5.1.5/lua.csh usr/doc/ usr/doc/lua-5.1.5/ usr/doc/lua-5.1.5/HISTORY usr/doc/lua-5.1.5/INSTALL usr/doc/lua-5.1.5/contents.html usr/doc/lua-5.1.5/logo.gif usr/doc/lua-5.1.5/README usr/doc/lua-5.1.5/manual.css usr/doc/lua-5.1.5/lua.html usr/doc/lua-5.1.5/luac.html usr/doc/lua-5.1.5/lua.css usr/doc/lua-5.1.5/COPYRIGHT usr/doc/lua-5.1.5/readme.html usr/doc/lua-5.1.5/manual.html usr/man/ usr/man/man1/ usr/man/man1/lua.1.gz usr/man/man1/luac.1.gz install/ install/doinst.sh install/slack-desc Slackware package /shared_data/builds/www/lua/5.1.5/lua-5.1.5-x86_64-2rl.txz created. Package has been built. Cleaning pkg and src directories