On 05/08/2012 10:23 PM, Christoph Hellwig wrote: > On Tue, May 08, 2012 at 04:32:16PM +0800, Liu Yuan wrote: >> From: Liu Yuan <tailai.ly at taobao.com> >> >> It is suppoed to be used by sheepfs. Though sheep doesn't necessarily >> need this library, its well implemented atomic operation header will >> be put good use for other sheep code. > > The configure check fails for me on Debian -testing with liburcu > 0.6.7-2, even if the actual code using it compiles fine after reverting > the check. The error message is: > > checking for liburcu... no > configure: error: Package requirements (liburcu) were not met: > > No package 'liburcu' 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 liburcu_CFLAGS > and liburcu_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > Does you check assume librcu prvoiding a .pc file? At least on my > systems it doesn't seem to have one. Yes, the latest urcu code provide a .pc file and it seems that the atomic header structure get changed over time. Let's stick to the latest new structure and would better write a script to auto download, compile and install it or point people to where he can finds the latest version to compile. -- thanks, Yuan |