[SciPy-user] failure to build scipy on RHEL5

Michael Hearne mhearne at usgs.gov
Fri Apr 25 16:27:23 EDT 2008


Paul (or anyone) - You're right, there are other dependencies:

error: Failed dependencies:
	libamd.so.2()(64bit) is needed by python-scipy-0.6.0-3.el5.x86_64
	libfftw3.so.3()(64bit) is needed by python-scipy-0.6.0-3.el5.x86_64
	libumfpack.so.5()(64bit) is needed by python-scipy-0.6.0-3.el5.x86_64

I did some searching around and found that libamd and libumfpack are  
both included in something called SparseSuite (http://www.cise.ufl.edu/research/sparse/SuiteSparse/ 
).

I found links to the RPM for this package here:

http://rpm.pbone.net/index.php3/stat/4/idpl/4852092/com/suitesparse-3.0.0-1.el5.i386.rpm.html

but unfortunately can't connect to any of the mirrors.

Does anyone have any tips or pre-made RPMs for SparseSuite or the two  
libraries mentioned above?

I haven't even started to look for the FFT library yet...

--Mike
On Apr 24, 2008, at 7:31 PM, Paul Barrett wrote:

> Mike,
>
> Attached are the following RPMs:
>
> atlas, blas, lapack, python-numpy, python-scipy
>
> You may need some additional packages such as fftw3, etc. which are
> readily available in one or more repositories.
>
> I'll send the devel RPMs in the next email.
>
> I hope that you get them.
>
> -- Paul
>
> On Thu, Apr 24, 2008 at 6:22 PM, Michael Hearne <mhearne at usgs.gov>  
> wrote:
>> Yes.
>>
>>
>>
>> On Apr 24, 2008, at 2:27 PM, Paul Barrett wrote:
>> Mike,
>>
>> Are you on a 64 bit platform?
>>
>> -- Paul
>>
>> On Thu, Apr 24, 2008 at 12:52 PM, Michael Hearne <mhearne at usgs.gov>  
>> wrote:
>> Paul - I apologize if you get two responses - it's not clear if my  
>> email
>> client actually delivered another email I just sent on this topic.
>>
>> In answer to your offer - yes, that would be great if I could get  
>> the RPMs,
>> as I am completely unable to compile scipy on my own.  I'm using  
>> f77, and
>> getting complaints about not having a Fortran 90 compiler, and not  
>> having
>> compiled with LAPACK with -fPIC (which I certainly _tried_ to do).
>>
>> Anyway, if you have time to put them on EPEL, that would help me and
>> hopefully other frustrated RHEL users out there.  Otherwise, let me  
>> know the
>> best way for me to get the files.
>>
>> Thanks,
>>
>> Mike
>>
>>
>>
>> On Apr 23, 2008, at 4:17 PM, Paul Barrett wrote:
>> Mike,
>>
>> I have numpy, scipy, and matplotlib RPMs for EL5 x86_64, if you want
>> them.  I also think that I have the i386 ones too, but the SRPMs are
>> of course available.
>>
>> I've been meaning to offer them to the EPEL repository, but I haven't
>> made the time.
>>
>> -- Paul
>>
>>
>> On Wed, Apr 23, 2008 at 5:59 PM, Robert Kern  
>> <robert.kern at gmail.com> wrote:
>> On Wed, Apr 23, 2008 at 4:53 PM, Michael Hearne <mhearne at usgs.gov>  
>> wrote:
>>
>> Wasn't sure how far back to go, so here's several more lines' worth:
>>
>> Here's the important one:
>>
>>
>> /usr/bin/ld: /usr/local/lib/libfblas.a(cgemm.o): relocation
>> R_X86_64_32 against `a local symbol' can not be used when making a
>> shared object; recompile with -fPIC
>> /usr/local/lib/libfblas.a: could not read symbols: Bad value
>>
>> You need to compile BLAS to be relocatable using the -fPIC flag to  
>> the
>> compilation flags. If you are following the directions on that wiki
>> strictly, replace this line:
>>
>>  g77 -fno-second-underscore -O2 -c *.f
>>
>> with this line:
>>
>>  g77 -fPIC -fno-second-underscore -O2 -c *.f
>>
>>
>>
>> --
>> Robert Kern
>>
>> "I have come to believe that the whole world is an enigma, a harmless
>> enigma that is made terrible by our own mad attempt to interpret it  
>> as
>> though it had an underlying truth."
>>  -- Umberto Eco
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>
>>
>>
>>
>> ------------------------------------------------------
>> Michael Hearne
>> mhearne at usgs.gov
>> (303) 273-8620
>> USGS National Earthquake Information Center
>> 1711 Illinois St. Golden CO 80401
>> Senior Software Engineer
>> Synergetics, Inc.
>> ------------------------------------------------------
>>
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------
>> Michael Hearne
>> mhearne at usgs.gov
>> (303) 273-8620
>> USGS National Earthquake Information Center
>> 1711 Illinois St. Golden CO 80401
>> Senior Software Engineer
>> Synergetics, Inc.
>> ------------------------------------------------------
>>
>>
> < 
> atlas 
> -3.6.0 
> -12 
> .el5 
> .x86_64 
> .rpm 
> ><blas-3.1.1-2.el5.x86_64.rpm><lapack-3.1.1-2.el5.x86_64.rpm><python- 
> numpy-1.0.4-1.el5.x86_64.rpm><python-scipy-0.6.0-3.el5.x86_64.rpm>




------------------------------------------------------
Michael Hearne
mhearne at usgs.gov
(303) 273-8620
USGS National Earthquake Information Center
1711 Illinois St. Golden CO 80401
Senior Software Engineer
Synergetics, Inc.
------------------------------------------------------





More information about the SciPy-User mailing list