case $MAKEFLAGS in  *-s*)  CC='ccache /sw/local/bin/gcc -pthread' LDSHARED='./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;;  *)  CC='ccache /sw/local/bin/gcc -pthread' LDSHARED='./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;;  esac
running build
running build_ext
building 'struct' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/structmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/struct.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'regex' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/regexmodule.o build/temp.aix-4.2-2.4/regexpr.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/regex.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'pcre' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/pcremodule.o build/temp.aix-4.2-2.4/pypcre.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/pcre.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_hotshot' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/_hotshot.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/_hotshot.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_weakref' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/_weakref.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/_weakref.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'xreadlines' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/xreadlinesmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/xreadlines.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'array' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/arraymodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/array.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'cmath' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/cmathmodule.o -L/usr/local/lib -lm -o build/lib.aix-4.2-2.4/cmath.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'math' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/mathmodule.o -L/usr/local/lib -lm -o build/lib.aix-4.2-2.4/math.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'strop' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/stropmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/strop.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'time' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/timemodule.o -L/usr/local/lib -lm -o build/lib.aix-4.2-2.4/time.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'datetime' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/datetimemodule.o -L/usr/local/lib -lm -o build/lib.aix-4.2-2.4/datetime.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_random' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/_randommodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/_random.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'itertools' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/itertoolsmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/itertools.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'heapq' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/heapqmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/heapq.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'operator' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/operator.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/operator.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_testcapi' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/_testcapimodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/_testcapi.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'unicodedata' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/unicodedata.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/unicodedata.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_locale' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/_localemodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/_locale.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'fcntl' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/fcntlmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/fcntl.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'pwd' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/pwdmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/pwd.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'grp' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/grpmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/grp.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'select' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/selectmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/select.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'md5' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/md5module.o build/temp.aix-4.2-2.4/md5c.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/md5.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'sha' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/shamodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/sha.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'binascii' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/binascii.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/binascii.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'parser' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/parsermodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/parser.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'cStringIO' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/cStringIO.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/cStringIO.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'cPickle' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/cPickle.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/cPickle.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'mmap' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/mmapmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/mmap.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'rotor' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/rotormodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/rotor.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'syslog' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/syslogmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/syslog.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'timing' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/timingmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/timing.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'audioop' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/audioop.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/audioop.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'imageop' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/imageop.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/imageop.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'rgbimg' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/rgbimgmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/rgbimg.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'readline' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/readline.o -L/usr/lib/termcap -L/usr/local/lib -lreadline -lcurses -o build/lib.aix-4.2-2.4/readline.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'crypt' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/cryptmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/crypt.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_csv' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/_csv.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/_csv.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_socket' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/socketmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/_socket.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_ssl' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/_ssl.o -L/usr/local/lib -lssl -lcrypto -o build/lib.aix-4.2-2.4/_ssl.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'dbm' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/dbmmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/dbm.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'mpz' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/mpzmodule.o -L/usr/local/lib -lgmp -o build/lib.aix-4.2-2.4/mpz.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'termios' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/termios.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/termios.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'resource' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/resource.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/resource.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'nis' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/nismodule.o -L/usr/local/lib -lnsl -o build/lib.aix-4.2-2.4/nis.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_curses' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/_cursesmodule.o -L/usr/local/lib -lcurses -o build/lib.aix-4.2-2.4/_curses.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'pyexpat' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/pyexpat.o build/temp.aix-4.2-2.4/xmlparse.o build/temp.aix-4.2-2.4/xmlrole.o build/temp.aix-4.2-2.4/xmltok.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/pyexpat.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building 'dl' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/dlmodule.o -L/usr/local/lib -o build/lib.aix-4.2-2.4/dl.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
building '_tkinter' extension
./Modules/ld_so_aix ccache /sw/local/bin/gcc -pthread -bI:Modules/python.exp build/temp.aix-4.2-2.4/_tkinter.o build/temp.aix-4.2-2.4/tkappinit.o -L/usr/X11/lib -L/usr/local/lib -ltk8.4 -ltcl8.4 -lld -lX11 -o build/lib.aix-4.2-2.4/_tkinter.so
:: Too many arguments.
ld_so_aix: Compiler 'ccache' not found; exiting.
running build_scripts
	 ./python -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
	find ./Lib -name '*.py[co]' -print | xargs rm -f
	 ./python -E -tt ./Lib/test/regrtest.py -x test_pwd test_nis -x test_tempfile -x test_sunaudiodev 
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 75, in ?
    import random
  File "/tmp_mnt/mp/slaskdisk/tmp/xenofarm/python/hal.lysator.liu.se/buildtmp/dist/python/dist/src/Lib/random.py", line 44, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: No module named math
make: The error code from the last command is 1.
make: Ignored error code 1 from last command.
	 ./python -E -tt ./Lib/test/regrtest.py -x test_pwd test_nis -x test_tempfile -x test_sunaudiodev 
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 75, in ?
    import random
  File "/tmp_mnt/mp/slaskdisk/tmp/xenofarm/python/hal.lysator.liu.se/buildtmp/dist/python/dist/src/Lib/random.py", line 44, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: No module named math
make: The error code from the last command is 1.


Stop.