ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Собрать RPM. nginx rpmbuild, error with client_temp


  • To: nginx-ru@xxxxxxxxx
  • Subject: Собрать RPM. nginx rpmbuild, error with client_temp
  • From: Oleg Ilyin <on.ilyin@xxxxxxxxx>
  • Date: Sat, 15 Jun 2013 10:15:51 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=E/EzN40e7SbW88DxpcMEKk/VhOnGmdCgaH6w4OleK9U=; b=1CaRk299HFuaQEuT29AjhL2Um4pcRWrtBG6DHMqbokSwnEQNTsGE9QlDpG9kjkqwCz o/DTRL8U3flr/n2qMs/TtlBIufZk/dq3DRvEdB/37iWhl+/UvVJiDngAmyOxLd2GPhd5 eWeNbaV7sds7YPgbWVRdtmvHJZN0sCyL7eWY9EuOa5NL2TJhaaWUXJkJ1gdDlhUooLYz g8PWxSQ/Tz6dgEFZ1OZAFbqaiK0IRVeLHyyCSM2c+fTGBLZq6jb+8qndPcZIK9J6Df3a bBzXyREfxxWWxqDrDUWUwR9hbWbzz7hZ/pQmzF9gDjFdCVBYh0OJEF7l/s9xiUX7t74b WAGA==

Подскажите пожалуйста, в чём я ошибаюсь.


установил.

 добавил в SPEC пока только +1 модуль, пытаюсь собрать 

rpmbuild -bb   spec.file

 ругается


xecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.s9NxWH + umask 022 + cd /root/rpmbuild/BUILD + cd /root/rpmbuild/BUILD + rm -rf nginx-1.4.1 + /bin/tar -xf - + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/nginx-1.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nginx-1.4.1 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4YzFE9 + umask 022 + cd /root/rpmbuild/BUILD + cd nginx-1.4.1 + ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --add-module=/root/rpmbuild/MODULES/nginx-rtmp-module checking for OS + Linux 2.6.32-358.el6.x86_64 x86_64 checking for C compiler ... found + using GNU C compiler + gcc version: 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) .... тут проверяет зависимости установленные , кроп .. .... Configuration summary + using system PCRE library + using system OpenSSL library + md5: using OpenSSL library + sha1: using OpenSSL library + using system zlib library

nginx path prefix: «/etc/nginx» nginx binary file: «/usr/sbin/nginx» nginx configuration prefix: «/etc/nginx» nginx configuration file: «/etc/nginx/nginx.conf» nginx pid file: «/var/run/nginx.pid» nginx error log file: «/var/log/nginx/error.log» nginx http access log file: «/var/log/nginx/access.log» nginx http client request body temporary files: «client_body_temp» nginx http proxy temporary files: «proxy_temp» nginx http fastcgi temporary files: «fastcgi_temp» nginx http uwsgi temporary files: «uwsgi_temp» nginx http scgi temporary files: «scgi_temp»

++ pcre-config --cflags + --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-debug '--with-cc-opt=-O2 -g ' /var/tmp/rpm-tmp.4YzFE9: line 38: --http-client-body-temp-path=/var/cache/nginx/client_temp: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.4YzFE9 (%build)

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4YzFE9 (%build)




в системе такого каталога не было, добавил такой и файл и каталог, дал права 777, всё равно такая же ошибка, если закоментить этот пункт -http-client-body-temp-path=/var/cache/nginx/client_temp то ругается на следующем : --http-proxy-temp-path=%{_localstatedir}/cache/nginx/proxy_temp \
и так далее.


пробовал переопределить _localstatedir через макросы в .rpmmacros , у каталога который используется для rpmbuild. не помогло.

Как собрать rpm у nginx? как побороть описанную ошибку?


/var/tmp/rpm-tmp.g9Ofz0: line 38: --http-client-body-temp-path=/var/cache/nginx/client_temp: No such file or directory error: Bad exit status
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.