On Fri, Mar 19, 2004, Mark Gj�l wrote:
> ... That didn't give much feedback... Upon inspecting the TMP directory
> I find the variable: MAKE=make, which I'd think should be changed, when
> I've defined that gmake should be used as make... Anyone?
Where exactly do you see this ?
Yesterday i tried the command:
openpkg rpm --define "use_cc /opkg/bin/gcc" --define "use_make /usr/ccs/bin/make"
--rebuild /pub/openpkg/release/SRC/make-3.80-2.0.0.src.rpm
and it worked for me:
..
config.status: creating po/POTFILES
config.status: creating po/Makefile
+ /usr/ccs/bin/make
/usr/ccs/bin/make all-recursive
Making all in glob
..
Though, i tried it under Solaris-8/x86. So i gave up.
Oh, where do the parameters "--no-print-directory -j4" come from in
your case ? Or why are they missing in my case ?
I just retried with "use_make /opkg/bin/gmake":
..
config.status: creating po/POTFILES
config.status: creating po/Makefile
+ /opkg/bin/gmake --no-print-directory -j4
/opkg/bin/gmake all-recursive
Making all in glob
..
So there seems to be some black magic that "recognizes" gmake. It still
works for me, though.
I looked into $prefix/etc/openpkg/rpmmacros. %{l_make} is defined as
rpmmacros:%l_make %{l_tool_locate make make}
.. and when i saw l_tool_locate, i broke together.
Do you have something in your $HOME/.rpmmacros ?
(mk)
>
> On Thu, Mar 18, 2004 at 01:53:59PM +0100, Mark Gj�l wrote:
> > I'm installing openpkg on a SUN ultraSPARC running Solaris 9.
> >
> > I've bootstrapped the system with:
> > sh openpkg-2.0.0-2.0.0.src.sh --prefix=/opt/openpkg/2.0/
> > sh openpkg-2.0.0-2.0.0.sparc64-solaris9-oo2.sh
> >
> > Then I ran the eval script:
> > eval `/opt/openpkg/2.0/etc/rc --eval all env`
> >
> > So all should be fine. Now... I thought it would probably be a good idea
> > to install gcc and make and such basic packages, so I ran:
> > openpkg rpm --define "use_cc /opt/sfw/gcc-3.2/bin/gcc" --define
> > "use_make /opt/sfw/bin/gmake" --rebuild
> > ftp://ftp.openpkg.org/release/2.0/SRC/make-3.80-2.0.0.src.rpm
> >
> > And this is where the story comes to a grinding halt... After a bunch of
> > configure lines I get:
> > config.status: executing default-1 commands
> > config.status: creating po/POTFILES
> > config.status: creating po/Makefile
> > + /opt/sfw/bin/gmake --no-print-directory -j4
> > make all-recursive
> > /bin/bash: make: command not found
> > gmake: *** [all] Error 127
> > error: Bad exit status from /opt/openpkg/2.0/RPM/TMP/rpm-tmp.5915
> > (%build)
> >
> > I know gmake is where I said it was. I've told openpkg to use that
> > gmake, but even if it chooses not to I have a handy SUN make located
> > cozilly in /usr/xpg4/bin/make... What's wrong?
--
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
>> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]