[OE-core] Regarding dhcp

Himanshu Pandey pandey_himanshu80 at rediffmail.com
Mon Jul 21 13:13:06 UTC 2014


Hi,

Getting error while compiling dhcp. 

Please find the log as attachment.

Please help.

Regards,
Himanshu




From: "Himanshu  Pandey"pandey_himanshu80 at rediffmail.com

Sent: Mon, 21 Jul 2014 18:31:02 +0530

To: "Robert Yang "liezhi.yang at windriver.com

Subject: Regarding dhcp





Hi,



I am getting an error in compiling dhcp package. 



Please find the log as attachment. 



Regards,

Himanshu









From: Robert Yang <liezhi.yang at windriver.com>

Sent: Fri, 18 Jul 2014 16:30:11 

To: Himanshu Pandey <pandey_himanshu80 at rediffmail.com>

Subject: Re: Regarding Lighttpd





On 07/18/2014 05:20 PM, Himanshu Pandey wrote:

> Hi,

>

> I am compiling Lighttpd package. Below is my receipe. I am getting an error,

> please find the log as attachment.

>

> Please help to resolve the same.

>

> DESCRIPTION = "Lightweight high-performance web server"

> HOMEPAGE = "http://www.lighttpd.net/"

> BUGTRACKER = "http://redmine.lighttpd.net/projects/lighttpd/issues"

>

> LICENSE = "BSD"

> LIC_FILES_CHKSUM = "file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579"

>

>

> SECTION = "net"

> DEPENDS = "zlib libpcre"

> RDEPENDS_${PN} += " \

>         lighttpd-module-access \

>         lighttpd-module-accesslog \

>         lighttpd-module-indexfile \

>         lighttpd-module-dirlisting \

>         lighttpd-module-staticfile \

> "

>

> PR = "r0"

>

> SRC_URI =

> "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.bz2 \

>     file://index.html.lighttpd \

>     file://lighttpd.conf \

>     file://lighttpd \

>     file://lighttpd.service \

>     "

>

> SRC_URI[md5sum] = "8e2d4ae8e918d4de1aeb9842584d170b"

> SRC_URI[sha256sum] =

> "60691b2dcf3ad2472c06b23d75eb0c164bf48a08a630ed3f308f61319104701f"

>

> EXTRA_OECONF = " \

>        --without-bzip2 \

>        --without-ldap \

>        --without-lua \

>        --without-memcache \

>        --with-pcre \

>        --without-webdav-props \

>        --without-webdav-locks \

>        --without-openssl \

>        --disable-static \

> "

>

> S = "${WORKDIR}/lighttpd_1.4.32"

> #inherit autotools pkgconfig update-rc.d gettext systemd

>

> #INITSCRIPT_NAME = "lighttpd"

> #INITSCRIPT_PARAMS = "defaults 70"

>

> SYSTEMD_SERVICE_${PN} = "lighttpd.service"

>

> do_configure() {

>

>     ./configure --prefix=${D}/opt/lighttpd --host=${HOST_SYS}





The error is:



run.do_configure.4585: line 97: ./configure: No such file or directory



Is it an autotools class ? You need use the "inherit autotools" if so.



Otherwise you need find our where is the configure.



>     oe_runmake



Don't do this in do_configure, it should be done in do_compile.



// Robert



> }

>

> do_install() {

>        install -d ${D}/opt/lighttpd

>        oe_runmake install

> }

>

> do_install_append() {

>     #install -d ${D}${sysconfdir}/init.d ${D}/www/logs ${D}/www/pages/dav

> ${D}/www/var

>     #install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d

>     #install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}

>     #install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html

>

>     #install -d ${D}${systemd_unitdir}/system

>     #install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system

>     #sed -i -e 's, at SBINDIR@,${sbindir},g' \

>         -e 's, at SYSCONFDIR@,${sysconfdir},g' \

>         -e 's, at BASE_BINDIR@,${base_bindir},g' \

>         ${D}${systemd_unitdir}/system/lighttpd.service

> }

>

> #FILES_${PN} += "${sysconfdir} /www"

>

> #CONFFILES_${PN} = "${sysconfdir}/lighttpd.conf"

>

> PACKAGES_DYNAMIC += "^lighttpd-module-.*"

>

> python populate_packages_prepend () {

>  #  lighttpd_libdir = d.expand('${libdir}')

>  # do_split_packages(d, lighttpd_libdir, '^mod_(.*)\.so$',

> 'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='')

> }

>

>

>

>

>

> From: Robert Yang <liezhi.yang at windriver.com>

> Sent: Thu, 17 Jul 2014 10:38:53

> To: Himanshu Pandey <pandey_himanshu80 at rediffmail.com>

> Subject: Re: Regarding pppoe package

>

> Seems that your pppoe is a little old ? See the errors, it searchs for kernel

> 2.4.X, now the kernel is 3.10.

>

> checking for id... /usr/bin/id

> checking for Linux 2.4.X kernel-mode PPPoE support... cross-compiling, default:

> no

> configure: WARNING: *** Oops! I couldn't find pppd, the PPP daemon anywhere.

> configure: WARNING: *** You must install pppd, version 2.3.10 or later.

> configure: WARNING: *** I will keep going, but it may not work.

> configure: WARNING: *** Oops. I cannot figure out what version of pppd you have.

> configure: WARNING: *** All I got back was ''

> configure: WARNING: *** I will keep going, but it may not work.

> checking packing order of bit fields... no defaults for cross-compiling

>

> // Robert

>

> On 07/17/2014 12:31 PM, Himanshu Pandey wrote:

> > Hi,

> >

> > I am compiling pppoe package but facing errors. Please find the log as

> attachment.

> >

> > Please help.

> >

> > Regards,

> > Himanshu

> >

> >

> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>

> > Get your own *FREE* website, *FREE* domain & *FREE* mobile app with Company

> email.

> >  *Know More >*

> >

> <http://track.rediff.com/click?url=___http://businessemail.rediff.com/email-ids-for-companies-with-less-than-50-employees?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host>

> >

> >

> >

> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>

> > Get your own *FREE* website, *FREE* domain & *FREE* mobile app with Company

> email.

> >  *Know More >*

> >

> <http://track.rediff.com/click?url=___http://businessemail.rediff.com/email-ids-for-companies-with-less-than-50-employees?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host>

> >

>

> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>

> Get your own *FREE* website, *FREE* domain & *FREE* mobile app with Company email.

> *Know More >*

> <http://track.rediff.com/click?url=___http://businessemail.rediff.com/email-ids-for-companies-with-less-than-50-employees?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host>

>



Get your own FREE website,  FREE domain & FREE mobile app with Company email. Know More >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140721/f9f1e796/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.do_configure.26001
Type: application/octet-stream
Size: 4679 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140721/f9f1e796/attachment-0002.obj>


More information about the Openembedded-core mailing list