pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't bootstrap pkgsrc-current on Solaris 10



    Date:        Tue, 2 Oct 2018 21:24:50 -0400
    From:        Julien Savard <juliensavard17%gmail.com@localhost>
    Message-ID:  <CAFVXn8SCtKnN8xvx1APzKmU-Qu+YK0-5agEczcbjWyO9_B8peA%mail.gmail.com@localhost>

  | configure: error: cannot run /bin/sh ./config.sub
  | *** Error code 1

Try running

	/bin/sh config.sub sun4

and see what happens.   When run from configure stdout and stderr are
redirected, so no error messages appear.

It should just print something like

	sparc-sun-sunos4.1.1

and do nothing else, but in your case it appears to be failing for
some reason.   Perhaps /bin/sh is not a good enough shell for the
script - you mighht need to set SHELL to /bin/ksh (or some other
sh - perhaps /usr/xpg4/sh or wherever it is).

Certainly the version of gcc is irrelevant for this, it is simply a shell 
script failing in some way.

If it prints nothing at all, and simply exits with a non-zero status, then
add tthe -x option to show how far it gets ...

	/bin/sh -x config.sub sun4

(you need to be in the pkgsrc/pkgtools/libnbcompat/files ditrectory to
find config.sub for all of this.)

kre



Home | Main Index | Thread Index | Old Index