On Fri, 2002-03-08 at 11:45, Vadim V. Zhytnikov wrote:
> But I have a few question and suggestions regarding new
> configure; make; make install process.
There are several things to sort out before we can actually release. You
are asking all the right questions. I appreciate it.
> 1) xmaxima is installed /usr/bin directory. I don't think
> this is right. It should go in some other place and called
> via wrapper script /usr/bin/xmaxima. Something like this
> (borrowed from old build system):
> ----------------------------------------
> #!/bin/sh
> export MAXIMA_DIRECTORY
> MAXIMA_DIRECTORY=/usr/lib/maxima-5.6
> exec /usr/lib/maxima-5.6/bin/xmaxima $@
> ----------------------------------------
Yes, I think you are right. Another possibility would be to make
--xmaxima an argument to the maxima script, but perhaps that would be
confusing.
> 2) Why make install places /doc and /emacs in the
> same directory with the /share ?
> Is this intentional or I did something wrong?
> I think that /share files should not be intermixed
> other directories. It seems that the right place
> for /doc is /usr/doc or /usr/share/doc (%_docdir)
> and emacs files should go into /usr/share/emacs
> or something like this.
When I started, I thought it would be obvious where to install these
things. In particular, I thought automake would just do the right thing.
Now I find that life is more complicated than I thought. The only
extension I would like to make to the "standard" way of doing things is
to make sure that everything but the main "maxima" (and "xmaxima")
scripts are placed in directories with version numbers such that one can
install multiple versions of maxima simultaneously without having them
interfere with each other. The maxima script takes a version argument so
that it can be used with multiple versions.
Having said all that, I don't think the paths I have chosen so far are
optimal. Please make all the suggestions you see fit. We can straighten
it out after the new repository is open.
> 3) New build system does not set file_search_maxima
> and file_search_lisp variables. Thus load command
> cannot find share files.
>
> The same is related to *info-paths*. Ii is not so
> important since *info-paths* already has nice
> default value.
>
> But ideally file_search_maxima, file_seach_lisp and
> *info-paths* should be set according to configure.
Yes. It's a known problem, at least to me. I'll put it on the TODO list
in the new repository.
--Jim