[PyKDE] Newbie trouble building SIP and PyQt

Jeff Layton laytonjb at bellsouth.net
Mon Apr 22 00:27:00 BST 2002


Hello,

   Newbie here. I'm trying to install sip-3.1 and PyQt-3.1 on a RH
7.2 system. I built python-2.2.1 and installed in in /usr/local/python-2.2.1
(a little atypical, but not too bad). I put sip-3.1 in /usr/local/src/sip-3.1.
I'm running configure as,

./configure --prefix=/usr/local/sip-3.1 \
            --enable-qt \
            --with-qt-dir=/usr/local/qt \
            --with-qt-mocdir=/usr/local/qt/bin \
            --with-qt-includes=/usr/local/qt/includes \
            --with-qt-libraries=/usr/local/qt/lib \
            --with-python=/usr/local/python-2.2.1/bin \
            --with-python-modules=/usr/local/python-2.2.1/lib/python2.2/site-packages  \
            --with-python-include=/usr/local/python-2.2.1/include

and I'm getting the following errors:

(stuff snipped)
checking for IceConnectionNumber in -lICE... yes
checking for -fno-exceptions... yes
./configure: /usr/local/python-2.2.1/bin: is a directory
./configure: /usr/local/python-2.2.1/bin: is a directory
checking Python version...
checking where the Python sip module will be installed... /usr/local/python-2.2.1/lib/python2.2/site-packages
checking for Python include files... configure: error: Python.h not found

Did I install Python incorrectly? Are my configure options
correct?

TIA,

Jeff Layton






More information about the PyQt mailing list