On Jan 24, 12:19 am, Stephen Montgomery-Smith <[email protected]>
wrote:
> On 01/23/2012 05:40 PM, Stephen Montgomery-Smith wrote:
>
> > On 01/23/2012 12:34 PM, Jeroen Demeyer wrote:
> >> On 2012-01-23 14:27, Stephen Montgomery-Smith wrote:
> >>> "ccosh" not found seemed like a common error.
> >> This might be solvable by installing cephes on FreeBSD. This is
> >> included in Sage but only installed on Cygwin.
>
> > According to "spkg/installed", my system seems to have installed cephes.
>
> OK, now I understand what you were trying to tell me.
>
> So I modified it so that cephes now builds. It seems to help a little,
> because in the log file for r-2.14.0.p1.log it says that it found ccosh,
> when previously it said it didn't.
>
> Nevertheless, I am still getting the same errors when I run
>
> > sage -t -force_lib "devel/sage/sage/calculus/riemann.pyx"
>
> I see in the source code that there are huge numbers of places where
> CYGWIN is checked. So it is really hard for me to trace whether there
> is a check somewhere else for CYGWIN that causes it to try cephes first
> before looking in /usr/local/include.
Hmm, the checks for Cygwin should only be in spkg-install files, and
those are mostly to apply Cygwin-only patches.
As far as cephes is concerned, if you need it, you should be able to
change
#!/usr/bin/env bash
if [ "$UNAME" != "CYGWIN" ]; then
echo "We do not install the cephes library on any operating system
except Cygwin."
exit 0
fi
appropriately. But checks for Cygwin shouldn't impact other systems,
including FreeBSD.
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org