You are not logged in.

#1 2005-08-20 19:24:35

campylobacter
Member
From: Austria
Registered: 2004-04-12
Posts: 60
Website

[request] aget

Aget is a multithreaded HTTP -for now- download accelerator.
Everybody knows about the famous Flashget for Win32. This program is a starting point of a very useful project like Flashget. The aim is to provide as much functionality as we can.

http://www.enderunix.org/aget/

I allways get an error with my pkgbuild sad

Offline

#2 2005-08-20 19:43:02

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request] aget

Could you post your PKGBUILD and what error you get?

Offline

#3 2005-08-20 19:47:26

campylobacter
Member
From: Austria
Registered: 2004-04-12
Posts: 60
Website

Re: [request] aget

PKGBUILD

pkgname=aget
pkgver=0.4
pkgrel=1
pkgdesc="Aget is a multithreaded HTTP -for now- download accelerator."
url="http://www.enderunix.org/aget/"
depends=()
source=(http://www.enderunix.org/aget/$pkgname-$pkgver.tar.gz)
md5sum=''

build() {
  cd $startdir/src/$pkgname-$pkgver
   make && make strip
   make DESTDIR=$startdir/pkg/ install
}

Error

==> Starting build()...
gcc -o aget main.o Aget.o Misc.o Head.o Signal.o Download.o Resume.o -pthread
collect2: ld mit Signal 11 [Speicherzugriffsfehler] beendet
/usr/bin/ld: BFD 2.15 assertion fail elflink.c:6081
make: *** [all] Fehler 1
cp -f aget /usr/local/bin/aget
cp: Aufruf von stat für ,,aget" nicht möglich: Datei oder Verzeichnis nicht gefun                                        den
make: *** [install] Fehler 1
==> ERROR: Build Failed.  Aborting...

Offline

#4 2005-08-20 20:30:35

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request] aget

I've tried it.  It's a ptread problem that cause the linker to seg faults. I think it's because the dev use an old version of gcc (gcc-2.96). I tried different things without success. sad

Offline

#5 2005-08-20 22:02:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [request] aget

I tried the development version and it compiles with no errors. However, I had to sed the Makefile to get the binary in the right place. Here's my PKGBUILD:

pkgname=aget
pkgver=devel
pkgrel=1
pkgdesc="Aget is a multithreaded HTTP -for now- download accelerator."
url="http://www.enderunix.org/aget/"
depends=()
source=(http://www.enderunix.org/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
md5sum=''

build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/usr/bin
sed -i -e 's:/usr/local:../../pkg/usr:g' Makefile
make
make install
}

It's a strange package - the only file in it is the aget binary - but it installs fine. However, it won't run for me. I get the following error:

get: couldn't lseek:  Bad file descriptor

So back to you, or somebody.. :?

Offline

#6 2005-08-20 22:54:54

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request] aget

works for me. try
aget -n4  URL

However the progress bar output is quite messy.

Offline

#7 2005-08-21 13:44:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [request] aget

Weird. I've tried it on all three of my Arch boxes here, and they're all giving the same error:

get: couldn't lseek:  Invalid argument

Different from yesterday's, but still not working.

Looking at the aget site again, I'm wondering if it's still in active development? The stable version 0.4 was released in Nov 02, and that development release dates back to 01 Jun 04.

I reckon I'll stick with wget for the mo...

Offline

#8 2005-08-21 19:27:36

sh__
Member
Registered: 2005-07-19
Posts: 272

Re: [request] aget

If you're looking for something similar to aget, there is prozilla in [extra].

Offline

#9 2005-08-21 19:32:37

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request] aget

lseek is a C function. I'm using gcc 3.4.3-2
I'll stay with wget also. The output bug is too annoying.

Offline

Board footer

Powered by FluxBB