[aur-general] new pkg error

Stefan Husmann stefan-husmann at t-online.de
Sun May 31 19:37:15 EDT 2009


nathan owe. schrieb:
> The following packages will be built:
> ==> linkage
>  Do you want to continue? (Y/n): y
> ==> Building linkage [package 1 of 1] ... 
> ==> Making package: linkage 0.2.0-1 i686 (Sun May 31 18:12:04 CDT 2009)
> ==> Checking Runtime Dependencies...
> ==> Checking Buildtime Dependencies...
> ==> Retrieving Sources...
>   -> Found linkage-0.2.0.tar.gz in build dir
> ==> Validating source files with md5sums...
>     linkage-0.2.0.tar.gz ... Passed
> ==> Extracting Sources...
>   -> bsdtar -x -f linkage-0.2.0.tar.gz
> ==> Removing existing pkg/ directory...
> ==> Entering fakeroot environment...
> ==> Starting build()...
> checking for a BSD-compatible install... /bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for GTKMM... yes
> checking for LIBGLADE... yes
> checking for GCONFMM... yes
> checking for GTHREAD... yes
> checking for LIBTORRENT... configure: error: Package requirements
> (libtorrent >= 0.13) were not met:
> 
> No package 'libtorrent' found
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> 
> Alternatively, you may set the environment variables LIBTORRENT_CFLAGS
> and LIBTORRENT_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> 
> make: *** No targets specified and no makefile found.  Stop.
> ==> ERROR: Build Failed.
>     Aborting...
> ==> Installing linkage-0.2.0-1-i686.pkg.tar.gz [package 1 of
> 1] ...makepkg failed! ==> ERROR: I was unable to install these
> packages: linkage
> 
Oops, that is really annoying. There are so many incarnations of 
libtorrent running around. But I guess libtorrent-rasterbar is the 
correct one.

The configure script is looking for libtorrent and should look for 
libtorrent-rasterbar. Use an sed command to do the replacement.

sed -i 's+libtorrent+libtorrent-rasterbar+' configure

If that fails, try to make a PKBUILD for libtorrent using

http://downloads.sourceforge.net/sourceforge/libtorrent/libtorrent-rasterbar-0.14.3.tar.gz

You may be able to do so via abs with the PKGBUILD from 
libtorrent-rasterbar. Install that and try again.

Regards Stefan


More information about the aur-general mailing list