Solaris compiler setup ?

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Sat Oct 27 12:45:05 PDT 2012


On 2012-10-27 02:15, David Holmes wrote:
> > /usr/bin/which /usr/sfw/bin/gmake
> /usr/sfw/bin/gmake
>
> > /usr/bin/which /usr/sfw/bin/gmake > /dev/null
> >
>
> > /usr/bin/which /usr/sfw/bin/gmake 2> /dev/null
> /usr/sfw/bin/gmake
>
> stdout (which I would expect and which is what 'which' does on linux too)

So that is like it should. I have no clue to as why it doesn't work in 
configure. However, the workaround I added seem to solve to problem so I 
think it'll just have to remain one of life's small mysteries. :)

> So the problem here is that for something not found, which reports:
>
>  > which autoconf
> no autoconf in /java/east/jdk/7/latest/solaris-i586//bin 
> /usr/local/bin /java/devtools/i386/SUNWspro/SS12u1/bin 
> /java/devtools/i386/teamware/7.7/bin /java/jdk/bin/ 
> /java/devtools/share/bin /java/devtools/i386/bin . /usr/X11/bin/ 
> /usr/ccs/bin /opt/sfw/bin /home/daholme/bin /usr/dt/bin 
> /usr/openwin/bin /usr/ccs/bin /usr/bin /bin /usr/sbin /sbin /usr/ucb 
> /usr/local/bin /usr/dist/local/exe /usr/sfw/bin /usr/dist/exe 
> /usr/lib/lp/postscript . 
> /net/backpack.us.oracle.com/archives/jprt/east/dist/bin/
>
> and that also goes to stdout.

Ah, that is a bit unusual, having that on stdout instead of stderr. Hm. 
Mabe we should filter out "^no X in Y" as well. Argh. It sucks to do 
shell script additions to before running the autoconf script, since this 
kind of ugliness is what it's designed to take care of. Now we're left 
with all the mess.

/Magnus



More information about the build-infra-dev mailing list