Re: fetching sources from sourceforge takes very long time
Alexander, do you also experience slow downloads, when you download from Source Forge using a normal browser (Chrome, Firefox or whatnot)? Eg. this 50MB file: http://sourceforge.net/projects/tuxpaint/files/tuxpaint/0.9.21/tuxpaint_0.9.21-1maemo8_i386.deb/download (It's just a random largish file that I came accross.) Regards, Alexander On Tue, May 10, 2011 at 23:14, Alexander Ulitin m...@liworks.ru wrote: Hello! Need your help. I need to install some ports(ex.tomcat6), that are dependent on a number of other ports (ex. junit, mx4j). Ping results in port -d for citylan.dl.sourceforge.net is the smallest - 20ms, so macports downloads sourcefile from that server and fetching takes a lot of time, speed is near 0, sometimes it is raised to 1000, but then it becomes 0 and I cant install apps from ports. 1.5MB archive is downloading for hours and if I try to download file using the browser from sourceforge it takes less than a second (stable 15mbit/s channel). And sometimes it works just fine (20 minutes of waiting 0% and then 20 ports are installed successfully within a minute and again waiting 0%(or other value ex. 58%) with sourceforge). What's the reason of such behaviour of macports and sourceforge? How can I force it to work? I've tried to locally bind citylan.dl host to nonexistent address, but the problem repeats with other sourceforge server. Thanks in advance. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Alexander -- ↯ Lifestream (Twitter, Blog, …) ↣ http://sup.skwar.me/ ↯ ↯ Chat (Jabber/Google Talk) ↣ a...@skwar.me ; Twitter: @alexs77http://twitter.com/alexs77 ↯ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: fetching sources from sourceforge takes very long time
Alexander, no any problems downloading from browser. 50MB file - 1 minute. 2011/5/11 Alexander Skwar alexanders.mailinglists+nos...@gmail.com: Alexander, do you also experience slow downloads, when you download from Source Forge using a normal browser (Chrome, Firefox or whatnot)? Eg. this 50MB file: http://sourceforge.net/projects/tuxpaint/files/tuxpaint/0.9.21/tuxpaint_0.9.21-1maemo8_i386.deb/download (It's just a random largish file that I came accross.) Regards, Alexander On Tue, May 10, 2011 at 23:14, Alexander Ulitin m...@liworks.ru wrote: Hello! Need your help. I need to install some ports(ex.tomcat6), that are dependent on a number of other ports (ex. junit, mx4j). Ping results in port -d for citylan.dl.sourceforge.net is the smallest - 20ms, so macports downloads sourcefile from that server and fetching takes a lot of time, speed is near 0, sometimes it is raised to 1000, but then it becomes 0 and I cant install apps from ports. 1.5MB archive is downloading for hours and if I try to download file using the browser from sourceforge it takes less than a second (stable 15mbit/s channel). And sometimes it works just fine (20 minutes of waiting 0% and then 20 ports are installed successfully within a minute and again waiting 0%(or other value ex. 58%) with sourceforge). What's the reason of such behaviour of macports and sourceforge? How can I force it to work? I've tried to locally bind citylan.dl host to nonexistent address, but the problem repeats with other sourceforge server. Thanks in advance. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Alexander -- ↯ Lifestream (Twitter, Blog, …) ↣ http://sup.skwar.me/ ↯ ↯ Chat (Jabber/Google Talk) ↣ a...@skwar.me ; Twitter: @alexs77 ↯ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: fetching sources from sourceforge takes very long time
On May 10, 2011, at 16:14, Alexander Ulitin wrote: I need to install some ports(ex.tomcat6), that are dependent on a number of other ports (ex. junit, mx4j). Ping results in port -d for citylan.dl.sourceforge.net is the smallest - 20ms, so macports downloads sourcefile from that server and fetching takes a lot of time, speed is near 0, sometimes it is raised to 1000, but then it becomes 0 and I cant install apps from ports. 1.5MB archive is downloading for hours and if I try to download file using the browser from sourceforge it takes less than a second (stable 15mbit/s channel). And sometimes it works just fine (20 minutes of waiting 0% and then 20 ports are installed successfully within a minute and again waiting 0%(or other value ex. 58%) with sourceforge). What's the reason of such behaviour of macports and sourceforge? How can I force it to work? I've tried to locally bind citylan.dl host to nonexistent address, but the problem repeats with other sourceforge server. I do not know why you see low ping times to a server but then slow transfer speeds from it. That would be a question for your network administrator. I am guessing that when you download from the SourceForge web site, you are not downloading from the same server. SourceForge has a network of dozens of content delivery servers across the globe, and has a redirector that directs you to one of them, presumably a close one, computed based on some algorithm. MacPorts has an algorithm too, but it's based on lowest ping times, which in your particular situation is not giving a good result. In the case of SourceForge, I wonder: why are we even bothering maintaining a list of mirror servers, when SourceForge itself does so, through their redirector? Why don't we reduce the entire sourceforge fetch group down to its first item: http://downloads.sourceforge.net/ ? This might not solve the general problem of servers with low ping times not necessarily having high transfer speed, but it might at least help for SourceForge, assuming their redirector has a better algorithm. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: fetching sources from sourceforge takes very long time
I've blocked sourceforge in my router (i could delete sourceforge rows in sources config with the same result) and now macports work fine. It's not a good solution, but it works. 2011/5/11 Ryan Schmidt ryandes...@macports.org: On May 10, 2011, at 16:14, Alexander Ulitin wrote: I need to install some ports(ex.tomcat6), that are dependent on a number of other ports (ex. junit, mx4j). Ping results in port -d for citylan.dl.sourceforge.net is the smallest - 20ms, so macports downloads sourcefile from that server and fetching takes a lot of time, speed is near 0, sometimes it is raised to 1000, but then it becomes 0 and I cant install apps from ports. 1.5MB archive is downloading for hours and if I try to download file using the browser from sourceforge it takes less than a second (stable 15mbit/s channel). And sometimes it works just fine (20 minutes of waiting 0% and then 20 ports are installed successfully within a minute and again waiting 0%(or other value ex. 58%) with sourceforge). What's the reason of such behaviour of macports and sourceforge? How can I force it to work? I've tried to locally bind citylan.dl host to nonexistent address, but the problem repeats with other sourceforge server. I do not know why you see low ping times to a server but then slow transfer speeds from it. That would be a question for your network administrator. I am guessing that when you download from the SourceForge web site, you are not downloading from the same server. SourceForge has a network of dozens of content delivery servers across the globe, and has a redirector that directs you to one of them, presumably a close one, computed based on some algorithm. MacPorts has an algorithm too, but it's based on lowest ping times, which in your particular situation is not giving a good result. In the case of SourceForge, I wonder: why are we even bothering maintaining a list of mirror servers, when SourceForge itself does so, through their redirector? Why don't we reduce the entire sourceforge fetch group down to its first item: http://downloads.sourceforge.net/ ? This might not solve the general problem of servers with low ping times not necessarily having high transfer speed, but it might at least help for SourceForge, assuming their redirector has a better algorithm. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Need help with using a MacPorts-created .dmg installer for ffmpeg 0.6.2
Eric, I'm sending this reply back to the mailing list so others can see and participate in the discussion. Please use Reply All when replying. On May 10, 2011, at 15:27, Eric wrote: Ryan, Thanks ... really good info and advice. I'd like to MacPorts-install ffmpeg directly on my iMac that runs Leopard, per your advice, and so I have now (re)installed MacPorts 1.9.2, which goes with Leopard, on the iMac. When I did that previously, though, the ffmpeg build produced ... --- Extracting zlib Error: On Mac OS X 10.5, zlib 1.2.5 requires Xcode 3.1 or later but you have Xcode 3.0. Error: Target org.macports.extract returned: incompatible Xcode version Error: Failed to install zlib Log for zlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log Error: The following dependencies were not installed: libsdl xorg-libXext xorg-libX11 xorg-libxcb python27 openssl zlib readline sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx yasm schroedinger orc speex texi2html x264 Error: Status 1 encountered during processing. ... apparently since my Xcode Developer Tools are 3.0, not 3.1. That's correct. Xcode 3.0 had some bad bugs that we don't want to have to deal with support requests about, which were fixed in 3.1. But when I tried obtaining more current Xcode Developer Tools, I was told I now have to do that through the App Store app, which only runs under Snow Leopard, not Leopard ... Catch-22! I am currently copying the Xcode Developer Tools 4.0.2 I put on my Snow Leopard MacBook Pro (using the App Store app) to my Leopard iMac to see if they improve matters, but my understanding is that they are not Leopard-compatible. If that doesn't fix me up, do you have any idea how I could get a 3.1 Xcode package? Apple loves promoting only the most recent version of things, currently Xcode 4, available from the App Store. Xcode 4 only works on Snow Leopard, and also costs money. Earlier versions of Xcode are free and available on the developer connection web site. We have links to them here: http://guide.macports.org/#installing.xcode Also, if I ever succeed in the above, you've suggested using a symlink in Subsonic's transcode folder to refer to the ffmpeg executable. Is a symlink the same as an alias, or do I have to do something different to set up a symlink? A symlink and an alias serve similar purposes, but are entirely different types of objects, and software that understands one won't necessarily understand the other. Usually it's the alias which is in greater danger of not being understood, since it is a Mac OS-specific invention, and so can only be used by programs using Mac OS file APIs, whereas a symlink is a concept that exists on every UNIX-like operating system I know of, and should work using any file API. You create a symlink using the ln command with the -s flag. For example: ln -s /opt/local/bin/ffmpeg '/Library/Application Support/Subsonic/transcode/ffmpeg' This would create a symlink ffmpeg in /Library/Application Support/Subsonic/transcode/ pointing to /opt/local/bin/ffmpeg. (Not sure if that's the correct location for the ffmpeg symlink to be; you'll have to consult your program's documentation or do some trial and error testing.) Thank you very much for your help. Eric Stewart Catonsville, MD ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Need help with using a MacPorts-created .dmg installer for ffmpeg 0.6.2
On May 11, 2011, at 08:00, Ryan Schmidt wrote: On May 10, 2011, at 15:27, Eric wrote: --- Extracting zlib Error: On Mac OS X 10.5, zlib 1.2.5 requires Xcode 3.1 or later but you have Xcode 3.0. Error: Target org.macports.extract returned: incompatible Xcode version Error: Failed to install zlib Log for zlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log Error: The following dependencies were not installed: libsdl xorg-libXext xorg-libX11 xorg-libxcb python27 openssl zlib readline sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx yasm schroedinger orc speex texi2html x264 Error: Status 1 encountered during processing. http://guide.macports.org/#installing.xcode FYI, I've now improved the error message text so that it will give the user (a version of) this link. https://trac.macports.org/changeset/78546 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Need help with using a MacPorts-created .dmg installer for ffmpeg 0.6.2
Ryan, Thanks. I was wondering whether/how I should have included the mailing list ... My bad! I'll Reply All in the future ... Eric --- On Wed, 5/11/11, Ryan Schmidt ryandes...@macports.org wrote: From: Ryan Schmidt ryandes...@macports.org Subject: Re: Need help with using a MacPorts-created .dmg installer for ffmpeg 0.6.2 To: Eric epstewart2...@yahoo.com Cc: MacPorts Users macports-users@lists.macosforge.org Date: Wednesday, May 11, 2011, 9:00 AM Eric, I'm sending this reply back to the mailing list so others can see and participate in the discussion. Please use Reply All when replying. On May 10, 2011, at 15:27, Eric wrote: Ryan, Thanks ... really good info and advice. I'd like to MacPorts-install ffmpeg directly on my iMac that runs Leopard, per your advice, and so I have now (re)installed MacPorts 1.9.2, which goes with Leopard, on the iMac. When I did that previously, though, the ffmpeg build produced ... --- Extracting zlib Error: On Mac OS X 10.5, zlib 1.2.5 requires Xcode 3.1 or later but you have Xcode 3.0. Error: Target org.macports.extract returned: incompatible Xcode version Error: Failed to install zlib Log for zlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log Error: The following dependencies were not installed: libsdl xorg-libXext xorg-libX11 xorg-libxcb python27 openssl zlib readline sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx yasm schroedinger orc speex texi2html x264 Error: Status 1 encountered during processing. ... apparently since my Xcode Developer Tools are 3.0, not 3.1. That's correct. Xcode 3.0 had some bad bugs that we don't want to have to deal with support requests about, which were fixed in 3.1. But when I tried obtaining more current Xcode Developer Tools, I was told I now have to do that through the App Store app, which only runs under Snow Leopard, not Leopard ... Catch-22! I am currently copying the Xcode Developer Tools 4.0.2 I put on my Snow Leopard MacBook Pro (using the App Store app) to my Leopard iMac to see if they improve matters, but my understanding is that they are not Leopard-compatible. If that doesn't fix me up, do you have any idea how I could get a 3.1 Xcode package? Apple loves promoting only the most recent version of things, currently Xcode 4, available from the App Store. Xcode 4 only works on Snow Leopard, and also costs money. Earlier versions of Xcode are free and available on the developer connection web site. We have links to them here: http://guide.macports.org/#installing.xcode Also, if I ever succeed in the above, you've suggested using a symlink in Subsonic's transcode folder to refer to the ffmpeg executable. Is a symlink the same as an alias, or do I have to do something different to set up a symlink? A symlink and an alias serve similar purposes, but are entirely different types of objects, and software that understands one won't necessarily understand the other. Usually it's the alias which is in greater danger of not being understood, since it is a Mac OS-specific invention, and so can only be used by programs using Mac OS file APIs, whereas a symlink is a concept that exists on every UNIX-like operating system I know of, and should work using any file API. You create a symlink using the ln command with the -s flag. For example: ln -s /opt/local/bin/ffmpeg '/Library/Application Support/Subsonic/transcode/ffmpeg' This would create a symlink ffmpeg in /Library/Application Support/Subsonic/transcode/ pointing to /opt/local/bin/ffmpeg. (Not sure if that's the correct location for the ffmpeg symlink to be; you'll have to consult your program's documentation or do some trial and error testing.) Thank you very much for your help. Eric Stewart Catonsville, MD ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Need help with using a MacPorts-created .dmg installer for ffmpeg 0.6.2
Ryan, Thanks for both the error message clarification and the link to where earlier Xcode versions are to be found ... Eric --- On Wed, 5/11/11, Ryan Schmidt ryandes...@macports.org wrote: From: Ryan Schmidt ryandes...@macports.org Subject: Re: Need help with using a MacPorts-created .dmg installer for ffmpeg 0.6.2 To: Eric epstewart2...@yahoo.com Cc: MacPorts Users macports-users@lists.macosforge.org Date: Wednesday, May 11, 2011, 9:08 AM On May 11, 2011, at 08:00, Ryan Schmidt wrote: On May 10, 2011, at 15:27, Eric wrote: --- Extracting zlib Error: On Mac OS X 10.5, zlib 1.2.5 requires Xcode 3.1 or later but you have Xcode 3.0. Error: Target org.macports.extract returned: incompatible Xcode version Error: Failed to install zlib Log for zlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log Error: The following dependencies were not installed: libsdl xorg-libXext xorg-libX11 xorg-libxcb python27 openssl zlib readline sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx yasm schroedinger orc speex texi2html x264 Error: Status 1 encountered during processing. http://guide.macports.org/#installing.xcode FYI, I've now improved the error message text so that it will give the user (a version of) this link. https://trac.macports.org/changeset/78546 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
atlas G5 upgrade issue?
When I went to upgrade atlas, I found it claiming it would be compiling for the G4 architecture (ppc) on a G5 (ppc64) machine, and that it would lead to inferior performance. I do not recall seeing this on previous install/upgrades of atlas. Does atlas have support for the G5 architecture? If it does, what is preventing it from compiling for a G5? Does anyone know of a workaround? I'm on a G5, obviously, with MacPorts 1.9.2, and gcc 4.4.6. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: atlas G5 upgrade issue?
Hi Ivan, When I went to upgrade atlas, I found it claiming it would be compiling for the G4 architecture (ppc) on a G5 (ppc64) machine, and that it would lead to inferior performance. I do not recall seeing this on previous install/upgrades of atlas. Does atlas have support for the G5 architecture? If it does, what is preventing it from compiling for a G5? Does anyone know of a workaround? I'm on a G5, obviously, with MacPorts 1.9.2, and gcc 4.4.6. I wrote a G5 support (ppc64) for Atlas, but it was difficult to debug. At a certain point in time, somebody pointed out that G5 floating point performance was not so different from G4, and that 64-bit instructions would fill the cache more quickly and maybe result in inferior performance. That's why I quit the ppc64 idea and fused both into a single ppc option. But if somebody is able to settle the G4/G5 dispute with definitive data about FP computing, I'll be happy to try to raise the ppc64 options from the deads. Vincent ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
suggestion: better help on install help
Hello all. My thought is to propose that this message: $ port help install Usage: install Installs the given ports be changed to this: $ port help install Usage: install Installs the given ports. See also the variants command for options. Feedback? -r ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: fetching sources from sourceforge takes very long time
I do not know why you see low ping times to a server but then slow transfer speeds from it. That would be a question for your network administrator. Just as a quickie, your ISP might throttle your bandwidth as a function of time. You might actually have a very large connection pipe -- maybe you have a 3 Mbps connection. But if you are only paying for a 768 Kbps connection, then you'll get a few packets at high speed, followed by many packets at low speed. Now, that could be happening at any link between you and the target site. Most likely places are either you, immediately upstream of you, or at the far end. Try doing a traceroute between two sites -- that one and one of the others. See if the first few hops from you out are the same, or if it differs after only one or two hops. -- Political and economic blog of a strict constitutionalist http://StrictConstitution.BlogSpot.com ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users