最近、Ubuntuを10.04から11.04にアップグレードしました。現在、Python3.2用のPyQt4のインストールに問題があります。3.1では問題なく動作しました。しばらくしてsudomakeinstallを実行すると、次のエラーが発生します。
make[1]: Entering directory `/home/john/Python/PyQt-x11-gpl-4.8.5/designer
rm -f libpythonplugin.so
g++ -Wl,-O1 -shared -o libpythonplugin.so pluginloader.o moc_pluginloader.o -L/usr/lib -L/usr/lib -lpython3.1mu -lQtScript -lQtXml -lQtGui -lQtCore -lQtDesigner -lpthread
/usr/bin/ld: cannot find -lpython3.1mu
collect2: ld returned 1 exit status
make[1]: *** [libpythonplugin.so] Error 1
make[1]: Leaving directory `/home/john/Python/PyQt-x11-gpl-4.8.5/designer'
make: *** [install] Error 2
私が何時間もググって、解決策を見つけられなかったのは本当に奇妙です。通常、私はそれを気にせず、Python 3.1を使用しましたが、pyuic4は、Python 3.2を使用しているため、PyQt4モジュールをインポートできないと不平を言い続けます。