Re: [Evolution-hackers] Compile Evolution-Mapi 3.1.1 -> Error on libmapi.h



On Mon, 2011-05-16 at 01:45 -0700, tudstudent wrote:
> Okey, maybe it makes sense to describe how I run the package:
> 
> ./configure CFLAGS=-I/usr/lib64/samba4/include
> make (which delivers me the errors)
> 
> ...
> /usr/include/libmapi/libmapi.h:49:20: fatal error: dcerpc.h: No such file or

Try with these set:
export LD_LIBRARY_PATH=$PREFIX/lib:$PREFIX/samba/lib
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:
$PREFIX/samba/lib/pkgconfig:$PREFIX/share/pkgconfig

Then you might be able to get sane results when invoking:
  $ pkg-config --cflags libmapi
which should cover your -I too (by the way, it might not be in lib64).
	Hope that helps,
	Milan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]