[Psi-devel] QCA 2.0: Where and How to compile ?

Alban Crequy muadda at gmail.com
Sat Jan 28 10:21:51 PST 2006


2006/1/28, Remko Troncon <remko at el-tramo.be>:
>
> On 28 Jan 2006, at 14:30, Alban Crequy wrote:
>
> > $ qconf
>
> Why are you running QConf ? Don't do that.

Because the qca-2.0-beta1/README file says to run qconf... hum I was
wrong, this file says to run qconf _if_ I want to build from CVS/SVN,
sorry.

> If i am getting this correctly, your QCA2 compilation is failing.
> Use ./configure --debug to see what
> is wrong.

I finally find out why it did not work. The command line was:
g++  -o mozcerts main.o   -L/usr/lib -L../../lib -lqca -lQtCore -lpthread

The priority is /usr/lib on ../../lib. And I have
/usr/lib/libqca.so.1.0.0 installed on my computer from the Ubuntu
package libqca1c2 version 1.0. I can't remove this package because I
still use the "old" Psi release.

I am now able to compile correctly with editing manually the files
Makefile as a workaround... I'm digging more to find a better solution
;-)

I guess the correct thing to do would be to set -L../../lib a bigger
priority than /usr/lib in *.pro files:
LIBS += -L../../lib -lqca

But I do not know how to do that.

--
Alban


More information about the psi-devel mailing list