[gobolinux-users] PyQT : make: Makefile: No such file or directory
Giambattista Bloisi
giamby at infinito.it
Sat Feb 9 09:47:37 NZDT 2008
Thomas Queste wrote:
> I'm trying to compile PyQT 4.3.3 and the following error appears :
>
>
> gobo at Gobo /Files/Compile/Recipes/PyQt/4.3.3-r1]Compile -v pyqt
> Compile: Locating a recipe for pyqt ...
> Compile: Found recipe for pyqt
> GetRecipe: Trying to get /Files/Compile/Recipes/PyQt/4.3.3-r1
> Compile: Recipe placed in /Files/Compile/Recipes/PyQt/4.3.3-r1
> Compile: Checking dependencies...
> Compile: Compiling PyQt version 4.3.3, revision r1.
> Compile: Directory '/Files/Compile/Sources/PyQt-x11-gpl-4.3.3' already exists.
> Compile: What to do? [R]emove and reunpack/[B]ackup and reunpack/[U]se
> it/[C]ancel.
> r
> Compile: Unpacking file /Files/Compile/Archives/PyQt-x11-gpl-4.3.3.tar.gz...
> Error: This version of PyQt requires SIP v4.7.2 or later
>
> make: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'. Stop.
> Compile: Build failed.
>
>
> I do have SIP 4.7.3 freshly compiled :
> gobo at Gobo /Files/Compile/Recipes/PyQt/4.3.3-r1]ls /Programs/SIP
> 4.5.2/ 4.7.3/ Current@
>
>
> The recipe is :
> recipe_type=makefile
> pre_build() {
> pythonversion=`python --version 2>&1 | awk {'print $2'} | cut -b1-3`
> sitepackages="$target/lib/python${pythonversion}/site-packages"
> echo yes | python configure.py -b $target/bin -v $target/Shared/sip -d
> $sitepackages -p $target/plugins
> }
>
>
I had the same problem. I resolved it by removing
/System/Links/Libraries/python2.4/site-packages/sipconfig.pyc.
G.
More information about the gobolinux-users
mailing list