I get the following problem when trying to make a 64-bit build of Sage on Open
Solaris (Intel Xeon processor). I would add the build of ATLAS failed, so I had
to just skip that.
numpy-1.3.0.p2/src/MANIFEST.in
numpy-1.3.0.p2/.hgtags
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: ../gcc-4.3.4/configure
--prefix=/usr/local/gcc-4.3.4-GNU-assembler-Sun-linker
--with-as=/usr/local/binutils-2.20/bin/as --with-ld=/usr/ccs/bin/ld
--with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.3.4 (GCC)
****************************************************
Running from numpy source directory.
F2PY Version 2
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in
/export/home/drkirkby/sage-4.3.1.alpha1/local/lib
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in
/export/home/drkirkby/sage-4.3.1.alpha1/local/lib
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in
/export/home/drkirkby/sage-4.3.1.alpha1/local/lib
NOT AVAILABLE
/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2/src/numpy/distutils/system_info.py:1383:
UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
FOUND:
libraries = ['blas']
library_dirs = ['/export/home/drkirkby/sage-4.3.1.alpha1/local/lib']
language = f77
FOUND:
libraries = ['blas']
library_dirs = ['/export/home/drkirkby/sage-4.3.1.alpha1/local/lib']
define_macros = [('NO_ATLAS_INFO', 1)]
language = f77
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in
/export/home/drkirkby/sage-4.3.1.alpha1/local/lib
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in
/export/home/drkirkby/sage-4.3.1.alpha1/local/lib
libraries lapack_atlas not found in
/export/home/drkirkby/sage-4.3.1.alpha1/local/lib
numpy.distutils.system_info.atlas_threads_info
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in
/export/home/drkirkby/sage-4.3.1.alpha1/local/lib
libraries lapack_atlas not found in
/export/home/drkirkby/sage-4.3.1.alpha1/local/lib
numpy.distutils.system_info.atlas_info
NOT AVAILABLE
/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2/src/numpy/distutils/system_info.py:1290:
UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
FOUND:
libraries = ['lapack']
library_dirs = ['/export/home/drkirkby/sage-4.3.1.alpha1/local/lib']
language = f77
FOUND:
libraries = ['lapack', 'blas']
library_dirs = ['/export/home/drkirkby/sage-4.3.1.alpha1/local/lib']
define_macros = [('NO_ATLAS_INFO', 1)]
language = f77
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler
options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler
options
running build_src
building py_modules sources
creating build
creating build/src.solaris-2.11-i86pc-2.6
creating build/src.solaris-2.11-i86pc-2.6/numpy
creating build/src.solaris-2.11-i86pc-2.6/numpy/distutils
building library "npymath" sources
creating build/src.solaris-2.11-i86pc-2.6/numpy/core
creating build/src.solaris-2.11-i86pc-2.6/numpy/core/src
conv_template:> build/src.solaris-2.11-i86pc-2.6/numpy/core/src/npy_math.c
building extension "numpy.core._sort" sources
Generating build/src.solaris-2.11-i86pc-2.6/numpy/core/include/numpy/config.h
customize Sage_FCompiler_1
customize Sage_FCompiler_1
customize Sage_FCompiler_1 using config
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC
compile options: '-Inumpy/core/src -Inumpy/core/include
-I/export/home/drkirkby/sage-4.3.1.alpha1/local/include/python2.6 -c'
gcc: _configtest.c
In file included from
/export/home/drkirkby/sage-4.3.1.alpha1/local/include/python2.6/Python.h:58,
from _configtest.c:1:
/export/home/drkirkby/sage-4.3.1.alpha1/local/include/python2.6/pyport.h:685:2:
error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
In file included from
/export/home/drkirkby/sage-4.3.1.alpha1/local/include/python2.6/Python.h:58,
from _configtest.c:1:
/export/home/drkirkby/sage-4.3.1.alpha1/local/include/python2.6/pyport.h:685:2:
error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
File "setup.py", line 172, in <module>
setup_package()
File "setup.py", line 165, in setup_package
configuration=configuration )
File
"/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2/src/numpy/distutils/core.py",
line 184, in setup
return old_setup(**new_attr)
File
"/export/home/drkirkby/sage-4.3.1.alpha1/local/lib/python/distutils/core.py",
line 152, in setup
dist.run_commands()
File
"/export/home/drkirkby/sage-4.3.1.alpha1/local/lib/python/distutils/dist.py",
line 975, in run_commands
self.run_command(cmd)
File
"/export/home/drkirkby/sage-4.3.1.alpha1/local/lib/python/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File
"/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2/src/numpy/distutils/command/install.py",
line 49, in run
r = old_install.run(self)
File
"/export/home/drkirkby/sage-4.3.1.alpha1/local/lib/python/distutils/command/install.py",
line 577, in run
self.run_command('build')
File
"/export/home/drkirkby/sage-4.3.1.alpha1/local/lib/python/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/export/home/drkirkby/sage-4.3.1.alpha1/local/lib/python/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File
"/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2/src/numpy/distutils/command/build.py",
line 37, in run
old_build.run(self)
File
"/export/home/drkirkby/sage-4.3.1.alpha1/local/lib/python/distutils/command/build.py",
line 134, in run
self.run_command(cmd_name)
File
"/export/home/drkirkby/sage-4.3.1.alpha1/local/lib/python/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/export/home/drkirkby/sage-4.3.1.alpha1/local/lib/python/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File
"/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2/src/numpy/distutils/command/build_src.py",
line 130, in run
self.build_sources()
File
"/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2/src/numpy/distutils/command/build_src.py",
line 147, in build_sources
self.build_extension_sources(ext)
File
"/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2/src/numpy/distutils/command/build_src.py",
line 250, in build_extension_sources
sources = self.generate_sources(sources, ext)
File
"/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2/src/numpy/distutils/command/build_src.py",
line 307, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 286, in generate_config_h
moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
File "numpy/core/setup.py", line 30, in check_types
out = check_types(*a, **kw)
File "numpy/core/setup.py", line 186, in check_types
"Cannot compiler 'Python.h'. Perhaps you need to "\
SystemError: Cannot compiler 'Python.h'. Perhaps you need to install
python-dev|python-devel.
Error building numpy.
real 0m0.385s
user 0m0.249s
sys 0m0.126s
sage: An error occurred while installing numpy-1.3.0.p2
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /export/home/drkirkby/sage-4.3.1.alpha1/install.log. Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2 and type 'make
check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/export/home/drkirkby/sage-4.3.1.alpha1/spkg/build/numpy-1.3.0.p2' &&
'/export/home/drkirkby/sage-4.3.1.alpha1/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/numpy-1.3.0.p2] Error 1
make[1]: Leaving directory `/export/home/drkirkby/sage-4.3.1.alpha1/spkg'
real 0m0.841s
user 0m0.561s
sys 0m0.287s
Error building Sage.
--
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