www/lighttpd failes to build

Chris Brennan xaero at xaerolimit.net
Sun Dec 11 20:33:14 UTC 2011


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 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0
r228404: Sun Dec 11 07:38:46 MST 2011
root at 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
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 at 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.

> --
> Chris Brennan
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------


More information about the freebsd-ports mailing list