Fetch failed

Igor Mikushkin igor.mikushkin at gmail.com
Wed May 7 01:23:13 PDT 2008


2008/5/7 Bryan Blackburn <blb at macports.org>:

> On May 7, 2008, at 1:10 AM, Igor Mikushkin wrote:
 >
 >
 > > Hello!
 > >
 > > When I try to install something I see
 > >
 > > Error: Target org.macports.fetch returned: fetch failed
 > >
 > > I think the problem is in my proxy settings.
 > > I set http_proxy, FTP_PROXY, HTTPS_PROXY and ALL_PROXY in my
 > > ~/.profile and it does not seems to work.
 > > Maybe I do something wrong?
 > >
 > >
 >
 >  If you're on 10.5, your environment may be cleaned of these when you run
 > sudo; one thing you can do for now is to do a 'port fetch <portname>' then
 > do the 'sudo port install <portname>' so the fetch uses your proxy settings.
 >

 Yes, you are right

    echo 'echo $http_proxy' > test_proxy
    chmod a+x test_proxy
    sudo ./test_proxy

 give nothing.

 I'll try to set the sudo environment, thank you.


 >
 >
 > > Somehow I can download all things I need with my browser.
 > > Then I copy them into
 > > "/opt/local/var/db/dports/distfiles/<portname>/." as described in
 > > http://trac.macports.org/wiki/ProblemHotlist.
 > > And I get nothing...
 > > For example I copied libiconv-1.12.tar.gz into
 > > "/opt/local/var/db/dports/distfiles/libiconv" but "sudo port install
 > > libiconv" still try to fetch it.
 > >
 >
 >  Try /opt/local/var/macports/distfiles/libiconv/ for libiconv instead; that
 > wiki page is out of date, or was until I fixed it.

 This works, thanx.



 >
 >  Bryan
 >
 >
 >
 >
 > >
 > > How do I can make macports use local one?
 > >
 > >
 > > Thanks.
 > >
 > > Best Regards.
 > > Igor Mikushkin
 > >
 >  _______________________________________________
 >  macports-users mailing list
 >  macports-users at lists.macosforge.org
 >  http://lists.macosforge.org/mailman/listinfo/macports-users
 >


More information about the macports-users mailing list