> > Hi Xi Ruoyao, > > Thankyou so much for helping me. I was struggling from yesterday now i was > able to get the script download_prerequisite running. Hugs and kisses from > India. > > For those who face same issue (behind proxy on linux) > > i did what Xi told me but behind proxy i have to set .wgetrc file in my > home dir so that it can authenticate the proxy so just do this > > $ nano .wgetrc > write these into this empty file > > http_password = your proxy password > http_proxy = proxy address xxx@xxxxxxxx > http_user = proxy username > proxy_user = proxy user name > proxy_password = proxy password > use_proxy = on > verbose = on > save it > > then cd .../gcc-version and > run http_proxy=http://username@proxyaddress ./contrib/download_ > prerequisites > > hopefully you will get this > 2018-05-21 14:49:14 URL: > http://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 > [2383840/2383840] -> "./gmp-6.1.0.tar.bz2" [1] > 2018-05-21 14:49:21 URL: > http://gcc.gnu.org/pub/gcc/infrastructure/mpfr-3.1.4.tar.bz2 > [1279284/1279284] -> "./mpfr-3.1.4.tar.bz2" [1] > 2018-05-21 14:49:25 URL: > http://gcc.gnu.org/pub/gcc/infrastructure/mpc-1.0.3.tar.gz [669925/669925] > -> "./mpc-1.0.3.tar.gz" [1] > 2018-05-21 14:49:33 URL: > http://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2 > [1658291/1658291] -> "./isl-0.18.tar.bz2" [1] > gmp-6.1.0.tar.bz2: OK > mpfr-3.1.4.tar.bz2: OK > mpc-1.0.3.tar.gz: OK > isl-0.18.tar.bz2: OK > All prerequisites downloaded successfully >