g++ ext/common/LoggingAgent/Main.cpp -o agents/PassengerLoggingAgent -Iext -Iext/common -I/usr/include/libev -D_REENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" -DHASH_FUN_H="<hash_fun.h>" -DHAS_SFENCE -DHAS_LFENCE -Wall -O2 -march=prescott -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -fno-strict-aliasing ext/common/libpassenger_common.a ext/common/libboost_oxt.a -lev -lz -lpthread -rdynamic -Wl,-O1 -Wl,--as-needed In file included from ext/common/LoggingAgent/LoggingServer.h:46, from ext/common/LoggingAgent/Main.cpp:43: ext/common/LoggingAgent/RemoteSender.h:31:23: error: curl/curl.h: No such file or directory In file included from ext/common/LoggingAgent/LoggingServer.h:46, from ext/common/LoggingAgent/Main.cpp:43: ext/common/LoggingAgent/RemoteSender.h:76: error: ISO C++ forbids declaration of 'CURL' with no type ext/common/LoggingAgent/RemoteSender.h:76: error: expected ';' before '*' token ext/common/LoggingAgent/RemoteSender.h:78: error: 'CURL_ERROR_SIZE' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h: In member function 'void Passenger::RemoteSender::Server::resetConnection()': ext/common/LoggingAgent/RemoteSender.h:86: error: 'curl' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:90: error: 'curl_easy_cleanup' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:94: error: 'curl' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:95: error: 'curl_easy_init' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:100: error: 'curl' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:100: error: 'CURLOPT_NOSIGNAL' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:100: error: 'curl_easy_setopt' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:101: error: 'CURLOPT_TIMEOUT' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:102: error: 'CURLOPT_ERRORBUFFER' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:102: error: 'lastErrorMessage' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:103: error: 'CURLOPT_HTTPHEADER' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:104: error: 'CURLOPT_WRITEFUNCTION' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:105: error: 'CURLOPT_WRITEDATA' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:107: error: 'CURLOPT_SSL_VERIFYPEER' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:109: error: 'CURLOPT_SSL_VERIFYPEER' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:110: error: 'CURLOPT_CAINFO' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:116: error: 'CURLOPT_SSL_VERIFYHOST' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h: In member function 'void Passenger::RemoteSender::Server::prepareRequest(const std::string&)': ext/common/LoggingAgent/RemoteSender.h:121: error: 'curl' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:121: error: 'CURLOPT_URL' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:121: error: 'curl_easy_setopt' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h: In constructor 'Passenger::RemoteSender::Server::Server(const std::string&, const std::string&, short unsigned int, const std::string&)': ext/common/LoggingAgent/RemoteSender.h:139: error: 'curl_slist_append' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:151: error: 'curl' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h: In destructor 'Passenger::RemoteSender::Server::~Server()': ext/common/LoggingAgent/RemoteSender.h:156: error: 'curl' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:157: error: 'curl_easy_cleanup' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:159: error: 'curl_slist_free_all' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h: In member function 'bool Passenger::RemoteSender::Server::ping()': ext/common/LoggingAgent/RemoteSender.h:167: error: 'curl' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:167: error: 'CURLOPT_HTTPGET' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:167: error: 'curl_easy_setopt' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:168: error: 'curl_easy_perform' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h: In member function 'bool Passenger::RemoteSender::Server::send(const Passenger::RemoteSender::Item&)': ext/common/LoggingAgent/RemoteSender.h:193: error: 'CURLFORM_PTRNAME' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:194: error: 'CURLFORM_PTRCONTENTS' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:195: error: 'CURLFORM_CONTENTSLENGTH' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:196: error: 'CURLFORM_END' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:196: error: 'curl_formadd' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:226: error: 'curl' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:226: error: 'CURLOPT_HTTPGET' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:226: error: 'curl_easy_setopt' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:227: error: 'CURLOPT_HTTPPOST' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:228: error: 'CURLcode' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:228: error: expected ';' before 'code' ext/common/LoggingAgent/RemoteSender.h:229: error: 'curl_formfree' was not declared in this scope ext/common/LoggingAgent/RemoteSender.h:231: error: 'code' was not declared in this scope ext/common/LoggingAgent/Main.cpp: In function 'int main(int, char**)': ext/common/LoggingAgent/Main.cpp:167: error: 'CURL_GLOBAL_ALL' was not declared in this scope ext/common/LoggingAgent/Main.cpp:167: error: 'curl_global_init' was not declared in this scope rake aborted! Command failed with status (1): [g++ ext/common/LoggingAgent/Main.cpp -o ag...] (See full trace by running task with --trace) * ERROR: www-apache/passenger-3.0.7 failed (compile phase): * rake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2995: Called ruby-ng_src_compile * environment, line 2767: Called _ruby_each_implementation 'each_ruby_compile' * environment, line 358: Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile' * environment, line 387: Called each_ruby_compile * environment, line 903: Called die * The specific snippet of code: * APXS2="${APXS}" HTTPD="${APACHE_BIN}" USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" rake apache2 native_support || die "rake failed"; * * If you need support, post the output of 'emerge --info =www-apache/passenger-3.0.7', * the complete build log and the output of 'emerge -pqv =www-apache/passenger-3.0.7'. * The complete build log is located at '/var/tmp/portage/www-apache/passenger-3.0.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apache/passenger-3.0.7/temp/environment'. * S: '/var/tmp/portage/www-apache/passenger-3.0.7/work/ruby18/passenger-3.0.7'
I've added this dependency to passenger-3.0.7. Thanks for the report.