[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt 0.7.8 is not compiling



apt 0.7.8 is not compiling after successfull(!) Makefile generation:
apt was downloaded from: http://packages.debian.org/sid/i386/apt

Compiling https.cc to /mnt/hdb/data/andreas/apt-0.7.8/obj/methods/https.o
In file included from https.cc:31:
https.h:17:23: error: curl/curl.h: No such file or directory
In file included from https.cc:31:
https.h:33: error: ISO C++ forbids declaration of 'CURL' with no type
https.h:33: error: expected ';' before '*' token
https.h: In constructor 'HttpsMethod::HttpsMethod()':
https.h:42: error: 'curl' was not declared in this scope
https.h:42: error: 'curl_easy_init' was not declared in this scope
https.cc: In member function 'void HttpsMethod::SetupProxy()':
https.cc:94: error: 'curl' was not declared in this scope
https.cc:94: error: 'CURLOPT_PROXYPORT' was not declared in this scope
https.cc:94: error: 'curl_easy_setopt' was not declared in this scope
https.cc:95: error: 'curl' was not declared in this scope
https.cc:95: error: 'CURLOPT_PROXY' was not declared in this scope
https.cc:95: error: 'curl_easy_setopt' was not declared in this scope
https.cc: In member function 'virtual bool 
HttpsMethod::Fetch(pkgAcqMethod::FetchItem*)':
https.cc:109: error: 'CURL_ERROR_SIZE' was not declared in this scope
https.cc:118: error: 'curl' was not declared in this scope
https.cc:118: error: 'curl_easy_reset' was not declared in this scope
https.cc:122: error: 'CURLOPT_URL' was not declared in this scope
https.cc:122: error: 'curl_easy_setopt' was not declared in this scope
https.cc:123: error: 'CURLOPT_WRITEFUNCTION' was not declared in this scope
https.cc:124: error: 'CURLOPT_WRITEDATA' was not declared in this scope
https.cc:125: error: 'CURLOPT_PROGRESSFUNCTION' was not declared in this scope
https.cc:126: error: 'CURLOPT_PROGRESSDATA' was not declared in this scope
https.cc:127: error: 'CURLOPT_NOPROGRESS' was not declared in this scope
https.cc:128: error: 'CURLOPT_FAILONERROR' was not declared in this scope
https.cc:129: error: 'CURLOPT_FILETIME' was not declared in this scope
https.cc:133: error: 'CURLOPT_SSL_VERIFYPEER' was not declared in this scope
https.cc:138: error: 'CURLOPT_SSLCERT' was not declared in this scope
https.cc:143: error: 'CURLOPT_CAPATH' was not declared in this scope
https.cc:147: error: 'CURLOPT_SSL_VERIFYHOST' was not declared in this scope
https.cc:154: error: 'curl_slist_append' was not declared in this scope
https.cc:156: error: 'curl_slist_append' was not declared in this scope
https.cc:159: error: 'curl_slist_append' was not declared in this scope
https.cc:162: error: 'CURLOPT_HTTPHEADER' was not declared in this scope
https.cc:167: error: 'CURLOPT_MAX_RECV_SPEED_LARGE' was not declared in this 
scope
https.cc:170: error: 'CURLOPT_USERAGENT' was not declared in this scope
https.cc:174: error: 'CURLOPT_VERBOSE' was not declared in this scope
https.cc:177: error: 'CURLOPT_ERRORBUFFER' was not declared in this scope
https.cc:177: error: 'curl_errorstr' was not declared in this scope
https.cc:186: error: 'curl_slist_append' was not declared in this scope
https.cc:190: error: 'CURLOPT_TIMECONDITION' was not declared in this scope
https.cc:190: error: 'CURL_TIMECOND_IFMODSINCE' was not declared in this scope
https.cc:191: error: 'CURLOPT_TIMEVALUE' was not declared in this scope
https.cc:203: error: 'CURLcode' was not declared in this scope
https.cc:203: error: expected `;' before 'success'
https.cc:204: error: 'CURLINFO_RESPONSE_CODE' was not declared in this scope
https.cc:204: error: 'curl_easy_getinfo' was not declared in this scope
https.cc:207: error: 'CURLINFO_FILETIME' was not declared in this scope
https.cc:210: error: 'success' was not declared in this scope
https.cc:258: error: 'curl_slist_free_all' was not declared in this scope
https.cc: In function 'int main()':
https.cc:268: error: 'CURL_GLOBAL_SSL' was not declared in this scope
https.cc:268: error: 'curl_global_init' was not declared in this scope
make[2]: *** [/mnt/hdb/data/andreas/apt-0.7.8/obj/methods/https.o] Fehler 1
make[1]: *** [all] Fehler 2
make: *** [all] Fehler 2

best regards
andreas

-- 
"Lachen sie nicht", ruft Schellnhuber vergnügt. "Das ist das Ende der Welt."
(H.J.Schellnhuber, Direktor des Potsdam-Instituts fuer Klimaforschung)



Reply to: