ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] собрать nginx от 2.4
@ 2007-01-23 17:20 Grigory Fateyev
  2007-01-23 17:35 ` Motsyo Gennadi aka Drool
  0 siblings, 1 reply; 7+ messages in thread
From: Grigory Fateyev @ 2007-01-23 17:20 UTC (permalink / raw)
  To: community

Здравствуйте!

Нужен nginx поновее для ALT 3.0.4, так как пакета для 3.0 не нашёл
скачал srpm из backports/2.4 посмотрел спек вроде должен был собратья
без проблем. Но:
[...]
 + Linux 2.6.12-std26-up-alt10 i686
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for C compiler ... GNU C compiler
checking for gcc variadic macros ... not found
checking for C99 variadic macros ... not found
checking for Linux specific features
 + rt signals found
checking for epoll ... not found
checking for sendfile() ... not found
checking for sendfile64() ... not found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... not found
checking for sched_setaffinity() ... not found
checking for poll() ... not found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... not found
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for OpenSSL library ... not found
checking for zlib library ... not found
checking for int size ...
./configure: error: can not detect int size
ошибка: Неверный код возврата из /home/greg/tmp/rpm-tmp.5478 (%build)

Ошибки сборки пакетов:
    Неверный код возврата из /home/greg/tmp/rpm-tmp.5478 (%build)

Почему то библиотеки не находятся, хотя ручной ./configure с опциями из
спека нормально отрабатывается. Что-то с путями, как это побороть?

Спасибо!
-- 
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/01/23 20:13


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] собрать nginx от 2.4
  2007-01-23 17:20 [Comm] собрать nginx от 2.4 Grigory Fateyev
@ 2007-01-23 17:35 ` Motsyo Gennadi aka Drool
  2007-01-23 18:30   ` Grigory Fateyev
  0 siblings, 1 reply; 7+ messages in thread
From: Motsyo Gennadi aka Drool @ 2007-01-23 17:35 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

Grigory Fateyev <greg@anastasia.ru> wrote:
> Нужен nginx поновее для ALT 3.0.4, так как пакета для 3.0 не нашёл
> скачал srpm из backports/2.4 посмотрел спек вроде должен был собратья
> без проблем. Но:

	А из сизифа не соберется?

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] собрать nginx от 2.4
  2007-01-23 17:35 ` Motsyo Gennadi aka Drool
@ 2007-01-23 18:30   ` Grigory Fateyev
  2007-01-23 19:00     ` Хихин Руслан
  0 siblings, 1 reply; 7+ messages in thread
From: Grigory Fateyev @ 2007-01-23 18:30 UTC (permalink / raw)
  To: community

Hello Motsyo Gennadi aka Drool!
On Tue, 23 Jan 2007 19:35:47 +0200 you wrote:

> Grigory Fateyev <greg@anastasia.ru> wrote:
> > Нужен nginx поновее для ALT 3.0.4, так как пакета для 3.0 не нашёл
> > скачал srpm из backports/2.4 посмотрел спек вроде должен был
> > собратья без проблем. Но:
> 
> 	А из сизифа не соберется?

Самое смешное что вываливается с той же ошибкой :)

 + Linux 2.6.12-std26-up-alt10 i686
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for C compiler ... GNU C compiler
checking for gcc variadic macros ... not found
checking for C99 variadic macros ... not found
checking for Linux specific features
 + rt signals found
checking for epoll ... not found
checking for sendfile() ... not found
checking for sendfile64() ... not found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... not found
checking for sched_setaffinity() ... not found
checking for poll() ... not found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... not found
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for OpenSSL library ... not found
checking for zlib library ... not found
checking for int size ...
./configure: error: can not detect int size
ошибка: Неверный код возврата из /home/greg/tmp/rpm-tmp.66509 (%build)

Ошибки сборки пакетов:
    Неверный код возврата из /home/greg/tmp/rpm-tmp.66509 (%build)

-- 
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/01/23 21:29


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] собрать nginx от 2.4
  2007-01-23 18:30   ` Grigory Fateyev
@ 2007-01-23 19:00     ` Хихин Руслан
  2007-01-24 10:31       ` Grigory Fateyev
  0 siblings, 1 reply; 7+ messages in thread
From: Хихин Руслан @ 2007-01-23 19:00 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

Здравствуйте Grigory Fateyev
  В сообщении от Tuesday 23 January 2007 21:30 Grigory Fateyev 
написал(a):

 > ./configure: error: can not detect int size
 
А какая архитектура (процессора) у вас ?
-- 
  А ещё говорят так  (fortune):
 
The savior becomes the victim.
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] собрать nginx от 2.4
  2007-01-23 19:00     ` Хихин Руслан
@ 2007-01-24 10:31       ` Grigory Fateyev
  2007-01-24 12:04         ` Grigory Fateyev
  0 siblings, 1 reply; 7+ messages in thread
From: Grigory Fateyev @ 2007-01-24 10:31 UTC (permalink / raw)
  To: community

Hello Хихин Руслан!
On Tue, 23 Jan 2007 22:00:20 +0300 you wrote:

> Здравствуйте Grigory Fateyev
>   В сообщении от Tuesday 23 January 2007 21:30 Grigory Fateyev 
> написал(a):
> 
>  > ./configure: error: can not detect int size
>  
> А какая архитектура (процессора) у вас ?
athlon 

-- 
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/01/24 13:30


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] собрать nginx от 2.4
  2007-01-24 10:31       ` Grigory Fateyev
@ 2007-01-24 12:04         ` Grigory Fateyev
  2007-01-24 12:25           ` Grigory Fateyev
  0 siblings, 1 reply; 7+ messages in thread
From: Grigory Fateyev @ 2007-01-24 12:04 UTC (permalink / raw)
  To: community

Hello Grigory Fateyev!
On Wed, 24 Jan 2007 13:31:05 +0300 you wrote:

> Hello Хихин Руслан!
> On Tue, 23 Jan 2007 22:00:20 +0300 you wrote:
> 
> > Здравствуйте Grigory Fateyev
> >   В сообщении от Tuesday 23 January 2007 21:30 Grigory Fateyev 
> > написал(a):
> > 
> >  > ./configure: error: can not detect int size
> >  
> > А какая архитектура (процессора) у вас ?
> athlon 
> 
Архитектура определяется верно:
+ CPU=-mtune=athlon
+ CFLAGS=-pipe -Wall -O2 -march=athlon -mtune=athlon

а сборка не идёт, одни not found

./configure --with-poll_module --conf-path=/etc/nginx/nginx.conf
--sbin-path=/usr/sbin --error-log-path=/var/log/nginx/nginx.error.log
--http-log-path=/var/log/nginx/nginx.log
--http-client-body-temp-path=/var/spool/nginx/tmp/client
--http-proxy-temp-path=/var/spool/nginx/tmp/proxy
--http-fastcgi-temp-path=/var/spool/nginx/tmp/fastcgi
--pid-path=/home/greg/tmp/nginx-buildroot/var/run/nginx.pid
--user=_nginx --group=_nginx --with-http_ssl_module
'--with-cc-opt=-I /usr/include/pcre/' --with-rtsig_module
--with-select_module --with-poll_module --with-http_ssl_module
--with-imap --with-imap_ssl_module --with-md5=YES
--with-http_realip_module --with-http_addition_module
--with-http_dav_module --with-http_flv_module  

вот так сборка проходит безупречно.

-- 
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/01/24 15:01


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] собрать nginx от 2.4
  2007-01-24 12:04         ` Grigory Fateyev
@ 2007-01-24 12:25           ` Grigory Fateyev
  0 siblings, 0 replies; 7+ messages in thread
From: Grigory Fateyev @ 2007-01-24 12:25 UTC (permalink / raw)
  To: community

Hello Grigory Fateyev!
On Wed, 24 Jan 2007 15:04:27 +0300 you wrote:

[...] 
> вот так сборка проходит безупречно.
> 
--- nginx.spec.orig     2007-01-24 15:20:19 +0300
+++ nginx.spec  2007-01-24 15:22:20 +0300
@@ -37,7 +37,8 @@
 %ifarch i686
        CPU="-mtune=pentiumpro" \
 %else # pentium4 athlon
-       CPU="-mtune=%_arch" \
+#      CPU="-mtune=%_arch" \
+    CPU="" \
 %endif
 %ifarch i586
        CPU="" \
@@ -45,7 +46,8 @@
 %ifnarch %ix86
        CPU="" \
 %endif # for x86_64 TODO for amd64/nocona
-CFLAGS="%optflags $CPU" ./configure \
+#CFLAGS="%optflags $CPU" ./configure \
+CFLAGS="$CPU" ./configure \
        --prefix=%buildroot \
        --with-poll_module \
        --conf-path=%buildroot%nginx_etc/nginx.conf \

вот с таким патчем всё собралось.

-- 
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/01/24 15:24


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-24 12:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-23 17:20 [Comm] собрать nginx от 2.4 Grigory Fateyev
2007-01-23 17:35 ` Motsyo Gennadi aka Drool
2007-01-23 18:30   ` Grigory Fateyev
2007-01-23 19:00     ` Хихин Руслан
2007-01-24 10:31       ` Grigory Fateyev
2007-01-24 12:04         ` Grigory Fateyev
2007-01-24 12:25           ` Grigory Fateyev

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git