Re: Which is the best CAS



Richard Fateman wrote:

I'm not ignorant of either Sage (I regularly read the developers list, and are helping in the Solaris port) or python (I know it's a well respected language, that has wide applicability).

Eight hours ago you wrote "I don't know Sage or Python".
Perhaps you are you sharing your computer account, and the earlier message was written by someone else? Or did something happen in the 8 hours since your previous message, so you are no longer ignorant of Sage or Python? Or are you engaged in British understatement and are really an expert on all these things?


I'm not a Sage user, so therefore don't consider myself to know the program. But I have a reasonably good idea of how it what it consists of , how to compile it etc.

How much help can you be in porting software that is written in a language you don't know but respect?

Sage makes use of a large number of open-source programs. They are written in various languages. Sage glues them together to make a common interface.

I'm just trying to find why libpflll is not building properly on Solaris. A knowledge of Sage or python is not needed for that.

Most of the issues with Sage and Solaris have been due to bad C or C++ programming and GNU'isms.


make[2]: Entering directory `/export/home/drkirkby/sage/sage-4.0.alpha0/spkg/build/libfplll-3.0.12/src'
Making all in src
make[3]: Entering directory `/export/home/drkirkby/sage/sage-4.0.alpha0/spkg/build/libfplll-3.0.12/src/src'
if g++ -DPACKAGE_NAME=\"libfplll\" -DPACKAGE_TARNAME=\"libfplll\" -DPACKAGE_VERSION=\"3.0.12\" -DPACKAGE_STRING=\"libfplll\ 3.0.12\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libfplll\" -DVERSION=\"3.0.12\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBGMP=1 -DHAVE_LIBMPFR=1 -DSTDC_HEADERS=1 -DHAVE_FLOAT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_FLOOR=1 -DHAVE_POW=1 -DHAVE_RINT=1 -DHAVE_SQRT=1 -DHAVE_STRTOL=1 -DHAVE_LIBGMP=1 -DHAVE_LIBMPFR=1 -I. -I. -I/export/home/drkirkby/sage/sage-4.0.alpha0/local/include/ -fPIC -I/export/home/drkirkby/sage/sage-4.0.alpha0/local/include/ -L/export/home/drkirkby/sage/sage-4.0.alpha0/local/lib -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
In file included from defs.h:36,
from util.h:29,
from lexer.h:26,
from main.h:26,
from main.cpp:22:
dpe.h: In function 'void dpe_normalize(dpe_struct*)':
dpe.h:169: error: 'finite' was not declared in this scope
In file included from nr.h:187,
from util.h:30,
from lexer.h:26,
from main.h:26,
from main.cpp:22:
nr.cpp: In member function 'void FP_NR<F>::set_nan() [with F = double]':
nr.cpp:920: error: 'NAN' was not declared in this scope
nr.cpp: In member function 'void FP_NR<F>::set_nan() [with F = dpe_struct [1]]':
nr.cpp:1085: error: 'NAN' was not declared in this scope
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/export/home/drkirkby/sage/sage-4.0.alpha0/spkg/build/libfplll-3.0.12/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/drkirkby/sage/sage-4.0.alpha0/spkg/build/libfplll-3.0.12/src'
Error building libfplll

real 2m22.459s
user 0m15.153s
sys 0m28.143s
sage: An error occurred while installing libfplll-3.0.12
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /export/home/drkirkby/sage/sage-4.0.alpha0/install.log. Describe your computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/export/home/drkirkby/sage/sage-4.0.alpha0/spkg/build/libfplll-3.0.12 and type 'make'.
Instead type "/export/home/drkirkby/sage/sage-4.0.alpha0/sage -sh"
in order to set all environment variables correctly, then cd to
/export/home/drkirkby/sage/sage-4.0.alpha0/spkg/build/libfplll-3.0.12
(When you are done debugging, you can type "exit" to leave the
subshell.)

Even you should be able to work out that is C++.

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange' take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.
.



Relevant Pages

  • Re: Interested in helping port Sage (maths software) to Solaris ??
    ... but I don't think it's appropriate to ask on a python newsgroup. ... I think it is especially appropriate, since one of the big selling points of Sage with respect to its design is that, because it is written in python it is so very portable. ... This is contrary to the fact that Sage is incapable of running on Windows without a unix emulator, and apparently incapable of building on Solaris. ...
    (sci.math.symbolic)
  • Re: Any maths or science fans using Solaris? (related to Mathematica on Solaris)
    ... Sage is based around the Python language, but glues together lots of open-source maths software - a list is at ... Automatically Tuned Linear Algebra Software ... Convex optimization, linear programming, least squares, etc. ... Cython: C-Extensions for Python ...
    (comp.unix.solaris)
  • Re: Gen. Bernard Schriever dies
    ... > Hopper is best known for her work in implementing and, especially, ... > SAGE was an Air Force/IBM project, using, iirc, machine language. ... SAGE was the brainchild of George Valley. ... A SAGE sector also monitored the information and intercepts of all ...
    (sci.space.history)
  • Re: Another computer algebra system : smib
    ... I do not know if you ever see it, but there was a very good book written by Andrew Tanenbau about Unix, which contained the full source code of a small unix operating system called Minix. ... I have not read any Sage python source code. ... I have offered you access to Sun hardware running Solaris if you want to test on Solaris. ... 'Experts Exchange' take questions posted on the web and try to find ...
    (sci.math.symbolic)
  • Re: Very high load average - nothing appears to use much CPU time
    ... which is screwing it up on Solaris. ... Sage was calling 'top' to find the ... My attempts to drum up some interest from AIX and HP-UX ... would take several days to compile the source code. ...
    (comp.unix.solaris)