Problems building php package

Steve Sakoman sakoman at gmail.com
Tue Feb 5 15:22:20 UTC 2008


I'm getting the error below during the do_configure phase (error below
is from a uclibc build, but glibc also fails in the same way):

| Configuring extensions
| checking whether to enable LIBXML support... yes
| checking libxml2 install dir...
/home/otto/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-uclibcgnueabi/bin
| checking for xml2-config path...
/home/otto/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-uclibcgnueabi/bin/xml2-config
| configure: error: xml2-config not found. Please check your libxml2
installation.
| FATAL: oe_runconf failed

Looking into the issue I see that the php recipe does include libxml2
as a dependency, and the libxml2 recipe seem to explicitly try to deal
with this issue:

	#this is need it by php during its install
	install -m 0755 xml2-config ${STAGING_BINDIR_CROSS}

However when the libxml2 build completes, xml2-config is not in the
desired spot: tmp/staging/arm-angstrom-linux-uclibcgnueabi/bin

Looking in the log for libxml2's do_stage I see:

/usr/bin/install -c 'xml2-config'
'/home/otto/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-uclibcgnueabi/libxml2-2.6.29-r5/temp-staging/usr/bin/xml2-config'

It's obviously not being stored where the php recipe expects it to be.
 I don't know enough about how the whole staging process works to know
whether this is the problem, or whether some later part of the staging
process is supposed to copy this to the proper place.

Can anyone offer some guidance?

Thanks,

Steve




More information about the Openembedded-users mailing list