On 12/8/12 11:14 PM, Luca Jovine wrote:
> Hi! 
> 
>> That's very strange.  The build procedure literally only runs what was
>> shown above:
>>
>> [ -e /usr/local/lib/libgmp.a ] || [ -e /usr/local/lib/libgmp.dylib ]
>>
>> to test for externally installed gmp files.  Just by way of
>> verification, what do you get if you run the following:
>>
>> [ -e /usr/local/lib/libgmp.a ] && echo "test1"
>>
>> [ -e /usr/local/lib/libgmp.dylib ] && echo "test2"
> 
> I get the following:
> 
> OSX> [ -e /usr/local/lib/libgmp.a ] && echo "test1"
> test1
> OSX> [ -e /usr/local/lib/libgmp.dylib ] && echo "test2"
> OSX>
> 
> and after renaming /usr/local :
> 
> OSX> sudo mv /usr/local /usr/local-ok
> OSX> [ -e /usr/local/lib/libgmp.a ] && echo "test1"
> OSX> [ -e /usr/local/lib/libgmp.dylib ] && echo "test2"
> OSX>  
> 
> which is what one would expect, right?
> 
> Best, Luca
> 
> 
> 

Right.  I'm not sure why the test in the package description is giving a
true result when you have moved /usr/local, then.  Very strange.

As a workaround, you can edit
/sw/fink/10.7/stable/main/finkinfo/languages/gcc47.info and remove that
test from the CompileScript block.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to