Andrey Novoseltsev wrote:
I think it would be nice also to have a list (or lists) of stuff
necessary to build documentation and have no problems in the notebook.

Yes, agreed. Also see list below, about R documentation.

Latex should be present for documentation - what package exactly
should be installed on Ubuntu?
It is also necessary to install Java for using Jmol, fonts for normal
work of jsMath, something else for looking at graphs.

Perhaps we should document how to test for Java.

http://www.java.com/en/download/installed.jsp?detect=jre&try=1

is probably the best link I can find to check you have java, and whether its the latest version. Of course, it may not be necessary to have the latest version, but I'm not sure how to check if someone has the required version for Jmol.

It would be nice to have a single set of instructions telling you what
to do in order to have everything in Sage running as good as it can
instead of trying to figure out solutions each warning on your own.

Agreed. I've just tried to go though the install.log. It is a huge file, and I have probably missed things, but I noticed:


1) I get problems builing two python modules, and don't have the bits to build several others. (Ignore hashlib+ ssl, as I have fixed that

-----------------------------------------------------------------
Failed to find the necessary bits to build these modules (ignore the hashlib and
_bsddb             _hashlib           _ssl
_tkinter           bsddb185           gdbm
linuxaudiodev      ossaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
_curses            _curses_panel
---------------------------------------------------------------

2) Singular.

----------------------------------------------------------------
make[4]: Entering directory `/export/home/drkirkby/sage-4.2/spkg/build/singular-3-1-0-4-20090818.p1/src/factory'
WARNING: You need to rerun autoconf. I am proceeding, for now.
touch configure
./config.status --recheck
---------------------------------------------------------------

As someone patched that incorrectly?

3) R makes several checks.

------------------------------------------
checking whether perl version is at least 5.8.0... yes
checking for dvips... no
checking for tex... no
configure: WARNING: you cannot build DVI versions of the R manuals
checking for latex... no
configure: WARNING: you cannot build DVI versions of all the help pages
checking for makeindex... no
checking for pdftex... no
configure: WARNING: you cannot build PDF versions of the R manuals
checking for pdflatex... no
configure: WARNING: you cannot build PDF versions of all the help pages

checking whether perl version is at least 5.8.0... yes
-----------------------------------------------------------


Looking at configure.ac for R, it will exit if perl is older than 5.8.0:

if test "${r_cv_prog_perl_v5}" != yes; then
  AC_MSG_ERROR([Building R requires Perl >= 5.8.0])
fi


So it seems to me, we MUST check for perl of at least 5.8.0. Currently the check is for 5.6.0 or later. Perl 5.8.0 was released in July 2002, so most systems should have that. If not, users will have to install it.

This also suggests to me we should check for tek, pdftex & pdflatex and issue warnings that some documentation can't be built if these are not present.

5) R also gives this warning:

configure: WARNING: --with-iconv=no is deprecated and will be withdrawn shortly


6)
I personally had some problems installing Java, because it is not
quite clear which package or plugin to install. I think in the end I
just went to Sun website and now it works, but if I did it from the
beginning, it would save me some time.

As noted above,

http://www.java.com/en/download/installed.jsp?detect=jre&try=1

will check it, and offer to download it.

Perhaps this should be mentioned in README.txt


Thank you,
Andrey


Thank you too.

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