swarajsomala opened a new pull request #48: URL: https://github.com/apache/xerces-c/pull/48
Hello There, I am facing one issue while integrating the xerces-c-3.2.3 into yocto environment. I can't see Issues tab to explain the problem , So I am creating this PR.I created one `xerces-c_3.2.3.bb`. xerces-c_3.2.3.bb ``` HOMEPAGE = "http://xerces.apache.org/xerces-c/" SECTION = "libs" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI = "http://archive.apache.org/dist/xerces/c/3/sources/${BP}.tar.bz2" SRC_URI[sha256sum] = "45c2329e684405f2b8854ecbddfb8d5b055cdf0fe4d35736cc352c504989bbb6" inherit autotools PACKAGECONFIG ??= "curl icu" PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl" PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}${prefix},--with-icu=no,icu" do_install_prepend () { sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc } PACKAGES = "libxerces-c \ libxerces-c-dev \ xerces-c-samples \ libxerces-c-staticdev \ ${PN}-dbg \ " RPROVIDES_${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg" FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so" FILES_libxerces-c-dev = "${libdir}/lib*.la \ ${libdir}/libxerces-c.so \ ${libdir}/pkgconfig/xerces-c.pc \ ${includedir}/xercesc \ " FILES_xerces-c-samples = "${bindir}/*" FILES_libxerces-c-staticdev = "${libdir}/lib*.a" BBCLASSEXTEND = "native" ``` After running the `bitbake xerces-c` command, I am getting the below error in `do_configure` stage: `"cannot run test program while cross compiling See config.log for more details"` I tried xerces-c-3.1.4 and its working fine, but I want to use the latest library.Is there anything I am missing in the bb file? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
