emerging sip gave me only two header files and three READMEs lately. I just tracked that down, it's because the sip Makefiles are b0rked.. - Just invoking "make" creates the targets _in the install directory_, i.e. in /var/tmp/portage/sip-3.8/image/{bin,lib} - The src_install() function seems to run after the image/ dir has been cleaned, and runs "make install" which installs only the headers+docs (grmbl..) - I could work around the error by just adding a "make || die" before the make install. This re-links the binary and library *in place*, i.e. by running "g++ -o ../../../image/usr/bin/sip <some .o files>" Reproducible: Always Steps to Reproduce: I got only dev-lang/python-2.3.3 installed (no 2.2 version), and qt-3.3.0-r1. Then I tried installing sip-3.8 (and PyQt, which undestandably complained that sip was not found, see above).
You need sip-4.x for Python 2.3.x. PyQt/Qt 3.3 is another problem: Bug 41101
I don't think this is correct. According to the homepage, sip4 needs python2.3, but not the other way round: SIP v3 supports all versions of Qt since v1.43 and all versions of Python since v1.5. A source package will compile against any supported version of Python and any supported version of Qt. SIP v4 supports all versions of Qt since v1.43 and all versions of Python since v2.3. A source package will compile against any supported version of Python and any supported version of Qt. Anyhow, with the described patch (adding a simple "make" in the src_install() function), I managed to install sip-3.8 correctly and build PyQt with it. (OK, as #41101 describes, this is not without pain, you have to remove the protected: content() method from qtable.sip, but then it works.)
I came upon the same bug. The "make || die" thingy in "src_install()" worked for me.
Thanks for correcting me, Hans. As all necessary information is in Bug 41101, this one could be closed, I think.
This should be fixed in sip-3.8-r1. Thanks you all for providing the solution.