On 10/17/2008 09:31 AM, Martin Rubey wrote:
> A remotely similar problem: make install (at least with ecl) requires presence
> of *source* tree, which posed some problems here in Hannover.
I don't know for sure, but I tend to see this as a bug. But thinking
twice... you usually type "./configure && make && make install". So you
most probably have the sources at your disposal. You surely mean some
other use case. Would be nice to be a bit more precise in the first place.
> Furthermore, make install should not simply overwrite a present fricas
> installation, but rather ask, don't you think?
Hmmm, do you know any other software using autotools that does as you
wish? If you type "make install" you explicitly ask for writing the
compiled files into ${prefix}. That is probably the reason why "make"
does not immediately write to the installation directory.
You could also say
make DESTDIR=/path/to/my/dir install
then the installation directory is ${DESTDIR}${prefix}.
Or you use "./configure --prefix=/path/to/installdir" in the first place.
> Another request: could you add a configure option to install the emacs mode,
> if
> emacs is present? (I simply do not know how to do it.) It works with gnu
> emacs
> 21 and 22, probably not with xemacs.
> fricas*.el should be installed in a directory below the emacs site-lisp
> directory, ie., usually /usr/share/emacs/site-lisp/fricas.
That is a bit more complicated. You should also consider the case that
people install fricas without having root access (which is the usual way
I install software anyway). So where should fricas*.el go then?
And if I have some software that would with
./configure --prefix=~/software
write anywhere outside ~/software, I would throw that software away
since it is dangerous.
Maybe the only thing one should ask after installation of fricas is that
a user should put something like...
(setq load-path (cons "/path/to/fricas.el" load-path))
(require 'fricas)
into his/her emacs config file.
Of course, if fricas is a debian package, other rules apply.
Who could actually put fricas into debian for us?
Ralf
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---