Project

General

Profile

Bug #18918

rgw fails to compile with fastcgi support enabled

Added by David Disseldorp 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
02/13/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

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

History

#1 Updated by David Disseldorp 3 months ago

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

#2 Updated by Kefu Chai 3 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF