leif wrote:
Jan Groenewald wrote:
And the whole output from make:

0 jan@kontiki:~/src/sage-5.9$make
cd spkg && \
     "../spkg/pipestatus" \
         "env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \
         "tee -a ../logs/install.log"
/home/jan/src/sage-5.9/spkg/bin/testcc.sh: 134:
/home/jan/src/sage-5.9/spkg/bin/testcc.sh: /usr/bin/colorgcc: not found
Installing GCC because your '/usr/bin/colorgcc' isn't GCC (GNU CC).
make[1]: Entering directory `/home/jan/src/sage-5.9/spkg'
make base
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/jan/src/sage-5.9/spkg'
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
CC=/usr/bin/colorgcc

Where t** f*** does that come from?

Simply 'unset CC', and things should go fine...


P.S.:  Wonder whether we should catch that:

# This also works if CC isn't set at all, but we could prepend
# [ -n "$CC" ] &&
# for clarity.

if ! command -v $CC >/dev/null; then
    echo >&2 "Error: Your setting of CC (=$CC) is invalid."
    exit 1
fi

(Probably similar for other env vars like CXX, CPP, LD, AS, FC, whatever ...)


-leif

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to