lua (не собирается lua)

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

yanik
Сообщения: 85
ОС: Gentoo

lua

Сообщение yanik »

Всем доброй ночи!!!
Решил поставить DC сервер, выбрал как вариат verlihub. Скомпилил - установился и заработал. Пробую прикрутить скрипты lua, вот тут то и возникают проблемы. При кампиляции исходников по каманде ./configure мне пишет

Код: Выделить всё

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/i486-pc-linux-gnu/bin/ld
checking if the linker (/usr/i486-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i486-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i486-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i486-pc-linux-gnu/bin/ld
checking if the linker (/usr/i486-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i486-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i486-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/i486-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking whether to enable maintainer-specific portions of Makefiles... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking ostream usability... yes
checking ostream presence... yes
checking for ostream... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for lua headers...
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes
checking lualib.h usability... yes
checking lualib.h presence... yes
checking for lualib.h... yes
checking lauxlib.h usability... yes
checking lauxlib.h presence... yes
checking for lauxlib.h... yes
checking for lua libraries...
checking for lua_call in -llua... yes
checking for luaL_register in -llua... yes
checking for verlihub_config... no
checking for VERLIHUB - version >= 0... no
*** The $ac_path_lib_verlihub_config script installed by VERLIHUB could not be found.
*** If VERLIHUB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the VERLIHUB_CONFIG environment variable to the
*** full path to $ac_path_lib_verlihub_config.
Install verlihub devel, or you need a path for the
verlihub_config script, you may also wat to try some --with-verlihub=/prefix agruments


пробовал так
./configure --with-verlihub-prefix=/usr/local/ или так ./configure --with-verlihub-prefix=/usr/local/bin/
выдает тоже
сам verlihub_config лежит в папке лежит в /usr/local/bin
В чем может быть трабла не могу догнать........
Спасибо сказали:
Аватара пользователя
ishitori
Сообщения: 502
ОС: gentoo -> archlinux

Re: lua

Сообщение ishitori »

вроде там опция называется --with-verlihub, а не --with-verlihub-prefix.
морнинг круассан..
Спасибо сказали:
yanik
Сообщения: 85
ОС: Gentoo

Re: lua

Сообщение yanik »

ishitori писал(а):
23.03.2009 02:42
вроде там опция называется --with-verlihub, а не --with-verlihub-prefix.


Если написать убрать слово prefix и написать
./configure --with-verlihub=/usr/local/
результат тот же
((((
Спасибо сказали:
Аватара пользователя
ishitori
Сообщения: 502
ОС: gentoo -> archlinux

Re: lua

Сообщение ishitori »

а зачем вы указываете /usr/local, если "сам verlihub_config лежит в папке /usr/local/bin"? тогда, наверно, --with-verlihub=/usr/local/bin надо.
морнинг круассан..
Спасибо сказали:
yanik
Сообщения: 85
ОС: Gentoo

Re: lua

Сообщение yanik »

--wth-verlihub=/usr/local/bin
и вот так
--wth-verlihub=/usr/local/bin/
теже грабли
Спасибо сказали:
Аватара пользователя
NekoExMachina
Сообщения: 485
ОС: Кошерная.

Re: lua

Сообщение NekoExMachina »

>-wth-
with?
На форуме больше не появляюсь.
Высокопарность и надменность довела.
OpenBSD-current+scrotwm*1 (acer aspire one 531h)
FreeBSD 8.1+kde3*1 (desktop)
FreeBSD 8.1+scrotwm*1 (hp530)
FreeBSD 9.0+dwm*1 (old toshiba satellite)

Спасибо сказали:
Аватара пользователя
ishitori
Сообщения: 502
ОС: gentoo -> archlinux

Re: lua

Сообщение ishitori »

хм.. опечатался, когда писал. уже исправил.
морнинг круассан..
Спасибо сказали:
Аватара пользователя
NekoExMachina
Сообщения: 485
ОС: Кошерная.

Re: lua

Сообщение NekoExMachina »

ishitori
Я не вам, просто подозрение по последнему посту есть, что человек скопировал опечатку - вот проблема и остается..
На форуме больше не появляюсь.
Высокопарность и надменность довела.
OpenBSD-current+scrotwm*1 (acer aspire one 531h)
FreeBSD 8.1+kde3*1 (desktop)
FreeBSD 8.1+scrotwm*1 (hp530)
FreeBSD 9.0+dwm*1 (old toshiba satellite)

Спасибо сказали:
yanik
Сообщения: 85
ОС: Gentoo

Re: lua

Сообщение yanik »

NekoExMachina писал(а):
23.03.2009 15:09
ishitori
Я не вам, просто подозрение по последнему посту есть, что человек скопировал опечатку - вот проблема и остается..

что-то я немного не понял о чем идет речь???????
Спасибо сказали:
Аватара пользователя
Xaktyc
Сообщения: 604
ОС: Gentoo 2008.0, WinXP

Re: lua

Сообщение Xaktyc »

Код: Выделить всё

*** The $ac_path_lib_verlihub_config script installed by VERLIHUB could not be found.
*** If VERLIHUB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the VERLIHUB_CONFIG environment variable to the
*** full path to $ac_path_lib_verlihub_config.
Install verlihub devel, or you need a path for the
verlihub_config script, you may also wat to try some --with-verlihub=/prefix agruments

Вот этот кусочек надо читать целиком.
Во-первых /bin указывать не надо.
Во-вторых ты можешь указать через EXPORT VERLIHUB_CONFIG= нужный путь...(полный)
Спасибо сказали:
yanik
Сообщения: 85
ОС: Gentoo

Re: lua

Сообщение yanik »

Xaktyc писал(а):
24.03.2009 14:28

Код: Выделить всё

*** The $ac_path_lib_verlihub_config script installed by VERLIHUB could not be found.
*** If VERLIHUB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the VERLIHUB_CONFIG environment variable to the
*** full path to $ac_path_lib_verlihub_config.
Install verlihub devel, or you need a path for the
verlihub_config script, you may also wat to try some --with-verlihub=/prefix agruments

Вот этот кусочек надо читать целиком.
Во-первых /bin указывать не надо.
Во-вторых ты можешь указать через EXPORT VERLIHUB_CONFIG= нужный путь...(полный)

Действительно скампилилось......... спасибо огромное!!!!
Спасибо сказали: