You are not logged in.

#1 2012-08-14 16:12:16

grufo
Member
Registered: 2012-08-09
Posts: 100

**AUR PACKAGE** Error on compiling Sharelin (a gnutella2 WebUI)

Hello everyone.
I'm the maintainer of the AUR "sharelin" package [ AUR | Project at sourceforge.net | Tarball | PKGBUILD ].
I noticed that something has happened within the boost library after the latest updates, so it's now impossible to compile the package. Here is the compiling error:

src/common/foreach.hpp:24:17: error: ‘boost::BOOST_FOREACH’ has not been declared
make[2]: *** [sharelin/CMakeFiles/sharelin.dir/g2net.cpp.o] Error 1
make[1]: *** [sharelin/CMakeFiles/sharelin.dir/all] Error 2
make: *** [all] Error 2

I noticed also that it is a common error on compiling applications which use the latest versions of boost. It seems to be related to the file "sharelin-0.2.6/src/common/foreach.hpp".

Any suggestions?

Post Scriptum. The patch attached to the PKGBUILD has been taken from: http://sourceforge.net/tracker/?func=de … id=1098126

Last edited by grufo (2012-08-15 02:36:23)

Offline

#2 2012-08-16 18:19:20

grufo
Member
Registered: 2012-08-09
Posts: 100

Re: **AUR PACKAGE** Error on compiling Sharelin (a gnutella2 WebUI)

Solved thanks to the author :-)
A new patch is attached within the AUR package. It is designed for boost >= 1.50. So if you use a previous version of boost you shouldn't use that patch!

Offline

Board footer

Powered by FluxBB