Hi all, 

I got a problem with 

  databases/redis

on my FreeBSD 8.4. The build failed. On FreeBSD 10 everything is fine

Here the message I've got with lang/lua option

MAKE hiredis
cd hiredis && gmake static
gmake[3]: Entering directory 
`/usr/ports/databases/redis/work/redis-2.8.14/deps/hiredis'
cc -std=c99 -pedantic -c  -fPIC -O2 -pipe -fPIC -I/usr/local/include 
-fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wwrite-strings  net.c
net.c: In function 'redisKeepAlive':
net.c:143: error: 'TCP_KEEPIDLE' undeclared (first use in this function)
net.c:143: error: (Each undeclared identifier is reported only once
net.c:143: error: for each function it appears in.)
net.c:150: error: 'TCP_KEEPINTVL' undeclared (first use in this function)
net.c:156: error: 'TCP_KEEPCNT' undeclared (first use in this function)
gmake[3]: *** [net.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/databases/redis/work/redis-2.8.14/deps/hiredis'
gmake[2]: *** [hiredis] Error 2
gmake[2]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/deps'
gmake[1]: [persist-settings] Error 2 (ignored)
cc -std=c99 -pedantic -Wall -W -O2  -O2 -pipe -fPIC -I/usr/local/include 
-fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src 
-I/usr/local/include/lua51 -c adlist.c
....
....
cc -std=c99 -pedantic -Wall -W -O2  -O2 -pipe -fPIC -I/usr/local/include 
-fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src 
-I/usr/local/include/lua51 -c strbuf.c
cc  -Wl,-E -L/usr/local/lib -pthread -lm -lexecinfo -o redis-server adlist.o 
ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o 
sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o 
rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o 
multi.o debug.o sort.o intset.o syncio.o migrate.o endianconv.o slowlog.o 
scripting.o bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o 
setproctitle.o hyperloglog.o latency.o sparkline.o lua_cjson.o lua_cmsgpack.o 
lua_struct.o strbuf.o ../deps/hiredis/libhiredis.a -lm -L/usr/local/lib 
-llua-5.1
cc: ../deps/hiredis/libhiredis.a: No such file or directory
gmake[1]: *** [redis-server] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/src'
gmake: *** [all] Error 2
*** Error code 1


and without lang/lua option 

MAKE hiredis
cd hiredis && gmake static
gmake[3]: Entering directory 
`/usr/ports/databases/redis/work/redis-2.8.14/deps/hiredis'
cc -std=c99 -pedantic -c  -fPIC -O2 -pipe -I/usr/local/include 
-fno-strict-aliasing -Wall -W -Wstrict-prototypes -Wwrite-strings  net.c
net.c: In function 'redisKeepAlive':
net.c:143: error: 'TCP_KEEPIDLE' undeclared (first use in this function)
net.c:143: error: (Each undeclared identifier is reported only once
net.c:143: error: for each function it appears in.)
net.c:150: error: 'TCP_KEEPINTVL' undeclared (first use in this function)
net.c:156: error: 'TCP_KEEPCNT' undeclared (first use in this function)
gmake[3]: *** [net.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/databases/redis/work/redis-2.8.14/deps/hiredis'
gmake[2]: *** [hiredis] Error 2
gmake[2]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/deps'
gmake[1]: [persist-settings] Error 2 (ignored)
cc -std=c99 -pedantic -Wall -W -O2  -O2 -pipe -I/usr/local/include 
-fno-strict-aliasing  -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src 
-c adlist.c
...
...
cc -std=c99 -pedantic -Wall -W -O2  -O2 -pipe -I/usr/local/include 
-fno-strict-aliasing  -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src 
-c sparkline.c
cc  -L/usr/local/lib -pthread -lm -lexecinfo -o redis-server adlist.o ae.o 
anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o 
ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o 
t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o 
debug.o sort.o intset.o syncio.o migrate.o endianconv.o slowlog.o scripting.o 
bio.o rio.o rand.o memtest.o crc64.o bitops.o sentinel.o notify.o 
setproctitle.o hyperloglog.o latency.o sparkline.o ../deps/hiredis/libhiredis.a 
../deps/lua/src/liblua.a -lm
cc: ../deps/hiredis/libhiredis.a: No such file or directory
cc: ../deps/lua/src/liblua.a: No such file or directory
gmake[1]: *** [redis-server] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/redis/work/redis-2.8.14/src'
gmake: *** [all] Error 2
*** Error code 1

Anyone get this before I fill a bug report ? 

Regards.



-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: [email protected]
Heure local/Local time:
jeu 11 sep 2014 11:54:36 CEST
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to