Bug #18918
closedrgw fails to compile with fastcgi support enabled
0%
Description
I see the following error when attempting to compile current master:
-------------
In file included from /home/david/ceph/src/rgw/rgw_request.h:13:0,
from /home/david/ceph/src/rgw/rgw_main.cc:53:
/home/david/ceph/src/rgw/rgw_fcgi.h:8:21: fatal error: fcgiapp.h: No such file or directory
#include <fcgiapp.h>
^
compilation terminated.
src/rgw/CMakeFiles/cephd_rgw_base.dir/build.make:62: recipe for target 'src/rgw/CMakeFiles/cephd_rgw_base.dir/rgw_main.cc.o' failed
-------------
This is despite the fact that fastcgi was detected and located at configure time:
grep FCGI_INCLUDE_DIR build/*
build/CMakeCache.txt:FCGI_INCLUDE_DIR:PATH=/usr/include/fastcgi
build/CMakeCache.txt://ADVANCED property for variable: FCGI_INCLUDE_DIR
build/CMakeCache.txt:FCGI_INCLUDE_DIR-ADVANCED:INTERNAL=1
The problem appears to be FCGI_INCLUDE_DIR isn't used alongside compilation of rgw_main.cc . Patch to follow...
Updated by David Disseldorp about 7 years ago
Fix submitted against master via: https://github.com/ceph/ceph/pull/13393