I note that gfan hard-codes the compiler names gcc/g++. Trying to fix that, I soon discovered the Sun compiler thinks there is an error in the code, with something supposed to return a value, but not doing so.
gfan-0.3.p6/patches/ gfan-0.3.p6/patches/Makefile Finished extraction **************************************************** Host system uname -a: SunOS hawk 5.11 snv_111b i86pc i386 i86pc **************************************************** **************************************************** CC Version /opt/sunstudio12.1/bin/cc -v usage: cc [ options] files. Use 'cc -flags' for details **************************************************** Copying a more portable Makefile, which has less GNUisms. /opt/sunstudio12.1/bin/CC -m64 -library=stlport4 -I/export/home/drkirkby/cc/sage-4.3.1.alpha0/local/include -O2 -DGMPRATIONAL -m64 -c lp_cdd.cpp "field.h", line 108: Error: "FieldElementImplementation::operator=(const Field&)" is expected to return a value. "printer.h", line 24: Warning: f hides Printer::f. 1 Error(s) and 1 Warning(s) detected. make: *** [lp_cdd.o] Error 1 Error building gfan I'm not a C++ programmer, so don't know if this is right or not. However, I did not from http://www.math.tu-berlin.de/~jensen/software/gfan/gfan.html that the version in Sage was released in 2007 and that there was a new release less than 3 months ago. It would be good if this could be updated, so that is respects the values of CC, CXX, CFLAGS and CXXFLAGS. Then it would have some hope of building with Sun's compiler. If not, any problems can be reported upstream. But I'm not overkeen to report bugs about a version more than 2 years old. 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