Re: balsa cvs compile



On 01/18/2004 09:53:08 PM, Mpiktas wrote:
> (snip)
> > dir=`pwd`; cd gmime-2.1.1 &&
> > ./configure --prefix=`pwd` --disable-shared && make install; cd $dir
> >
> > PKG_CONFIG_PATH="gmime-2.1.1:$PKG_CONFIG_PATH" ./configure
> >
> > That's what is being done when an rpm is built (see balsa.spec file).
> Gmime
> > is then linked statically.
> >
> 
> I did it similarly but without --disable-shared. The thing is that
> pkg-config searches  /usr/lib at the end, before the PKG_CONFIG_PATH.  
> If gmime 2.0.x is installed there (as it was in my case) its gmime-2.0. 
> pc gets picked not the 2.1.x which is needed. Maybe I'm wrong.

OK, I am not a pkg-config expert but I would think the first encountered  
matching package should be picked. Well, installing a new package as you  
did is a sure-fire method.

Pawel




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