[Psi-Devel] psi 0.14 build error

Justin Karneges justin-psi2 at affinix.com
Thu Dec 17 12:34:47 PST 2009


On Thursday 17 December 2009 12:21:07 Pavel Volkovitskiy wrote:
> Hello!
>
> I'm trying to build 0.14 release on linux with qt 4.6.0 (had same issues
> with 4.5.2)
>
> firstly configure runs "qmake-qt4 -prl -r psi.pro" and qmake crashes
> with segmentation fault error
> part of debug output:
>
> DEBUG 1: Project file: reading
> /home/int/conary/builds/psi/psi-0.14/iris/src/src.pro
> DEBUG 1: Project Parser:
> /home/int/conary/builds/psi/psi-0.14/iris/src/src.pro:1 :TEMPLATE: :=:
> (subdirs)
> DEBUG 1: Running project test: include(libbase.pri) [20]
> DEBUG 1: Project Parser: include'ing file
> /home/int/conary/builds/psi/psi-0.14/iris/src/libbase.pri.
> DEBUG 1: Project Parser: libbase.pri:1 :IRIS_BASE: :=:
> (/home/int/conary/builds/psi/psi-0.14/iris/src/..)
> DEBUG 1: Running project test: include(../conf.pri) [20]
> DEBUG 1: Project Parser: include'ing file
> /home/int/conary/builds/psi/psi-0.14/iris/src/../conf.pri.
> DEBUG 1: Running project test: include(../src/conf_iris.pri) [20]
> DEBUG 1: Project Parser: include'ing file
> /home/int/conary/builds/psi/psi-0.14/iris/../src/conf_iris.pri.
> DEBUG 1: Running project test: include(../conf.pri) [20]
> DEBUG 1: Project Parser: include'ing file
> /home/int/conary/builds/psi/psi-0.14/iris/src/../conf.pri.
> DEBUG 1: Running project test: include(../src/conf_iris.pri) [20]
> DEBUG 1: Project Parser: include'ing file
> /home/int/conary/builds/psi/psi-0.14/iris/../src/conf_iris.pri.
> DEBUG 1: Running project test: include(../conf.pri) [20]
>
> looks like endless loop...

Weird, maybe qmake behavior changed.

In src/conf_iris.pri, try changing this line:

include(../conf.pri)

to:

include($$PWD/../conf.pri)

> after that configure creates Makefiles successfully
> but later i get error on linking:

I think this happened because of the prl generation failure.  These files tell 
qmake what libs to drag in when linking.  You need to correctly create the 
prl files, and then make sure qmake regenerates all of the makefiles with the 
correct prl data.

After changing the above line, run configure and make.  Maybe that should be 
enough.

-Justin


More information about the Psi-Devel mailing list