From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] lighttpd-1.4.9-alt1: rebuild failed
Date: Mon, 22 May 2006 09:42:25 +0400
Message-ID: <20060522054225.GC9725@localhost.localdomain> (raw)
In-Reply-To: <20060522052049.GA9725@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]
On Mon, May 22, 2006 at 09:20:49AM +0400, Alexey Tourbin wrote:
> On Mon, May 22, 2006 at 01:11:16AM +0400, Konstantin A. Lepikhov wrote:
> > > checking for lua... yes
> > > checking for lua-config... no
> > > checking for lua_open in -llua... no
> > > checking for lua... Package lua was not found in the pkg-config search path. Perhaps you should add the directory containing `lua.pc' to the PKG_CONFIG_PATH environment variable No package 'lua' found
> > > configure: error: Library requirements (lua) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
> > а вот и первый пострадавший от новой lua ;)
>
> $ grep lua_open /usr/include/lua.h
> #define lua_open() luaL_newstate()
> $
>
> Линковаться без хедеров/без прототипов грешно.
> К сожалению autoconf это делает.
--- ./configure.in- 2005-12-15 12:08:31 +0300
+++ ./configure.in 2006-05-22 09:22:00 +0400
@@ -389,7 +389,7 @@
AC_DEFINE([HAVE_LUA], [1], [liblua])
AC_DEFINE([HAVE_LUA_H], [1], [lua.h])
else
- AC_CHECK_LIB(lua, lua_open, [
+ AC_CHECK_LIB(lua, luaL_newstate, [
AC_CHECK_HEADERS([lua.h],[
LUA_LIBS="-llua -llualib"
AC_DEFINE([HAVE_LUA], [1], [liblua])
Как бы AC_CHECK_LIB попросить включать хедеры от библиотеки, которую
он собирается зондировать?
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
next prev parent reply other threads:[~2006-05-22 5:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-21 21:11 ` Konstantin A. Lepikhov
2006-05-22 5:20 ` Alexey Tourbin
2006-05-22 5:42 ` Alexey Tourbin [this message]
2006-05-22 5:50 ` Konstantin A. Lepikhov
2006-05-22 6:55 ` Andrey Rahmatullin
2006-05-22 6:58 ` Alexey Tourbin
2006-05-22 6:59 ` Andrey Rahmatullin
2006-05-22 7:07 ` Alexey Tourbin
2006-05-22 7:27 ` Alexey I. Froloff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060522054225.GC9725@localhost.localdomain \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git