The package needs _LARGEFILE64_SOURCE to be defined, otherwise the
off64_t type doesn't exist[1]. I suspect this should really be part of
the output of `apxs2 -q CFLAGS`.
Compare the output of apxs (apache-dev) and apxs2 (apache2-threaded-dev):

$ apxs -q CFLAGS
-DLINUX=22 -DEAPI -DTARGET="apache" -DHAVE_SET_DUMPABLE
-DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -O1  -g -Wall
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

$ apxs2 -q CFLAGS
-pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -O2

I will hopefully look into this further after I've had some rest.


-Ted

[1] Large File Support, ยง3:
<http://www.unix.org/version2/whatsnew/lfs20mar.html#3.0>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to