lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello
I tried to install lua on solaris... and i didn't succeded ...
generally i think i have good environment for compilation (for example i installed mc from sources)
but when i execute make install i get:

cd src && mkdir -p /usr/local/bin /usr/local/include /usr/local/lib /usr/local/man/man1 /usr/local/share/lua/5.1 /usr/local/lib/lua/5.1
cd src && install -p -m 0755 lua luac /usr/local/bin
usage: install [options] file [dir1 ...]
make: *** [install] Error 2


and when (earlier) i executed make solaris i got lots of warnings:

-bash-3.00# make solaris
cd src && make solaris
make[1]: Entering directory `/instal/lua-5.1.3/src'
make all MYCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-ldl"
make[2]: Entering directory `/instal/lua-5.1.3/src'
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lapi.o lapi.c
lapi.c: In function `luaA_pushobject':
lapi.c:92: warning: visibility attribute not supported in this configuration; ignored
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lcode.o lcode.c
lcode.c: In function `luaK_getlabel':
lcode.c:97: warning: visibility attribute not supported in this configuration; ignored
lcode.c: In function `luaK_concat':
lcode.c:196: warning: visibility attribute not supported in this configuration; ignored
lcode.c: In function `luaK_patchtohere':
lcode.c:182: warning: visibility attribute not supported in this configuration; ignored
lcode.c: In function `luaK_patchlist':
lcode.c:176: warning: visibility attribute not supported in this configuration; ignored
lcode.c: In function `luaK_checkstack':
lcode.c:206: warning: visibility attribute not supported in this configuration; ignored
lcode.c: In function `luaK_reserveregs':
lcode.c:212: warning: visibility attribute not supported in this configuration; ignored
lcode.c: In function `luaK_stringK':
lcode.c:254: warning: visibility attribute not supported in this configuration; ignored

...

gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lstring.o lstring.c
lstring.c: In function `luaS_resize':
lstring.c:47: warning: visibility attribute not supported in this configuration; ignored
lstring.c: In function `luaS_newlstr':
lstring.c:93: warning: visibility attribute not supported in this configuration; ignored
lstring.c: In function `luaS_newudata':
lstring.c:110: warning: visibility attribute not supported in this configuration; ignored
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o ltable.o ltable.c
ltable.c: In function `luaH_next':
ltable.c:159: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_new':
ltable.c:371: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_free':
ltable.c:379: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_getnum':
ltable.c:449: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_getstr':
ltable.c:463: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_get':
ltable.c:491: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_set':
ltable.c:505: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_setnum':
ltable.c:517: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_resizearray':
ltable.c:330: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_setstr':
ltable.c:529: warning: visibility attribute not supported in this configuration; ignored
ltable.c: In function `luaH_getn':
ltable.c:576: warning: visibility attribute not supported in this configuration; ignored
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o ltm.o ltm.c
ltm.c:74: warning: visibility attribute not supported in this configuration; ignored
ltm.c: In function `luaT_init':
ltm.c:43: warning: visibility attribute not supported in this configuration; ignored
ltm.c: In function `luaT_gettm':
ltm.c:58: warning: visibility attribute not supported in this configuration; ignored
ltm.c: In function `luaT_gettmbyobj':
ltm.c:74: warning: visibility attribute not supported in this configuration; ignored
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lundump.o lundump.c
lundump.c: In function `luaU_header':
lundump.c:225: warning: visibility attribute not supported in this configuration; ignored
lundump.c: In function `luaU_undump':
lundump.c:207: warning: visibility attribute not supported in this configuration; ignored
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lvm.o lvm.c
lvm.c: In function `luaV_tonumber':
lvm.c:44: warning: visibility attribute not supported in this configuration; ignored
lvm.c: In function `luaV_tostring':
lvm.c:57: warning: visibility attribute not supported in this configuration; ignored
lvm.c: In function `luaV_gettable':
lvm.c:131: warning: visibility attribute not supported in this configuration; ignored
lvm.c: In function `luaV_settable':
lvm.c:158: warning: visibility attribute not supported in this configuration; ignored
lvm.c: In function `luaV_lessthan':
lvm.c:232: warning: visibility attribute not supported in this configuration; ignored
lvm.c: In function `luaV_equalval':
lvm.c:275: warning: visibility attribute not supported in this configuration; ignored
lvm.c: In function `luaV_concat':
lvm.c:310: warning: visibility attribute not supported in this configuration; ignored
lvm.c: In function `luaV_execute':
lvm.c:762: warning: visibility attribute not supported in this configuration; ignored
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lzio.o lzio.c
lzio.c: In function `luaZ_fill':
lzio.c:32: warning: visibility attribute not supported in this configuration; ignored
lzio.c: In function `luaZ_lookahead':
lzio.c:45: warning: visibility attribute not supported in this configuration; ignored
lzio.c: In function `luaZ_init':
lzio.c:54: warning: visibility attribute not supported in this configuration; ignored
lzio.c: In function `luaZ_read':
lzio.c:71: warning: visibility attribute not supported in this configuration; ignored
lzio.c: In function `luaZ_openspace':
lzio.c:80: warning: visibility attribute not supported in this configuration; ignored
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lauxlib.o lauxlib.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lbaselib.o lbaselib.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o ldblib.o ldblib.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o liolib.o liolib.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lmathlib.o lmathlib.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o loslib.o loslib.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o ltablib.o ltablib.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lstrlib.o lstrlib.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o loadlib.o loadlib.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -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
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o lua.o lua.c
gcc -o lua  lua.o liblua.a -lm -ldl
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o luac.o luac.c
gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN   -c -o print.o print.c
print.c: In function `luaU_print':
print.c:227: warning: visibility attribute not supported in this configuration; ignored
gcc -o luac  luac.o print.o liblua.a -lm -ldl
make[2]: Leaving directory `/instal/lua-5.1.3/src'
make[1]: Leaving directory `/instal/lua-5.1.3/src'


Could You tell me what's wrong?

regards
nichu