Skip to contentSkip to conversation

python-sip_4.7.9 recipe question

DISCUSSION ed 1 participant 1 message Feb 18, 2010

lore
Share & tools
lore

ed

author
#0 lore raw

I am trying to build pyqt for the mini2440. The image I built completed with no errors but am having problems when I try and run a simple python program using pyqt. The first thing I found was that
sip.so was not packaged in rootfs image. So I looked at the python-sip_4.7.9.bb recipe which requires python-sip.inc.

python.-sip.inc looks like it does all the work.

The log file shows it does all the build tasks.
1. do_setscene - It complains about the following:

NOTE: <type 'exceptions.TypeError'>:exceptions must be classes or instances, not str while evaluating:
${@python_dir(d)}
NOTE: <type 'exceptions.TypeError'>:exceptions must be classes or instances, not str while evaluating:

	install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/
	install -m 0755 libsip.so.1.0.0

${D}${libdir}/${PYTHON_DIR}/site-packages/sip.so

2. All the other tasks run with no complaints.

I find sip.so file in the install and image directories. tmp/work/armv4t-angstrom-linux-gnueabi/python-sip-4.7.9-ml0
/install/python-sip/usr/lib/python2.6/site-packages/

tmp/work/armv4t-angstrom-linux-gnueabi/python-sip-4.7.9-ml0
/image/usr/lib/python2.6/site-packages

In the staging-pkg I see the following. tmp/work/armv4t-angstrom-linux-gnueabi/python-sip-4.7.9-ml0

    /staging-pkg/staging/armv4t-angstrom-linux-gnueabi/shlibs/
    python-sip.list ===> contains libsip.so.1
    python-sip.ver ==> contains 4.7.9

So my questions are:
1. Why didn't sip.so end up in my rootfs?
2. Do I also need libsip.so.1 in my rootfs?

Thanks
Ed