LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-12-2011, 08:03 AM   #1
strimp099
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 15
Installing Python NUMPY on Godaddy server


Greetings, I do not have root access to the server and I am trying to install NUMPY in my home directory. I have used virtual-python (http://svn.python.org/projects/sandb...tual-python.py) to essentially replicate the servers distro in my home directory, which works fine. However, I get some errors when I try to install that make me think there is no C compiler. I realize that there are missing dependencies but I think they're optional. Any help is appreciated.

[dolphinbay@p3nlh069 numpy-1.5.1]$ pwd
/home/content/d/o/l/dolphinbay/python/numpy-1.5.1
[dolphinbay@p3nlh069 numpy-1.5.1]$ python setup.py build --fcompiler=gnu95
Running from numpy source directory.non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 1
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
NOT AVAILABLE

atlas_blas_info:
libraries f77blas,cblas,atlas not found in /usr/local/lib
libraries f77blas,cblas,atlas not found in /usr/lib/sse2
libraries f77blas,cblas,atlas not found in /usr/lib
NOT AVAILABLE

/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/system_info.py:1399: 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:
libraries blas not found in /usr/local/lib
libraries blas not found in /usr/lib
NOT AVAILABLE

/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/system_info.py:1408: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
warnings.warn(BlasNotFoundError.__doc__)
blas_src_info:
NOT AVAILABLE

/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/system_info.py:1411: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
warnings.warn(BlasSrcNotFoundError.__doc__)
NOT AVAILABLE

lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE

NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
libraries lapack_atlas not found in /usr/lib/sse2
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_threads_info
NOT AVAILABLE

atlas_info:
libraries f77blas,cblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries f77blas,cblas,atlas not found in /usr/lib/sse2
libraries lapack_atlas not found in /usr/lib/sse2
libraries f77blas,cblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_info
NOT AVAILABLE

/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/system_info.py:1306: 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:
libraries lapack not found in /usr/local/lib
libraries lapack not found in /usr/lib
NOT AVAILABLE

/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/system_info.py:1317: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
NOT AVAILABLE

/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/system_info.py:1320: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.__doc__)
NOT AVAILABLE

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
build_src
building py_modules sources
building library "npymath" sources
customize Gnu95FCompiler
Found executable /home/content/d/o/l/dolphinbay/gcc/bin/gfortran
customize Gnu95FCompiler using config
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/include/python2.4 -c'
gcc: _configtest.c
gcc: error trying to exec 'as': execvp: No such file or directory
/home/content/d/o/l/dolphinbay/gcc/bin/../libexec/gcc/i686-pc-linux-gnu/4.6.0/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
gcc: error trying to exec 'as': execvp: No such file or directory
/home/content/d/o/l/dolphinbay/gcc/bin/../libexec/gcc/i686-pc-linux-gnu/4.6.0/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
File "setup.py", line 211, in ?
setup_package()
File "setup.py", line 204, in setup_package
configuration=configuration )
File "/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/core.py", line 186, in setup
return old_setup(**new_attr)
File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/command/build.py", line 37, in run
old_build.run(self)
File "/usr/lib/python2.4/distutils/command/build.py", line 112, in run
self.run_command(cmd_name)
File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/command/build_src.py", line 152, in run
self.build_sources()
File "/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/command/build_src.py", line 163, in build_sources
self.build_library_sources(*libname_info)
File "/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/command/build_src.py", line 298, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "/home/content/d/o/l/dolphinbay/python/numpy-1.5.1/numpy/distutils/command/build_src.py", line 385, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 683, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing python-numpy in the python2.5 installation of eee-pc zoopside Linux - Software 3 04-01-2009 08:42 PM
Installing Python package including numpy , scipy,mpi4py , pycxx , symeig madani Linux - Software 1 03-14-2009 07:22 PM
python error , import numpy ufmale Programming 2 08-26-2008 12:59 AM
Configuring ELM for godaddy SMTP server itgguest Linux - Newbie 0 01-17-2007 10:40 AM
Visual Python/Numpy uranologist Linux - Software 0 09-28-2003 11:08 PM


All times are GMT -5. The time now is 10:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration