Re: balsa cvs compile



Hi,

> 
> try following:
> 
> tar xzf balsa-2.1.0.tar.gz
> cd balsa-2.1.0
> tar xzf gmime-2.1.1.tar.gz
> 
> 
> 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. I used Steffen's advice that is I  
debian's gmime packages and installed gmime-2.1 in /usr/local, then everything  
compiled. Now I can lay my hands on Balsa 2.1. Thanks everyone for help!

Mpiktas

PGP signature



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