* [devel] SysVinit (/sbin/shutdown) и apcupsd
@ 2007-12-25 13:29 Sergey Y. Afonin
2007-12-25 14:06 ` Dmitry V. Levin
2007-12-25 14:10 ` [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd) Sergey Y. Afonin
0 siblings, 2 replies; 7+ messages in thread
From: Sergey Y. Afonin @ 2007-12-25 13:29 UTC (permalink / raw)
To: devel
Приветствую.
Что-то я не понял, что случилось:
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)
Раньше было так:
checking for pthreads... checking for shutdown... /sbin/shutdown
...
Собственно, ещё в 4.0. /sbin/shutdown присутствует, права те же
самые остались...
--
С уважением, Сергей Афонин
asy@altlinux.ru
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] SysVinit (/sbin/shutdown) и apcupsd
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 ` [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd) Sergey Y. Afonin
1 sibling, 1 reply; 7+ messages in thread
From: Dmitry V. Levin @ 2007-12-25 14:06 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
On Tue, Dec 25, 2007 at 05:29:42PM +0400, 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)
>
> Раньше было так:
>
> checking for pthreads... checking for shutdown... /sbin/shutdown
> ...
>
> Собственно, ещё в 4.0. /sbin/shutdown присутствует, права те же
> самые остались...
Надо смотреть config.log; возможно, не там ищет.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd)
2007-12-25 13:29 [devel] SysVinit (/sbin/shutdown) и apcupsd Sergey Y. Afonin
2007-12-25 14:06 ` Dmitry V. Levin
@ 2007-12-25 14:10 ` Sergey Y. Afonin
2007-12-25 14:15 ` Sergey Y. Afonin
2007-12-25 14:24 ` Dmitry V. Levin
1 sibling, 2 replies; 7+ messages in thread
From: Sergey Y. Afonin @ 2007-12-25 14:10 UTC (permalink / raw)
To: ALT Linux Team development discussions
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd)
2007-12-25 14:10 ` [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd) Sergey Y. Afonin
@ 2007-12-25 14:15 ` Sergey Y. Afonin
2007-12-25 14:24 ` Dmitry V. Levin
1 sibling, 0 replies; 7+ messages in thread
From: Sergey Y. Afonin @ 2007-12-25 14:15 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Tuesday 25 December 2007, Sergey Y. Afonin wrote:
> Интересно, что делать ?
А, ну да. "отложить исправление, определив версию используемых элементов
autotools". Только, всё равно, интересно, чего это он.
--
С уважением, Сергей Афонин
asy@altlinux.ru
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd)
2007-12-25 14:10 ` [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd) Sergey Y. Afonin
2007-12-25 14:15 ` Sergey Y. Afonin
@ 2007-12-25 14:24 ` Dmitry V. Levin
2007-12-25 14:56 ` Sergey Y. Afonin
1 sibling, 1 reply; 7+ messages in thread
From: Dmitry V. Levin @ 2007-12-25 14:24 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 583 bytes --]
On Tue, Dec 25, 2007 at 06:10:33PM +0400, Sergey Y. Afonin wrote:
> 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 получалось так:
[...]
> И test -x не проходит от юзера... Интересно, что делать ? В лоб патчить
> полученный configure, наверное, странно...
export ac_cv_path_SHUTDOWN=/sbin/shutdown
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd)
2007-12-25 14:24 ` Dmitry V. Levin
@ 2007-12-25 14:56 ` Sergey Y. Afonin
0 siblings, 0 replies; 7+ messages in thread
From: Sergey Y. Afonin @ 2007-12-25 14:56 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Tuesday 25 December 2007, Dmitry V. Levin wrote:
> export ac_cv_path_SHUTDOWN=/sbin/shutdown
Вечно я про этот вариант забываю... :-(
Спасибо.
--
С уважением, Сергей Афонин
asy@altlinux.ru
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [devel] SysVinit (/sbin/shutdown) и apcupsd
2007-12-25 14:06 ` Dmitry V. Levin
@ 2007-12-26 7:24 ` Slava Semushin
0 siblings, 0 replies; 7+ messages in thread
From: Slava Semushin @ 2007-12-26 7:24 UTC (permalink / raw)
To: ALT Linux Team development discussions
25.12.07, Dmitry V. Levin<ldv / altlinux.org> написал(а):
[...]
> > Собственно, ещё в 4.0. /sbin/shutdown присутствует, права те же
> > самые остались...
>
> Надо смотреть config.log; возможно, не там ищет.
Или не так?
[c0der@rock ~]$ which shutdown
shutdown not found
[c1der@rock ~]$ echo $PATH
/bin:/usr/bin:/usr/X11R6/bin:/home/coder/bin:/usr/games:/usr/sbin:/sbin:/opt/sunstudiomars/bin:/usr/lib/qt3/bin
[c0der@rock ~]$ ls -l /sbin/shutdown
-rwx------ 1 root root 18K Янв 7 2007 /sbin/shutdown
Аааа.. видимо, из-за прав?
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-12-26 7:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [devel] или autotools... (Re: SysVinit (/sbin/shutdown) и apcupsd) Sergey Y. Afonin
2007-12-25 14:15 ` Sergey Y. Afonin
2007-12-25 14:24 ` Dmitry V. Levin
2007-12-25 14:56 ` Sergey Y. Afonin
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