Am 25.05.2013 um 17:54 schrieb Steve Litt <[email protected]>:

> On Sat, 25 May 2013 15:24:22 +0200
> Stephan Witt <[email protected]> wrote:
> 
>> Am 25.05.2013 um 13:56 schrieb Wolfgang Engelmann
>> <[email protected]>:
>> 
>>> I have compiled lyx 2.0.6 according to
>>> 
>>>     1) ./configure
>>>        configures LyX according to your system. 
>> 
>> Hi Wolfgang,
>> 
>> it's not a good idea to build in source tree.
>> 
>> You should make a separate build directory to build LyX. Like that:
>> 
>> $ mkdir lyxhome
>> $ cd lyxhome
>> $ tar xfz ${download_dir}/lyx-2.0.6.tar.gz
>> $ mkdir lyx-build
>> $ cd lyx-build
>> $ ../lyx-2.0.6/configure
>> $ make
>> $ src/lyx
>> 
>> Stephan
> 
> 
> Hi Stephan,
> 
> Why is what you did above any better than ./configure; make; make
> install from lyxhome itself? I didn't even know the separate build
> directory could be done. Do you recommend the separate build directory
> for compiling all programs where you need
> to ./configure;make;make_install?
> 
> Once upon a time I built LyX in such a way that make distclean and make
> clean didn't take out ghosts of compiles past, and I had to rm -rf and
> tar again:
> 
> http://www.mail-archive.com/[email protected]/msg62008.html
> Could doing it your way, with a separate build directory, avoid that
> problem? Is that why you're recommending it?

Yes, this is the reason. Sometimes it doesn't help to avoid the modification
of the source tree completely. It happens the .po files need a rebuild and this
is only possible in-place in the source tree.

Stephan

> 
> Thanks,
> 
> SteveT
> 
> Steve Litt                *  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance

Reply via email to