Hello, 

I try to download a library with ExternalProject_Add. 
The URL is correct and the CMake script works well, except when there is a 
proxy to define. 

The URL is : http://bitbucket.org/eigen/eigen/get/3.2.4.tar.gz 

After having set 

http_proxy=http://proxy.name.fr:1234 
https_proxy=https://proxy.name.fr:1234 

I can download the archive with: wget 
http://bitbucket.org/eigen/eigen/get/3.2.4.tar.gz 


But when I type 'make' to use the ExternalProject_Add command, I get (after 
some minutes): 
=========================================================================== 
[ 44%] Performing download step (download, verify and extract) for 'eigen' 
-- downloading... 
src='http://bitbucket.org/eigen/eigen/get/3.2.4.tar.gz' 
dst='/home/cdoucet/Documents/soutien/matherials/simol/build/third-party/eigen/download/3.2.4.tar.gz'
 
timeout='none' 
CMake Error at stamp/download-eigen.cmake:19 (message): 
error: downloading 'http://bitbucket.org/eigen/eigen/get/3.2.4.tar.gz' 
failed 

status_code: 7 
status_string: "Couldn't connect to server" 
log: About to connect() to bitbucket.org port 80 (#0) 
Trying 131.103.20.167... Connection timed out 
Trying 131.103.20.168... Connection timed out 

couldn't connect to host 

Closing connection #0 

Couldn't connect to server 
=========================================================================== 

Do you know how to solve this problem? 

Thank you very much! 

Cédric Doucet 

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to