Erik Lane wrote:
Post it where? Here to the list? Should I assume that what holds
true for Ubuntu is more general, or just make notes in the text that
let people know that on Ubuntu that's the way it is? (Because that's
all I have available to me.)
I looked into it, and looks like it's very standard that ranlib is part
of binutils. See [1] for RedHat, and [2] for a more general GNU page.
So I suggest the line get changed to:
binutils, gcc, g++, gfortran, make, m4, perl, and tar.
Since they've already made some changes about gfortran necessities,
that's all the input I have. I don't have a trac account, so I'll also
include a README.txt that I took from ticket 7484 so that it would
include changes already made.
Thanks,
Erik
'binutils' is not a program, but a collection of programs from GNU, which
happens to include ranlib, ar, ld and others.
Plenty of non-GNU systems do not have 'binutils' installed, and do not need
them.
On the Solaris SPARC build (before it got broken in 4.3.1), I always used the
Sun tools (ld, ar, ranlib ... etc). It so happens on Solaris and HP-UX, that
these hide in a directory which many people will not have in their path
/usr/ccs/bin
POSIX mandates that at least some of these exist (make, ar, strip), but not all
of them ('as' and 'ld' are not required).
Hence the need to check these. The required bit in autoconf to check one of
these is below.
AC_CHECK_PROG(found_ranlib, ranlib,[yes],[no],[])
if test x$found_ranlib != xyes
then
AC_MSG_WARN([Sorry, the 'ranlib' command must be in the path to build
AC_PACKAGE_NAME])
AC_MSG_WARN([On some systems it can be found in /usr/ccs/bin ])
AC_MSG_WARN(['ranlib' is also part of the GNU 'binutils' package.])
AC_MSG_ERROR([Exiting, as 'ranlib' can not be found.])
fi
I've not checked for the assembler 'as'. I think it's a reasonable assumption
that if the linker 'ld' is around, the assembler probably is 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