Yes: MacPorts uses curl, not wget. I don't see why wget would be able to connect but curl would not. You can put the manually-downloaded file into /opt/local/var/macports/ distfiles/x264 for now and you should be able to install. This is a workaround, obviously, and we should still figure out why MacPorts couldn't download it itself. On Dec 11, 2007, at 11:21, jzheng@soe.ucsc.edu wrote:
I can wget the snapshot, but not curl. When I curl, I got: curl: (7) couldn't connect to host. Do you know which mechanism is used by port?
It looks like the file is still in the videolan repository as I just pulled it down to test, are you able to wget 'ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264- snapshot-20070411-2245.tar.bz2' or curl 'ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264- snapshot-20070411-2245.tar.bz2' -o x264-snapshot-20070411-2245.tar.bz2
jzheng@soe.ucsc.edu wrote:
I'm having problem installing x264. It seems the process cannot fetch a copy of x264. However I can go to the ftp site and ftp a copy without any problem.
---> Fetching x264 ---> Attempting to fetch x264-snapshot-20070411-2245.tar.bz2 from ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ ---> Attempting to fetch x264-snapshot-20070411-2245.tar.bz2 from http://svn.macports.org/repository/macports/distfiles/x264 ---> Attempting to fetch x264-snapshot-20070411-2245.tar.bz2 from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch x264-snapshot-20070411-2245.tar.bz2 from http://svn.macports.org/repository/macports/downloads/x264 Error: Target org.macports.fetch returned: fetch failed Error: Status 1 encountered during processing.
Has anyone had this problem?