[ELDK] ELDK4.2 Building httpd-2.2.4-4.1.src.rpm Failed

camel joe camel4joe at gmail.com
Sat Jun 20 00:07:29 CEST 2009


On Fri, Jun 19, 2009 at 2:18 PM, Wolfgang Denk<wd at denx.de> wrote:
> Please RTFM, see section "3.8.2. Rebuilding Target Packages", and make


OK, resending what I did, after strictly following section 3.8.2:

[AMCC jchen at lifeson denx]$ echo $PATH
/opt/eldk/usr/bin:/opt/eldk/bin:/opt/eldk/sbin:/opt/eldk/usr/ppc-linu/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/home/jchen/bin
[AMCC jchen at lifeson denx]$ echo $CROSS_COMPILE
ppc_4xx-
[AMCC jchen at lifeson denx]$
[AMCC jchen at lifeson denx]$ ${CROSS_COMPILE}rpm -iv
/mnt/dvdrw/target/SRPMS/httpd-2.2.4-4.1.src.rpm
httpd-2.2.4-4.1
[AMCC jchen at lifeson denx]$
[AMCC jchen at lifeson denx]$ ${CROSS_COMPILE}rpmbuild -ba
/opt/eldk/usr/src/denx/SPECS/httpd.spec

and then come build outputs, and then the single error:

config.status: executing default commands
+ sed -e /LIBTOOL/s/top_builddir/apr_builddir/ srclib/apr/build/apr_rules.mk
sed: can't read srclib/apr/build/apr_rules.mk: No such file or directory
error: Bad exit status from /opt/eldk/var/tmp/rpm-tmp.98756 (%build)


RPM build errors:
    Bad exit status from /opt/eldk/var/tmp/rpm-tmp.98756 (%build)

As I see it, the cause is the non-existing file name apr_rules.mk.  I
used "find" command to search it from /opt/eldk/usr/src/denx, but to
no avail.

--Joe


More information about the eldk mailing list