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: *** [sharelin/CMakeFiles/sharelin.dir/g2net.cpp.o] Error 1 make: *** [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".
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)
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!