Peter Jeremy asked me if I'd look at the cephes package, as he was having trouble with it. It's only installed on CYGWIN, so 99% of people are not going to see that cephes is broken.

I hacked the package so that it would try to build on any operating system - not just Cygwin.

Anyway, it has a few serious problems.

1) It is missing a file, so 'make' exits with an error

gcc  -I. -g -O2 -Wall   -c -o mtstf.o mtstf.c
gcc -o mtstf mtstf.o cmplxf.o clogf.o cgammaf.o stubs.o -lm
gcc  -I. -g -O2 -Wall   -c -o whitebxf.o whitebxf.c
gcc  -I. -g -O2 -Wall -o whitebxf whitebxf.o libmc.a stubs.o -lm
make: *** No rule to make target `whitebx.c', needed by `whitebx.o'.  Stop.

real    0m9.743s
user    0m7.635s
sys     0m1.679s
Successfully installed cephes-2.8.p1

That file 'whitebx.c' does not exist in the source code at all, and it does not look like it is supposed to be generated.

2) As you can see above, it reports its successfully installed, even though 'make' failed. If we look at the spkg-install, we can see that it has near the bottom
########################################
function build {
    make_complex_h
    make_single
    make_double
    make_ldouble
    make_c9x_complex
}

patch
build
#########################################

In other words, no error checking is performed, so it is not obvious that it failed to install on Cygwin.

http://trac.sagemath.org/sage_trac/ticket/8780

is marked as closed and fixed in sage-4.4.3.alpha0, but I can't possibly see how cephes can build on Cygwin. In the event it does build on Cygwin (which I doubt), there is no error checking, which is asking for trouble.

I did find this file with a google search

http://code.google.com/p/pbsa/source/browse/trunk/src/c9x-complex/whitebxf.c?spec=svn30&r=30

so it may be possible to implement some sort of repair of this package, but I'd be very suspicious of how it is now.

Dave

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to