On Wednesday 07 January 2004 9:38 am, Axel Heinrici wrote: > Hi > > On Tuesday 06 January 2004 15:25, Angus Leeming wrote: > > There is a bug in the lyx-1.3.3 installation scripts. The fix is a > > bit convoluted, but is described in detail here: > > > > http://tinyurl.co.uk/b4uu > > Thanks first.
My pleasure. Let's return this to the list. > Excuse me, but there is still a question. Since I am just about to learn > the basics about C, I don't know too much about the internals of > the ./configure-make procedure. I don't understand what exactly is > meant by "... lib/Makefile.in, that we generate automatically from > lib/Makefile.am. ...". > When is this _generated automatically_? After running the configure > skript and after running make the file lib/Makefile.in in the tarball > is still identical to the one in the extracted source tree. > And so the make install fails again. > Can you, please, deconvolute this fix a litte for me? Sure. The source code is developed with the help of GNU automake, autoconf, libtool etc, known collectively as the GNU autotools. These are used to generate the configure script and Makefile.in files that you use as the starting point when building lyx. Ie, the code that you get is one step removed from the code that is in the cvs tree. (It is created by "make dist" actually.) What I suggested you do in http://tinyurl.co.uk/b4uu is to save the changes in a file makefile.diff in the top level src directory. Thereafter, use the 'patch' program to modify lib/Makefile.in: $ patch -p0 < makefile.diff Now, when you run configure, the generated lib/Makefile should result in "make install" working as expected. Hope this helps, Angus