axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Axiom-developer] Important! Cannot Install on Fedora


From: Bill Page
Subject: RE: [Axiom-developer] Important! Cannot Install on Fedora
Date: Tue, 11 Oct 2005 23:08:33 -0400

Renaud,

I am sorry that you are having some problems getting Axiom to
work on Fedora Core 4. Thank you for your patience and for
sending the detailed information about your configuration and
the make log file!

The information you sent seems to confirm that in both the
pre-compiled binary version and in your attempt to build Axiom
from source you are experiencing a well known problem in FC4
regarding sbrk address randomization.

The short answer seems to be

  echo 0 > /proc/sys/kernel/randomize_va_space

The longer answer follows.

On October 11, 2005 5:11 PM wrote you wrote:
> 
> I could not use the messages cited by Tim or Bill. I had a 
> working axiom for FC1 thanks to those Tim cited which seem
> now quite obsolete to me. As of the message cited by Bill
> I don't understand what I have to do. Am I supposed to
> patch the Makefile myself ?
> 

No, I don't think it will be necessary for you to patch the
Makefile yourself... but if you have the skills and time to
do this then certainly your help would be greatly appreciated.
:)

I do not have FC4 installed (I am currently using FC3 on
x86-64) so I can not directly reproduce the problem that you
reported. But I have spent some time looking into the issue
and I hope I can help in a more specific way than my previous
email.

You are apparently right that the instructions referred to by
Tim are in fact out of date for FC4 as this message from Juho
Snellman to the gcl developer list shows:

http://lists.gnu.org/archive/html/gcl-devel/2005-08/msg00074.html

>From this information I can guess that the following commands
might allow you to run the pre-compiled version of Axiom on
your system:

  export
AXIOM=/usr/local/Install/OpenAxiom/PrecompiledAxiom/axiom/mnt/linux/
  PATH=$AXIOM/bin:$PATH
  setarch i386 -R AXIOMsys

---------

Another message on gcl-devel reveals how Tim was able to compile
Axiom on FC4:

http://lists.gnu.org/archive/html/gcl-devel/2005-09/msg00024.html

Apparently the command you need to do this is:

  echo 0 > /proc/sys/kernel/randomize_va_space

**not**

  echo 0 >/proc/sys/kernel/exec-shield

which apparently no longer applies to FC4. The command

  echo 0 > /proc/sys/kernel/randomize_va_space

should also allow you to run the pre-compiled version
of Axiom for FC4.

The best solution obviously would be to upgrade the Axiom sources
to the newest version of gcl that supports Axiom.

http://lists.gnu.org/archive/html/axiom-developer/2005-09/msg00296.html

To do this we would need to obtain gcl from CVS as described
in Camm's email:

  export CVS_RSH=ssh
  export CVSROOT=:ext:subversions.gnu.org:/cvsroot/gcl
  cvs -z9 -q co -d gcl-2.6.8pre -r Version_2_6_8pre gcl

-------

then construct a tarball with the contents of 2.6.8pre, but
calling it gcl-2.6.7.tgz. Use it to replace zips/gcl-2.6.7.tgz
with the updated version of gcl. Then rebuild Axiom by

  ./configure
  make clean
  make

------

If this works, then the Axiom makefile can be updated to include
the new 2.6.8pre tarball and the appropriate new sections in
Makefile.pamphlet. I expect that Tim has this scheduled for some
time real soon now ... ;)

Please let me know if this helps.

Regards,
Bill Page.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]