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



On Mon, 2011-05-16 at 10:35 -0700, tudstudent wrote:
> export LD_LIBRARY_PATH=$PREFIX/lib:$PREFIX/samba/lib
> export
> PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/samba/lib/pkgconfig:
> $PREFIX/share/pkgconfig
> 
> then:
> 
> pkg-config --cflags libmapi
> 
> This delivers the next error:
> 
> Package talloc was not found in the pkg-config search path.
> Perhaps you should add the directory containing `talloc.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'talloc', required by 'MAPI', not found
> 
> This package is installed. 

	Hi,
good, then you know where to look next. Solve this and it'll work for
you. I cannot tell you anything more than the pkg-config does, the
message is self-describing.

By the way, I thought it's obvious but it seems it wasn't, in those two
exports at the beginning, you should replace $PREFIX with a prefix where
your samba4 is installed, probably /usr if you do not compile it
yourself. Also check the paths exist for you, or change them accordingly
to your system/setup.
	Bye,
	Milan



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