Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2011 09:18:09 +0100
From:      Martin Matuska <mm@FreeBSD.org>
To:        Chris Brennan <xaero@xaerolimit.net>
Cc:        ports@freebsd.org, vsevolod@FreeBSD.org, Sahil Tandon <sahil+freebsd-ports@tandon.net>
Subject:   Re: www/lighttpd failes to build
Message-ID:  <4EEEF341.2090505@FreeBSD.org>
In-Reply-To: <CANLX3yjPg2CN2sNnFqx5zKnyqJoEzoThP8m=Lf9uM-pO8SsSyw@mail.gmail.com>
References:  <CANLX3yjPg2CN2sNnFqx5zKnyqJoEzoThP8m=Lf9uM-pO8SsSyw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11.12.2011 21:06, Chris Brennan wrote:
> I tried to install lighttpd today and I ran into a snag of sorts. It
> won't build.
> Relevant stuff below:
>
> The host is FreeBSD9 on a NQHost VPS
>
> FreeBSD abc.xaerolimit.net <http://abc.xaerolimit.net>; 9.0-PRERELEASE
> FreeBSD 9.0-PRERELEASE #0 r228404: Sun Dec 11 07:38:46 MST 2011    
> root@abc.xaerolimit.net:/usr/obj/usr/src/sys/ABC.KernConf  i386
>
> CPU: Intel(R) Xeon(R) CPU           X3440  @ 2.53GHz (2533.39-MHz
> 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x106e5  Family = 6  Model = 1e
>  Stepping = 5
>  
> Features=0x1781fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX,FXSR,SSE,SSE2,HTT>
>   Features2=0x80982201<SSE3,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,HV>
>   AMD Features=0x20100000<NX,LM>
>   AMD Features2=0x1<LAHF>
> real memory  = 1610612736 (1536 MB)
> avail memory = 1554743296 (1482 MB)
> Event timer "LAPIC" quality 400
> ACPI APIC Table: <Xen HVM>
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> FreeBSD/SMP: 1 package(s) x 2 core(s)
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  2
>
> lighttpd stuff: 
>
> Plugins: 
>  enabled: 
>   mod_access, mod_accesslog, mod_alias, mod_auth, mod_cgi, mod_cml,
>   mod_compress, mod_dirlisting, mod_evhost, mod_expire, mod_extforward,
>  
> mod_fastcgi, mod_flv_streaming, mod_indexfile, mod_magnet, mod_mysql_vhost,
>  
> mod_proxy, mod_redirect, mod_rewrite, mod_rrdtool, mod_scgi, mod_secdownload
>   mod_setenv, mod_simple_vhost, mod_ssi, mod_staticfile, mod_status, 
>   mod_trigger_b4_dl, mod_userdir, mod_usertrack, mod_webdav
>  disabled:
>
> Features: 
>  enabled:
>  
> auth-crypt, compress-bzip2, compress-deflate, compress-gzip, large-files,
>  
> network-ipv6, network-openssl, regex-conditionals, stat-cache-fam, , storage-gdbm,
>   storage-memcache, webdav-locks, webdav-properties
>  disabled:
>   auth-ldap
>
> ===>  Building for lighttpd-1.4.29_2
> (CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/local/bin/autoheader-2.68)
> rm -f stamp-h1
> touch ./config.h.in <http://config.h.in>;
> cd . && /bin/sh ./config.status config.h
> config.status: creating config.h
> config.status: config.h is unchanged
> make  all-recursive
> Making all in src
> cc -DHAVE_CONFIG_H -DHAVE_VERSION_H
> -DLIBRARY_DIR="\"/usr/local/lib/lighttpd\""
> -DSBIN_DIR="\"/usr/local/sbin\"" -I. -I..    -D_REENTRANT
> -D__EXTENSIONS__ -I/usr/include -DOPENSSL_NO_KRB5 -I/usr/local/include
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES
> -I/usr/local/include -O2 -pipe -I/usr/local/include
> -fno-strict-aliasing -Wall -W -Wshadow -pedantic -MT lemon.o -MD -MP
> -MF .deps/lemon.Tpo -c -o lemon.o lemon.c
> mv -f .deps/lemon.Tpo .deps/lemon.Po
> /bin/sh ../libtool  --tag=CC    --mode=link cc -I/usr/local/include
> -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Wall -W -Wshadow
> -pedantic   -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/lib
> -o lemon lemon.o
> libtool: link: cc -I/usr/local/include -O2 -pipe -I/usr/local/include
> -fno-strict-aliasing -Wall -W -Wshadow -pedantic
> -rpath=/usr/lib:/usr/local/lib -o lemon lemon.o  -L/usr/local/lib
> -L/usr/lib
> rm -f configparser.h
> ../src/lemon -q ./configparser.y ./lempar.c
> rm -f mod_ssi_exprparser.h
> ../src/lemon -q ./mod_ssi_exprparser.y ./lempar.c
> make  all-am
> /bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H
> -DHAVE_VERSION_H -DLIBRARY_DIR="\"/usr/local/lib/lighttpd\""
> -DSBIN_DIR="\"/usr/local/sbin\""  -I. -I..   -D_REENTRANT
> -D__EXTENSIONS__ -I/usr/include -DOPENSSL_NO_KRB5 -I/usr/local/include
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES
>  -I/usr/local/include -O2 -pipe -I/usr/local/include
> -fno-strict-aliasing -Wall -W -Wshadow -pedantic -MT
> mod_flv_streaming.lo -MD -MP -MF .deps/mod_flv_streaming.Tpo -c -o
> mod_flv_streaming.lo mod_flv_streaming.c
> libtool: compile:  cc -DHAVE_CONFIG_H -DHAVE_VERSION_H
> -DLIBRARY_DIR=\"/usr/local/lib/lighttpd\"
> -DSBIN_DIR=\"/usr/local/sbin\" -I. -I.. -D_REENTRANT -D__EXTENSIONS__
> -I/usr/include -DOPENSSL_NO_KRB5 -I/usr/local/include
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES
> -I/usr/local/include -O2 -pipe -I/usr/local/include
> -fno-strict-aliasing -Wall -W -Wshadow -pedantic -MT
> mod_flv_streaming.lo -MD -MP -MF .deps/mod_flv_streaming.Tpo -c
> mod_flv_streaming.c  -fPIC -DPIC -o .libs/mod_flv_streaming.o
> In file included from fdevent.h:64,
>                  from base.h:27,
>                  from mod_flv_streaming.c:1:
> /usr/local/include/ev.h:200: warning: ISO C restricts enumerator
> values to range of 'int'
> /usr/local/include/ev.h:222: error: expected identifier before numeric
> constant
> *** Error code 1
>
> Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.29/src.
> *** Error code 1
>
> Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.29/src.
> *** Error code 1
>
> Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.29.
> *** Error code 1
>
> Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.29.
> *** Error code 1
>
> Stop in /usr/ports/www/lighttpd.
> *** Error code 1
>
> Stop in /usr/ports/www/lighttpd.
>
> real    0m19.999s
> user    0m11.980s
> sys     0m7.193s
> [root@abc /usr/ports/www/lighttpd]#
>
> When I asked about this on freenode, I was instructed to e-mail ports
> and the maintainer, so I am.
Build with libev fixed together with update to 1.4.30.

If you are using SSL, please make sure to set the following in your
configuration file to prevent the BEAST attack:

ssl.disable-client-renegotiation = "enable"
ssl.honor-cipher-order = "enable"
ssl.cipher-list =
"ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM"

-- 
Martin Matuska
FreeBSD committer
http://blog.vx.sk




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EEEF341.2090505>