OK, I was able to compile aria2!  Huge thanks to t-tujikawa on the aria2
forum for committing the necessary changes (r2404) and helping me figure
out the 4.7-stable compiler issue.  See http://tinyurl.com/obsdml for
details.  In summary, I needed to:

pkg_add gcc-4.2.4p0v0.tgz

pkg_add g++-4.2.4p2v0.tgz

pkg_add libcares-1.6.0.tgz

pkg_add libxml-2.7.6.tgz

svn export https://aria2.svn.sourceforge.net/svnroot/aria2/trunk aria2

cd aria2

CXX=/usr/local/bin/eg++

CC=/usr/local/bin/egcc

CXXCPP=/usr/local/bin/ecpp

./configure --with-libcares-prefix=/usr/local

make install

I'm hoping aria2 (as well as libmetalink, etc) will soon make it into
ports.  I'm also hoping curl will soon add metalink support as well.

Sample metalinks can be found at http://metalinker.org/samples.html


Best regards,
Alex Libman

-- 
http://www.fastmail.fm - Accessible with your email software
                          or over the web

Reply via email to