ПРОЕКТЫ 


  АРХИВ 


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]

compilation bug mod_realip


  • To: nginx-ru@xxxxxxxxx
  • Subject: compilation bug mod_realip
  • From: Goncharov Yuri <neo@xxxxxxxxxx>
  • Date: Tue, 25 Nov 2008 16:13:31 +0200
  • Organization: -=KNtelecom Ukraine Ltd-=

Привет всем

Подскажите что может быть, ума не приложу

===>  Vulnerability check disabled, database not found
=> mod_realip-2.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://sysoev.ru/mod_realip/.
mod_realip-2.0.tar.gz                         100% of 3486  B   38 kBps
===>  Extracting for mod_realip-2.0
=> MD5 Checksum OK for mod_realip-2.0.tar.gz.
=> SHA256 Checksum OK for mod_realip-2.0.tar.gz.
===>  Patching for mod_realip-2.0
===>   mod_realip-2.0 depends on file: /usr/local/sbin/apxs - found
===>  Configuring for mod_realip-2.0
===>  Building for mod_realip-2.0
/usr/local/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -fno-strict-aliasing -pipe -I/usr/include -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include -c -o /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.lo /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c && touch /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.slo /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:49: error: syntax error before "array_header" /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c: In function `set_real_remote_ip': /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:63: error: structure has no member named `hosts' /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:65: error: structure has no member named `hosts' /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:66: error: request for member `sin_addr' in something not a structure or union /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:68: error: structure has no member named `hosts' /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:81: warning: assignment makes pointer from integer without a cast /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:101: error: request for member `sin_addr' in something not a structure or union /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c: In function `realip_postread': /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:117: error: structure has no member named `hosts'

......

/usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:223: warning: (near initialization for `realip_module') /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:224: warning: excess elements in struct initializer /usr/ports/www/mod_realip/work/mod_realip-2.0/mod_realip.c:224: warning: (near initialization for `realip_module')
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop in /usr/ports/www/mod_realip.


-------------


uname -r
6.2-RELEASE

Спасибо

--
Best regards

Phone +380 44 496 88 17
Mobile +380 67 509 05 79
CTO KNtelecom Ukraine Ltd.
----------------------------
NEO83-RIPE




 




Copyright © Lexa Software, 1996-2009.