-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This was the answer from David Baudens, I re-post this problem Saturday ;-)
> Thanks, I forgot to inform cooker-ppc: > > cd /usr/lib/rpm > ln -s ppc-mandrake-linux ppcpseries-linux > > fix the problem. Thansk to David B. Le Lundi 6 Mai 2002 06:00, Ben Reser a �crit : > On Thu, Mar 28, 2002 at 06:18:48AM -0500, Stew Benedict wrote: > > > I haven't (yet) find a mdk package with %make in build step but at > > > http://nanardon.homelinux.org/mdk.php you will find xsnow. I rebuild > > > this package for me and send it to Lenny, it is not (yet) on contrib > > > but it work very fine on x86 cooker. Can you test it on your system. > > > > > > For I have: > > > + cd xsnow-1.42 > > > + xmkmf > > > mv -f Makefile Makefile.bak > > > imake -DUseInstalled -I/usr/X11R6/lib/X11/config > > > + %make depend > > > /net/tmp/rpm-tmp.45456: fg: no job control > > > error: Bad exit status from /net/tmp/rpm-tmp.45456 (%build) > > > > Lot's of packages use %make. For some reason it's not being interpreted > > on your system: > > > > + cd xsnow-1.42 > > + exit 0 > > Executing(%build): /bin/sh -e /home/stew/tmp/rpm-tmp.12047 > > + umask 022 > > + cd /home/stew/rpm/BUILD > > + cd xsnow-1.42 > > + xmkmf > > mv -f Makefile Makefile.bak > > imake -DUseInstalled -I/usr/X11R6/lib/X11/config > > + make depend > > makedepend -- -I/usr/X11R6/include -Dlinux -D__powerpc__ > > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE > > -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DUSE_MAKEDEPEND -- > > xsnow.c toon_root.c xsnow.h vroot.h > > + make > > > > xsnow built fine here. > > > > %make is not much as rpm macros go: > > > > [stew@powerbook-cooker SPECS]$ rpm --eval=%make > > make > > > > [stew@powerbook-cooker SPECS]$ grep make /usr/lib/rpm/macros > > %__make /usr/bin/make > > Umm Stew I'm having this same problem on a fresh 8.2 install! > > %__make != %make > Seems to be your build environment is not a stock one. > > There is more to %make than to %__make. > > From my 8.2/ppc system: > [root@titanium SPECS]# rpm --eval=%make > %make > [root@titanium SPECS]# rpm --eval=%__make > /usr/bin/make > [root@titanium SPECS]# grep make /usr/lib/rpm/macros > %__make /usr/bin/make > %__automake automake > # The make install analogue of %configure: > %makeinstall \ > make \\\ > # regenerate all autoconf/automake files > # optionally change to a directory (make the directory if requested). > echo "Running automake --gnu ${am_opt} ..."; \ > %{__automake} --add-missing --gnu ${am_opt}; \ > > From a 8.1/x86 system: > [breser@stream breser]$ rpm --eval=%make > > if [ -z "$NPROCS" ]; then NPROCS=`egrep -c ^cpu[0-9]+ /proc/stat || :`; > fi if [ -z "$NPROCS" -o "$NPROCS" -le "0" ]; then > NPROCS=1 > fi > make -j$NPROCS > > Any suggestions? - -- Linux pour Mac !? Enfin le moyen de transformer une pomme en v�ritable ordinateur. - JL. Olivier Thauvin - http://nanardon.homelinux.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjzWJ6kACgkQk29cDOWzfVA16wCgiJUMyOxJO22zni5lYDafYdH/ vScAoMr88rs5tD5ew+jDuZbS7ebqTEvX =1tb5 -----END PGP SIGNATURE-----
