tags 676066 + patch
thanks
On 05/06/12 00:04, Lucas Nussbaum wrote:
> Relevant part:
>> debian/rules build
>> dh_testdir
>> # Add here commands to configure the package.
>> ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr
>> --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
>> creating cache ./config.cache
>> checking for a BSD compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking whether make sets ${MAKE}... yes
>> checking for working aclocal... missing
>> checking for working autoconf... missing
>> checking for working automake... missing
>> checking for working autoheader... missing
>> checking for working makeinfo... missing
>> checking for mawk... mawk
>> checking for gcc... gcc
>> checking whether the C compiler (gcc ) works... yes
>> checking whether the C compiler (gcc ) is a cross-compiler... no
>> checking whether we are using GNU C... yes
>> checking whether gcc accepts -g... yes
>> checking for a BSD compatible install... /usr/bin/install -c
>> checking whether ln -s works... yes
>> checking for socket in -lsocket... no
>> checking for gethostbyname in -lnsl... yes
>> configure: error: libevent not found
>> checking for libdumbnet... yes
>> checking for libevent... no
>> make: *** [config.status] Error 1Please find attached a patch to fix this FTBFS. Regards -- Sebastian Ramacher
diff -u farpd-0.2/configure.in farpd-0.2/configure.in
--- farpd-0.2/configure.in
+++ farpd-0.2/configure.in
@@ -77,7 +77,7 @@
fi
;;
esac ],
-[ if test -f ${prefix}/include/event.h -a -f ${prefix}/lib/libevent.a;
+[ if test -f ${prefix}/include/event.h -a -f ${prefix}/lib/${host}/libevent.a;
then
EVENTINC="-I${prefix}/include"
EVENTLIB="-L${prefix}/lib -levent"
signature.asc
Description: OpenPGP digital signature

