linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problems rebuilding the DENX ELDK
@ 2003-07-24  7:14 Steven Scholz
  2003-07-24  7:58 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Steven Scholz @ 2003-07-24  7:14 UTC (permalink / raw)
  To: Linuxppc-Embedded


Hi there,

I am trying to rebuild the great DENX's ELDK from scratch.
My host is a SuSE 8.2 system.
The first obstacle is that some packages won't build with recent
automake/autoconf version. So I got some old versions built and
installed them on my system.

Now the first step - build the RPM - works. I do get a rpm binary in
/opt/eldk/build/ppc-2003-07-23/work/bin

But the next step - build the target RPM from eldt - fails:

The log shows:

+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
'--infodir=${prefix}/share/info' '--mandir=${prefix}/share/man'
--enable-shared=no --enable-static=yes --with-target-arch=ppc
creating cache ./config.cache
...
Finding  Provides: (using
/opt/eldk/build/ppc-2003-07-23/work/usr/lib/rpm/find-provides)...
PreReq: /bin/sh /bin/sh rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Conflicts: patch < 2.5
Processing files: rpm-devel-4.0.3-1.03b_3
Executing(%doc): /bin/sh -e
/opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-tmp.42006
+ umask 022
+ cd /opt/eldk/build/ppc-2003-07-23/work/usr/src/denx/BUILD
+ cd rpm-4.0.3
+
DOCDIR=/opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-root/usr/share/doc/rpm-devel-4.0.3
+ export DOCDIR
+ rm -rf
/opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-root/usr/share/doc/rpm-devel-4.0.3
+ /bin/mkdir -p
/opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-root/usr/share/doc/rpm-devel-4.0.3
+ cp -pr apidocs
/opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-root/usr/share/doc/rpm-devel-4.0.3
+ exit 0
Finding  Provides: (using
/opt/eldk/build/ppc-2003-07-23/work/usr/lib/rpm/find-provides)...
PreReq: rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: rpm = 4.0.3
Processing files: rpm-build-4.0.3-1.03b_3
Finding  Provides: (using
/opt/eldk/build/ppc-2003-07-23/work/usr/lib/rpm/find-provides)...
PreReq: rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: rpm = 4.0.3
Processing files: popt-1.6.3-1.03b_3
Finding  Provides: (using
/opt/eldk/build/ppc-2003-07-23/work/usr/lib/rpm/find-provides)...
PreReq: rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
error: /opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-tmp.62141:
Fseek failed: Invalid argument


????


I am confused! 3.0.4 is the version of rpm that comes with SuSE 8.2.
But I thought ELDK builds the rpm with "--enable-static=yes". So why
is he asking for "rpmlib(CompressedFileNames) <= 3.0.4-1" ???

Thanks a million!

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Problems rebuilding the DENX ELDK
@ 2003-07-24 12:34 Wells, Charles
  0 siblings, 0 replies; 7+ messages in thread
From: Wells, Charles @ 2003-07-24 12:34 UTC (permalink / raw)
  To: 'Steven Scholz'; +Cc: Linuxppc-Embedded


Steve,

> I'd love to understand this whole automake/autoconf/rpm stuff?

You may already know about the following book:

GNU Autoconf, Automake, and Libtool
Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
ISBN 1578701902

I've found it helpful for the automake/autoconf stuff.

Regards,
Charlie

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Problems rebuilding the DENX ELDK
@ 2003-07-24 12:45 Holger L. Bille
  0 siblings, 0 replies; 7+ messages in thread
From: Holger L. Bille @ 2003-07-24 12:45 UTC (permalink / raw)
  To: Linuxppc-Embedded


> > I'd love to understand this whole automake/autoconf/rpm stuff?
>
> You may already know about the following book:
>
> GNU Autoconf, Automake, and Libtool
> Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
> ISBN 1578701902

And here's the online version:
http://sources.redhat.com/autobook/

Best regards,
_____________________________________

Holger Lindeberg Bille
Software Design Engineer
Vitesse Semiconductor Corporation A/S
Ethernet Products Group
Hoerkaer 16,  DK-2730 Herlev, DENMARK
Direct: +45 4485 5914, Mobile: +45 5190 9110
Phone: +45 4485 5900, Fax: +45 4485 5901
mail: hlb@vitesse.com
web: http://www.vitesse.com
_____________________________________

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-24 14:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-24  7:14 Problems rebuilding the DENX ELDK Steven Scholz
2003-07-24  7:58 ` Wolfgang Denk
2003-07-24  8:18   ` Steven Scholz
2003-07-24 10:47     ` Wolfgang Denk
2003-07-24 14:25       ` Steven Scholz
  -- strict thread matches above, loose matches on Subject: below --
2003-07-24 12:34 Wells, Charles
2003-07-24 12:45 Holger L. Bille

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).