Jean-Pierre Chrétien schrieb:
In HowToUseSVN, I find these lines unclear, and in fact dangerous....
This needs to be discussed on the lyx-devel list. I'm forwarding this email to
this list:
--- Original message---
> In HowToUseSVN, I find these lines unclear, and in fact dangerous....
<quote>
Just follow the directions in @@INSTALL@@, as if you had downloaded a
tar file. For the stable module, this is pretty much just
@@./autogen.sh@@, @@./configure@@, @@make@@, and @@sudo make install@@.
If you want to compile and run the development module, things are
somewhat more complicated than for the release module. You're going to
need @@automake@@, @@autoconf@@, and @@gettext@@, which can be
downloaded from your favorite GNU ftp site. (Start at
[[http://www.gnu.org | gnu.org]] to find a mirror.) Once you've
installed all of that stuff, just run the @@autogen.sh@@ script written
by Allan Rae, which will do things in the right order, and then tell you
to run @@configure@@ and @@make@@.
</quote>
In fact, I find no difference in compilation commands in branch and in
trunk: autogen.sh is required in both cases. Moreover, running
./autogen.sh &&./configure && make && sudo make install
will clobber the current LyX official LyX release which is the
production version.
I would suggest to rewrite as such:
<new paragraphs>
Just follow the directions in @@INSTALL@@, as if you had downloaded a
tar file. In that case (official .tar.gz or tar.bz2 release), you had
just to type in @@./configure && make && sudo make install-strip@@ to
replace your current LyX release by the fresh one.
Now if you want to compile and run a branch or trunk module, things are
somewhat more complicated than for the official release. You're going to
need @@automake@@, @@autoconf@@, and @@gettext@@, which can be
downloaded from your favorite GNU ftp site. (Start at
[[http://www.gnu.org | gnu.org]] to find a mirror, or use the package
manager of your OS). Once you've installed all of that stuff, just run
the @@autogen.sh@@ script written by Allan Rae, which will do things in
the right order, and then tell you to run @@configure@@ and @@make@@. In
order to avoid clobbering your current stable lyx installation, you may
name it according to the downloaded module, e.g.
./autogen.sh && ./configure --with-version-suffix=-1.6svn && make
make install-strip
Then @@lyx-1.6svn@@ will create a specific @@~/.lyx-1.6svn@@ directory.
</new paragraphs>