fcgio.cpp: 50: error: 'EOF' не был объявлен в этой области

Я пытаюсь собрать fastcgi на машине Linux Ubuntu 10.x.

Я запускаю следующие команды:

./ настроить make

, и я получаю следующую ошибку:

fcgio.cpp: In destructor 'virtual fcgi_streambuf::~fcgi_streambuf()':
fcgio.cpp:50: error: 'EOF' was not declared in this scope
fcgio.cpp: In member function 'virtual int fcgi_streambuf::overflow(int)':
fcgio.cpp:70: error: 'EOF' was not declared in this scope
fcgio.cpp:75: error: 'EOF' was not declared in this scope
fcgio.cpp: In member function 'virtual int fcgi_streambuf::sync()':
fcgio.cpp:86: error: 'EOF' was not declared in this scope
fcgio.cpp:87: error: 'EOF' was not declared in this scope
fcgio.cpp: In member function 'virtual int fcgi_streambuf::underflow()':
fcgio.cpp:107: error: 'EOF' was not declared in this scope
make[2]: *** [fcgio.lo] Error 1
make[2]: Leaving directory `/somepath/fcgi-2.4.0/libfcgi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/somepath/fcgi-2.4.0'
make: *** [all] Error 2

Я заметил, что у других была такая же проблема, и они задавали этот вопрос на различных форумах и т. д. - однако я еще не видел ответа на этот вопрос / проблему.

Кому-нибудь удавалось собрать fastcgi на Linux? Как мне решить эту проблему?

24
задан d-_-b 20 January 2012 в 10:51
поделиться