On 08/27/2009 08:45 AM, Sven Hoexter wrote:
On Thu, Aug 27, 2009 at 01:23:50PM +0200, Manveru wrote:
2009/8/27 E. Kaplan<[email protected]>:
Is there any way of getting Lyx 1.6.4 for Kubuntu 64 bits? The version in
that is in the repositories is 1.6.2, I think. Compiling from sources does
not appeal to me.
That of course is up to you, but I myself would recommend that people
who can do compile from source, and indeed from the svn stable branch.
Why wait until the next stable release to get the bug fixes?
For those who do want to do this, here's a quick guide.
1. Make sure you have the usual buildtools installed: autotools, make,
gcc, etc. You will of course also need various development packages,
such as qt4-devel. Making sure you have all of these is probably the
most annoying part of the process. Whether you have them all will become
clear later.
2. Create a directory for the LyX sources, let's say, /home/you/src/lyx/.
3. cd /home/you/src/lyx
4. svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X/ . (note
the trailing dot)
5. ./autogen.sh
6. ./configure --enable-build-type=rel
You could also choose "devel" there, but if you're more a "regular
user", you probably want "rel". Note that, by default, this will install
LyX under /usr/local/.
If configure fails, it will likely be because you don't have certain
devel packages installed. LyX will tell you which these are. But note,
if it says, "Can't find Qt4", or something like that, it doesn't mean
you don't have Qt4 installed. It means you don't have the Qt4 devel
package installed.
7. make -j2
The two means "use two processors". Adjust this depending on your
system. Generally, advice around here has been that people should use
all processors. Since the compilation won't actually use them all, due
to disk activity and the like, the system should still be responsive.
This will take a while the first time. Other times will be a lot
faster.
8. sudo make install, or su -c 'make install', or whatever is
appropriate for your system.
Happy compiling,
Richard
9. Now, to make life really easy, set up a cron job to keep the LyX
sources updated. Then, every once in a while, recompile and reinstall.