1) I downloaded the source code from this link http://www.mirrorservice.org/sites/www.sagemath.org/src/sage-4.3.tar
2) I followed the steps indicated in the section "Steps to Install from Source" from http://www.sagemath.org/doc/installation/source.html The output from my invocation of "make" is in the install.log file I attached to my previous msg. 3) I don't know: I let it run during the night 4) I tried both "sage" and "./sage" (I do not remember in which order). Valter. On Jan 19, 1:54 am, William Stein <wst...@gmail.com> wrote: > On Mon, Jan 18, 2010 at 2:04 PM, Valter Sorana <vsor...@googlemail.com> wrote: > > I have tried to install SAGE from both binary and source and I failed - with > > the problem ultimately being a complaint that " sage-ipython "$@" -i " is an > > illegal instruction. > > > I describe the details below and attach the install.log file (in a > > compressed archive form). > > > Any help is appreciated. > > > Thanks, > > Valter. > > > 1) I downloaded the SAGE binary for my Ubuntu distribution (9.10 Karmic) > > running on a five-year old Dell Dimension 8300; > > > 2) I extracted the archive and copied to a new directory /usr/bin/sagemath; > > > 3) I tried to run sage, but it would not start because > > > "The following processor > > flags were on the build machine but are not on this computer: > > > pni" > > > 4) following some search, I found someone else had already had this problem > > and William Stein in response had suggested to try ./sage -f mpir-1.2.p4; I > > did that, but it did not work either, probably because the mpir package had > > changed name; so I tried ./sage -f mpir-1.2.2 and that stopped with the > > error msg > > > "checking for suitable m4... configure: error: No usable m4 in $PATH or > > /usr/5bin (see config.log for reasons). > > Failed to configure." > > > 5) following someone else's suggestion in the same thread of sage-devel > > group, I tried "sage -b main" and "sage -ba" which ran smoothly, but did not > > seem to change anything. > > > 5) I decided to try my luck, delete the sage-flags.txt file anyway and try > > the sage command again; this is what I got: > > > "r...@valter-desktop:/usr/bin/sagemath/sage-4.3-linux-Ubuntu_9.10-i686-Linux# > > sage > > ---------------------------------------------------------------------- > > | Sage Version 4.3, Release Date: 2009-12-24 | > > | Type notebook() for the GUI, and license() for information. | > > ---------------------------------------------------------------------- > > /usr/bin/sagemath/sage-4.3-linux-Ubuntu_9.10-i686-Linux/local/bin/sage-sage: > > line 206: 15352 Illegal instruction sage-ipython "$@" -i > > " > > > 6) I restarted from scratch, downloaded the source code and built it > > following the instructions to the letter (including installing m4 and the > > other prerequisite packages) and I still get the same complaint about the > > illegality of "sage-ipython "$@" -i" > > I don't believe that. It should be completely impossible to > completely install Sage from source and get that error. > > (1) *Precisely* what file did you download when you write "source code"? > (2) What did you type to build from source? > (3) How long did building from source take? > (4) Exactly what did you type to run Sage after building from source? > Can you send an exact log > > William
-- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org