[ELDK] Rebuilding target package!

H Aslam hassan-aslam at hotmail.com
Tue Feb 17 18:00:13 CET 2009

I'm trying to rebuild the perl target package but I'm running into some problems...

Got this src.rpm:




# echo $PATH


# ${CROSS_COMPILE}rpm -iv perl-5.8.8-18.src.rpm

# ${CROSS_COMPILE}rpmbuild -ba /opt/eldk/ppc_4xx/usr/src/denx/SPECS/perl.spec

I'm getting following error:

make[1]: Entering directory `/opt/eldk/usr/src/denx/BUILD/perl-5.8.8'
echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist
make[1]: Leaving directory `/opt/eldk/usr/src/denx/BUILD/perl-5.8.8'
Updating makefile...
test -s perlmain.c && touch perlmain.c
cd x2p; make depend
make[1]: Entering directory `/opt/eldk/usr/src/denx/BUILD/perl-5.8.8/x2p'
sh ../makedepend MAKE=make
make[2]: Entering directory `/opt/eldk/usr/src/denx/BUILD/perl-5.8.8/x2p'
echo hash.c  str.c util.c walk.c | tr ' ' '\n' >.clist
make[2]: Leaving directory `/opt/eldk/usr/src/denx/BUILD/perl-5.8.8/x2p'
Finding dependencies for hash.o.
Finding dependencies for str.o.
Finding dependencies for util.o.
Finding dependencies for walk.o.
make[2]: Entering directory `/opt/eldk/usr/src/denx/BUILD/perl-5.8.8/x2p'
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
make[2]: Leaving directory `/opt/eldk/usr/src/denx/BUILD/perl-5.8.8/x2p'
Updating makefile...
make[1]: Leaving directory `/opt/eldk/usr/src/denx/BUILD/perl-5.8.8/x2p'
+ mkdir host_libs
+ make
make: *** No rule to make target `<command', needed by `miniperlmain.o'.  Stop.
error: Bad exit status from /opt/eldk/var/tmp/rpm-tmp.73225 (%build)

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

News, entertainment and everything you care about at Live.com. Get it now!

More information about the eldk mailing list