From: "Sergey Y. Afonin" <asy@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd)
Date: Tue, 25 Dec 2007 18:10:33 +0400
Message-ID: <200712251810.34116.asy@altlinux.ru> (raw)
In-Reply-To: <200712251729.42892.asy@altlinux.ru>
On Tuesday 25 December 2007, Sergey Y. Afonin wrote:
> checking for pthreads... checking for shutdown... no
> checking for shutdown.bsd... no
> configure: error: shutdown program not found !
> error: Bad exit status from /home/asy/tmp/rpm-tmp.57018 (%build)
В общем, раньше в configure получалось так:
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_SHUTDOWN="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
А теперь
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
echo $as_test_x
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_SHUTDOWN="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
И test -x не проходит от юзера... Интересно, что делать ? В лоб патчить
полученный configure, наверное, странно...
--
С уважением, Сергей Афонин
asy@altlinux.ru
next prev parent reply other threads:[~2007-12-25 14:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-25 13:29 [devel] SysVinit (/sbin/shutdown) и apcupsd Sergey Y. Afonin
2007-12-25 14:06 ` Dmitry V. Levin
2007-12-26 7:24 ` Slava Semushin
2007-12-25 14:10 ` Sergey Y. Afonin [this message]
2007-12-25 14:15 ` [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd) Sergey Y. Afonin
2007-12-25 14:24 ` Dmitry V. Levin
2007-12-25 14:56 ` Sergey Y. Afonin
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=200712251810.34116.asy@altlinux.ru \
--to=asy@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