Project

General

Profile

Actions

Bug #18918

closed

rgw fails to compile with fastcgi support enabled

Added by David Disseldorp about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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...

Actions #1

Updated by David Disseldorp about 7 years ago

Fix submitted against master via: https://github.com/ceph/ceph/pull/13393

Actions #2

Updated by Kefu Chai about 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF