I will attempt to install Gentoo Prefix on your system. To do so, I'll
ask you some questions first. After that, you'll have to practise
patience as your computer and I try to figure out a way to get a lot of
software packages compiled. If everything goes according to plan,
you'll end up with what we call "a Prefix install", but by that time,
I'll tell you more.

Do you want me to start off now? [Yn]

It seems to me you are 'gliverma' (70132), that looks cool to me.

I'm going to check for some variables in your environment now:
it appears CPPFLAGS is not set :)
it appears CFLAGS is not set :)
it appears CXXFLAGS is not set :)
it appears LDFLAGS is not set :)
it appears ASFLAGS is not set :)
it appears LD_LIBRARY_PATH is not set :)
it appears DYLD_LIBRARY_PATH is not set :)
it appears PKG_CONFIG_PATH is not set :)

I'm excited! Seems we can finally do something productive now.

Ok, I'm going to do a little bit of guesswork here. Thing is, your
machine appears to be identified by CHOST=sparc-sun-solaris2.9.

To me, it seems to be a big-endian machine. I told you before you need
patience, but with your machine, regardless how many CPUs you have, you
need some more. Context switches are just expensive, and guess what
fork/execs result in all the time. I'm going to make it even worse for
you, configure and make typically are fork/exec bombs.
I'm going to assume you're actually used to having patience with this
machine, which is good, because I really love a box like yours!

Ok, this is Solaris, or a derivative like OpenSolaris or OpenIndiana.
Sometimes, useful tools necessary at this stage are hidden. I'm going
to check if that's the case for your system too, and if so, add those
locations to your PATH.
./bootstrap-prefix.sh: type: illegal option: -P
type: usage: type [-apt] name [name ...]

Yikes! Your Solaris box doesn't come with gcc in /usr/sfw/blabla/bin?
What good is it to me then? I can't find a compiler! I'm afraid
you'll have to find a way to install the Sun FreeWare tools somehow, is
it on the Companion disc perhaps?
See me again when you figured it out.

I'm guessing your bash is either not really bash or is really old. You're getting errors from type -P, which was added something like 10 years ago (version 2.05b or thereabouts). This is probably also the cause of the wget problems, since behaviour like that would be expected if bash "[[" style tests didn't work.

I'm guessing your bash is either not really bash or is really old. You're getting errors from type -P, which was added something like 10 years ago (version 2.05b or thereabouts). This is probably also the cause of the wget problems, since behaviour like that would be expected if bash "[[" style tests didn't work.

Sorry for the long delay in responding! Here is what I get when I investigate your idea:

I'm guessing your bash is either not really bash or is really old. You're getting errors from type -P, which was added something like 10 years ago (version 2.05b or thereabouts). This is probably also the cause of the wget problems, since behaviour like that would be expected if bash "[[" style tests didn't work.

I took your idea and ran with it a bit more and I think the problem with -P is that the command "type" does not understand -P. I am looking into that. I am basing this off of reading a man page for it online that includes this line, which is not in the man page of the box I am working on:

Quote:

-P or --force-path either return the name of the disk file that would be executed if name were specified as a command name, or nothing no file with the specified name could be found in the PATH

Most stuff in Gentoo assumes at least bash 3, and sometimes bash 4, so you'll need to get a newer bash to continue. Poking around the prefix docs I found this script, to be invoked as ./bootstrap-bash.sh $EPREFIX/tmp. The script is designed to deal with a missing bash but should deal with an old one equally well.