carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.45k stars 3.71k forks source link

when run make PythonAPI and make Libcarla encounter Setup.sh issue: wget: unable to resolve host address ‘ftp.cixug.es’ #5305

Open gengtsh opened 2 years ago

gengtsh commented 2 years ago

recently, when i run make PythonAPI and make LibCarla, i encounter wget issue, Setup.sh: llvm-8.0 already installed. Setup.sh: boost-1.72.0-c8 already installed. Setup.sh: rpclib-v2.2.1_c5-c8 already installed. Setup.sh: gtest-1.8.1-c8 already installed. Setup.sh: recast-0b13b0-c8 already installed. Setup.sh: Libpng already installed. Setup.sh: Retrieving xerces-c. --2022-03-30 18:30:20-- https://ftp.cixug.es/apache//xerces/c/3/sources/xerces-c-3.2.3.tar.gz Resolving ftp.cixug.es (ftp.cixug.es)... failed: Name or service not known. wget: unable to resolve host address ‘ftp.cixug.es’ make: *** [Util/BuildTools/Linux.mk:137: setup] Error 4

it looks like i can not download xerces-c-3.2.3.tar.gz from ftp.cixug.es.

PS my nameserver (in ubuntu20.04 /etc/resolv.conf) 127.0.0.53 and can't open https://ftp.cixug.es in firefox

try to solve it, i change download sit from https://ftp.cixug.es/apache//xerces/c/3/sources to https://downloads.apache.org/xerces/c/3/sources/ , it temporarily solve the problem, but i'm not sure whether this operation is correct or not, can someone help me out? thanks

RehabHsn commented 2 years ago

where have you changed the directory? in which file ?

SandyWare commented 2 years ago

I am also facing the same error. In which file you have changed https://ftp.cixug.es/apache//xerces/c/3/sources to https://downloads.apache.org/xerces/c/3/sources/ ?

Axel1092 commented 2 years ago

Hi @gengtsh, thank you for noticing this issue. Indeed your solution is the right one. We will add this fix to the repository.

Nikhilds2498 commented 2 years ago

@RehabHsn and @Axel1092 Line number 428 in Setup.sh file (carla/Util/BuildTools/Setup.sh)

mertbacaksiz commented 2 years ago

Line number 428 in Setup.sh file XERCESC_VERSION=3.2.3 change to 3.2.4

matejm42 commented 2 years ago

I am also facing the same error. In which file you have changed https://ftp.cixug.es/apache//xerces/c/3/sources to https://downloads.apache.org/xerces/c/3/sources/ ?

Had the same error, just to sum it up: changing the version just lead to another error. What worked for me is to change line 433 in file Util/BuildTools/Setup.sh from

XERCESC_REPO=https://ftp.cixug.es/apache//xerces/c/3/sources/xerces-c-${XERCESC_VERSION}.tar.gz 

to

XERCESC_REPO=https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-${XERCESC_VERSION}.tar.gz
Tauhait commented 2 years ago

I am also facing the same error. In which file you have changed https://ftp.cixug.es/apache//xerces/c/3/sources to https://downloads.apache.org/xerces/c/3/sources/ ?

Had the same error, just to sum it up: changing the version just lead to another error. What worked for me is to change line 433 in file Util/BuildTools/Setup.sh from

XERCESC_REPO=https://ftp.cixug.es/apache//xerces/c/3/sources/xerces-c-${XERCESC_VERSION}.tar.gz 

to

XERCESC_REPO=https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-${XERCESC_VERSION}.tar.gz

Thanks it worked for me.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.