我需要c11支持,但我似乎无法从自制软件安装gcc48:
$ brew install gcc48
==> Downloading ftp://gcc.gnu.org/pub/gcc/snapshots/4.8.0-RC-20130316/gcc-4.8.0-RC-20130316.tar.bz2
curl: (9) Server denied you to change to the given directory
Error: Download failed: ftp://gcc.gnu.org/pub/gcc/snapshots/4.8.0-RC-20130316/gcc-4.8.0-RC-20130316.tar.bz2
答案 0 :(得分:1)
似乎curl
没有给出正确的错误,从而误导你认为这是某种身份验证问题。
真正的问题是ftp服务器上不存在指定的目录。也许这是一个自制问题。
$ wget ftp://gcc.gnu.org/pub/gcc/snapshots/4.8.0-RC-20130316/gcc-4.8.0-RC-20130316.tar.bz2
--2013-07-19 15:16:06-- ftp://gcc.gnu.org/pub/gcc/snapshots/4.8.0-RC-20130316/gcc-4.8.0-RC-20130316.tar.bz2
=> `gcc-4.8.0-RC-20130316.tar.bz2'
Resolving gcc.gnu.org (gcc.gnu.org)... 209.132.180.131
Connecting to gcc.gnu.org (gcc.gnu.org)|209.132.180.131|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/gcc/snapshots/4.8.0-RC-20130316 ...
No such directory `pub/gcc/snapshots/4.8.0-RC-20130316'.