I got the oe-classic recipe building with the latest version of lm-sensors. However, I am now running into perl issues - when I try to run sensors-detect, I get errors with the @INC paths - strict.pm is not found anywhere on the filesystem. I went back to see if I had left out perl support, but it was present and included. Where is strict.pm? How can I get that in my image?
Thanks! FYI, here is what the recipe looks like. It still gives a man page warning, but I am ignoring that for now. ------------------------------------------------------------------------------------------------------------------------------------------------------------ DESCRIPTION = "Hardware health monitoring applications" HOMEPAGE = "http://www.lm-sensors.org/" DEPENDS = "sysfsutils virtual/libiconv" LICENSE = "GPLv2" PR = "r1" DEPENDS = "bison-native flex-native" PACKAGE_ARCH = "${MACHINE_ARCH}" SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \ " SRC_URI[md5sum] = "f357ba00b080ab102a170f7bf8bb2578" SRC_URI[sha256sum] = "f13dd885406841a7352ccfb8b9ccb23c4c057abe3de4258da5444c149a9e3ae1" S = "${WORKDIR}/lm_sensors-${PV}" EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \ MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" AR="${AR}"' do_compile() { oe_runmake user PROG_EXTRA=sensors } do_install() { oe_runmake user_install DESTDIR=${D} } PACKAGES =+ "lmsensors-sensors lmsensors-sensors-dbg" PACKAGES =+ "lmsensors-scripts" FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect" RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash" FILES_lmsensors-sensors = "${bindir}/sensors ${sysconfdir}" FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors" ------------------------------------------------------------------------------------------------------------------------------------------------------------ ________________________________________ From: yocto-boun...@yoctoproject.org [yocto-boun...@yoctoproject.org] on behalf of Marc Ferland [ferla...@sonatest.com] Sent: Tuesday, October 16, 2012 11:37 To: yocto@yoctoproject.org Subject: Re: [yocto] lm-sensors not available as a package? Paul Eggleton <paul.eggle...@linux.intel.com> writes: > On Tuesday 16 October 2012 16:00:01 Jonathan Haws wrote: >> I would be surprised if a recipe for lm-sensors has not already been >> created, however I cannot find one. Can someone point me in the right >> direction? >> >> All I can find is a sysstat package that I can include via >> IMAGE_INSTALL_append, however I cannot see how I can get the same >> information out of it that lm-sensors gives me. >> >> Has anyone got lm-sensors included in their image? If so, can you share the >> recipe? > > Unless anyone else pipes up, my local index suggests that this is something > that hasn't yet been brought up-to-date from OE-Classic. > > http://git.openembedded.org/openembedded/tree/recipes/lm_sensors > > Assuming nothing else is available you should be able to use this as a base. > There is a brief guide on the main things that need to be changed when > updating a recipe from OE-Classic here: > > http://www.openembedded.org/wiki/Migrating_metadata_to_OE-Core > > If you do come up with an updated recipe we'd love to have it added to meta-oe > or some other layer ;) > I have a lmsensors recipe somewhere around here. I'll dust it off and post it to the oe-core mailing list. Marc _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto