All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jack Mitchell <ml@communistcode.co.uk>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Trouble creating new package
Date: Tue, 10 Jan 2012 11:08:22 +0000	[thread overview]
Message-ID: <4F0C1C26.6030301@communistcode.co.uk> (raw)

Good morning everyone,

I am currently having issues creating a (very!) simple package. I have 
looked at the latest reference manual and studied other .bb files to no 
avail.

I am trying to build a simple web server called Hiawatha. To install 
(http://www.hiawatha-webserver.org/howto/compilation_and_installation) 
it consists of a simple:

./configure

make

make install

Now, for the life in me I cannot replicate this behaviour in a .bb file. 
This is what I have so far:

DESCRIPTION = "Lightweight secure web server"
HOMEPAGE = "http://www.hiawatha-webserver.org"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=a9b0a0eb7c54c87ec6ac05f5f603df6a"

SECTION = "custom"

PR = "r0"

SRC_URI = "http://www.hiawatha-webserver.org/files/hiawatha-7.8.2.tar.gz"

SRC_URI[md5sum] = "8aff3f8c759871ea1d1ff22e98030332"

do_configure () {

   ./configure --disable-ipv6 \
              --disable-ssl \
              --disable-toolkit \
              --disable-xslt \
              --disable-largefile \

   oe_runmake

}

do_install () {

   oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \
     INCLUDEDIR=${includedir}

}

Could someone point me in the right direction, I feel this should be an 
extremely easy piece of software to build - I think I'm just not 
understanding the build system correctly....

The error I receive when trying to build this package is:

ERROR: Function 'do_install' failed (see 
/home/jack/yocto/poky-git/beagleInitial/tmp/work/armv5te-poky-linux-gnueabi/hiawatha-7.8.2-r0/temp/log.do_install.6289 
for further information)
| NOTE: make -j 9 -e MAKEFLAGS= -e install 
DESTDIR=/home/jack/yocto/poky-git/beagleInitial/tmp/work/armv5te-poky-linux-gnueabi/hiawatha-7.8.2-r0/image 
SBINDIR=/usr/sbin MANDIR=/usr/share/man INCLUDEDIR=/usr/include
| make: *** No rule to make target `install'.  Stop.
| ERROR: oe_runmake failed

Thanks in advance,
Jack.



             reply	other threads:[~2012-01-10 11:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-10 11:08 Jack Mitchell [this message]
2012-01-10 11:16 ` Trouble creating new package Martin Jansa
2012-01-10 11:21   ` Jack Mitchell
2012-01-10 13:20     ` Jack Mitchell
2012-01-10 13:38       ` James Abernathy
2012-01-10 13:39         ` Jack Mitchell
2012-01-10 13:50           ` Gary Thomas
2012-01-10 13:56             ` Jack Mitchell
2012-01-10 15:09               ` Jack Mitchell
2012-01-10 15:12     ` Chris Larson
2012-01-10 15:47     ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F0C1C26.6030301@communistcode.co.uk \
    --to=ml@communistcode.co.uk \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.