I'm getting a bit of an odd error trying to build ATLAS. Sun Ultra 27, 3.33 GHz Xeon Solaris 10, 06/2006 64-bit build
To try to get this to work, I set CFLAGS=-m64 CXXFLAGS=-m64 FCFLAGS=-m64 SAGE64=yes (I know the first 2 are not necessary, but half the .spkgs only work accept SAGE64 if on OS X). Has anyone got a clue what is happening below. There appears to be a mix of * deprecated code * python not having the right module (_ctypes). Anyone know how I might add that? * Platform detected to be bits (I thought it had 64-bits!) * Some program called xconfig * gcc invoked without any flag for 64-bits (I'm used to sorting those out!) Anyone got any ideas about the other issues? Dave atlas-3.8.3.p9/src/src/auxil/ATL_gezero.c atlas-3.8.3.p9/src/src/auxil/ATL_gescal.c atlas-3.8.3.p9/src/src/auxil/ATL_hescal.c atlas-3.8.3.p9/src/src/auxil/ATL_axpy.c Finished extraction **************************************************** Host system uname -a: SunOS hawk 5.11 snv_111b i86pc i386 i86pc **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: i386-pc-solaris2.11 Configured with: ./configure --with-build-time-tools=/usr/ccs/bin --with-gmp=/usr/local --with-mpfr=/usr/local Thread model: posix gcc version 4.4.2 (GCC) **************************************************** Traceback (most recent call last): File "./bitwidth.py", line 2, in <module> import ctypes File "/export/home/drkirkby/sage-4.3/local/lib/python/ctypes/__init__.py", line 10, in <module> from _ctypes import Union, Structure, Array ImportError: No module named _ctypes Platform detected to be bits system_atlas.py:6: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module. fortran = os.popen2(os.environ['SAGE_LOCAL']+'/bin/'+'which_fortran')[1].read() /export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9 Deal with PPC4 7447 model and Itanium 2 Updating archinfo_x86.c Updating probe_comp.c Updating Make.top make[2]: Entering directory `/export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build' gcc -I/export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/include -g -w -c /export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/src/atlconf_misc.c gcc -I/export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/include -g -w -o xconfig /export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/src/config.c atlconf_misc.o make[2]: Leaving directory `/export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build' ./xconfig -d s /export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src/ -d b /export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build -Ss flapack /export/home/drkirkby/sage-4.3/local/lib/liblapack.a -Si cputhrchk 0 -Fa alg -fPIC -t 0 -C if /export/home/drkirkby/sage-4.3/local/bin/sage_fortran -b ERROR around arg 22 (out of arguments). USAGE: ./xconfig [flags] where flags are: -v <verb> : verbosity level -O <enum OSTYPE #> : set OS type -s <enum ASMDIA #> : set assembly dialect -A <enum MACHTYPE #> : set machine/architecture -V # # = ((1<<vecISA1) | (1<<vecISA2) | ... | (1<<vecISAN)) -b <32/64> : set pointer bitwidth -o <outfile> -C [xc,ic,if,sk,dk,sm,dm,al,ac] <compiler> -F [xc,ic,if,sk,dk,sm,dm,al,ac,gc] '<comp flags>' -Fa [xc,ic,if,sk,dk,sm,dm,al,ac,gc] '<comp flags to append>' al: append flags to all compilers ac: append flags to all C compilers gc: append flags to gcc compiler used in user-contributed index files. acg: append to all C compilers & the index gcc alg: append to all compilers & the index gcc -T <targ> : ssh target for cross-compilation (probably broken) -D [c,f] -D<mac>=<rep> : cpp #define to add to [CDEFS,F2CDEFS] eg. -D c -DL2SIZE=8388604 -D f -DADD__ -D f -DStringSunStyle -d [s,b] : set source/build directory -f <#> : size (in KB) to flush before timing -t <#> : set # of threads (-1: autodect; 0: no threading) -m <mhz> : set clock rate -S[i/s] <handle> <val> : special int/string arg -Si bozol1 <0/1> : supress/enable bozo L1 defaults -Si archdef <1/0> : enable/supress arch default use -Si nof77 <0/1> : Have/don't have fortran compiler -Si nocygwin <0/1> : Do/don't depend on GPL cygwin library (Windows compiler/cygwin install only) -Si cputhrchk <0/1> : Ignore/heed CPU throttle probe -Ss kern <path to comp> : use comp for all kernel compilers -Ss pmake <parallel make invocation (eg '$(MAKE) -j 4')> -Ss f77lib <path to f77 lib needed by C compiler> -Ss flapack <path to netlib lapack>: used to build full lapack lib -Ss [s,d]maflags 'flags' NOTE: enum #s can be found by : make xprint_enums ; ./xprint_enums xconfig exited with 22 make[2]: Entering directory `/export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build' make -f Make.top build make[3]: Entering directory `/export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build' make[3]: Make.top: No such file or directory make[3]: *** No rule to make target `Make.top'. Stop. make[3]: Leaving directory `/export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build' make[2]: *** [build] Error 2 make[2]: Leaving directory `/export/home/drkirkby/sage-4.3/spkg/build/atlas-3.8.3.p9/ATLAS-build' Failed to build ATLAS. Failed to build ATLAS. real 0m0.721s user 0m0.336s sys 0m0.399s sage: An error occurred while installing atlas-3.8.3.p9 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org