lua-users home
lua-l archive

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


Hello,
i'm trying to build the latest released Lunatic Python on my Mac OSX 10.6, I get this error:

make
python setup.py build
running build
running build_ext
building 'lua-python' extension
creating build
creating build/temp.macosx-10.6-i386-2.4
creating build/temp.macosx-10.6-i386-2.4/src
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include/python2.4 -c src/pythoninlua.c -o build/temp.macosx-10.6-i386-2.4/src/pythoninlua.o -rdynamic
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include/python2.4 -c src/luainpython.c -o build/temp.macosx-10.6-i386-2.4/src/luainpython.o -rdynamic
src/luainpython.c: In function ‘initlua’:
src/luainpython.c:496: warning: implicit declaration of function ‘luaopen_loadlib’
creating build/lib.macosx-10.6-i386-2.4
/usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup build/temp.macosx-10.6-i386-2.4/src/pythoninlua.o build/temp.macosx-10.6-i386-2.4/src/luainpython.o -L/opt/local/lib/python2.4/config -lpython2.4 -lpthread -lutil -o build/lib.macosx-10.6-i386-2.4/lua-python.so -rdynamic
building 'lua' extension
/usr/bin/gcc-4.2 -L/opt/local/lib -bundle -undefined dynamic_lookup build/temp.macosx-10.6-i386-2.4/src/pythoninlua.o build/temp.macosx-10.6-i386-2.4/src/luainpython.o -llua -llualib -o build/lib.macosx-10.6-i386-2.4/lua.so -rdynamic
ld: library not found for -llualib
collect2: ld returned 1 exit status
error: command '/usr/bin/gcc-4.2' failed with exit status 1
make: *** [all] Error 1


Ideas? 

Thanks in advance,
Valerio