[SciPy-user] Build regression: return of restFP/saveFP problems on OS X?

Robert Kern robert.kern at gmail.com
Mon Mar 20 22:09:24 CST 2006


David M. Cooke wrote:
> Robert Kern <robert.kern at gmail.com> writes:
> 
>>Zachary Pincus wrote:
>>
>>>Hi folks,
>>>
>>>I've been building svn versions of scipy just fine for some months  
>>>now, following Chris Fonnesbeck's instructions on the wiki. (Short  
>>>version: use gcc3.3, get g77 from the hpc repository.)
>>>
>>>Today I updated to the latest svn scipy, and I now cannot get scipy  
>>>to compile because of link errors saying that restFP and saveFP are  
>>>not defined. These problems used to be endemic with scipy and OS X,  
>>>but they were fixed some time ago. It looks like they have been re- 
>>>introduced recently, though.
>>
>>Uncomment lines 114-115 in numpy/distutils/fcompiler/gnu.py .
>>
>>David (Cooke), can you explain why you commented them out?
> 
> Whoops. I was testing whether I could build using gfortran 4.1.
> I compiled gcc 4.1 using darwinports, which doesn't support
> cc_dynamic. As far as I can tell, there's not actually a library by
> that name; I think the linker does something special when it finds it?

[~]$ ls -l /usr/lib/libcc_dynamic.a
lrwxr-xr-x   1 root  wheel  27 Nov  7 18:08 /usr/lib/libcc_dynamic.a ->
gcc/darwin/default/libgcc.a

-- 
Robert Kern
robert.kern at gmail.com

"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



More information about the SciPy-user mailing list