Am 14.02.2014 um 10:33 schrieb Liviu Andronic <landronim...@gmail.com>:

> On Fri, Feb 14, 2014 at 10:29 AM, Stephan Witt <st.w...@gmx.net> wrote:
>> Am 14.02.2014 um 10:28 schrieb Stephan Witt <st.w...@gmx.net>:
>> 
>>> Am 14.02.2014 um 10:07 schrieb Liviu Andronic <landronim...@gmail.com>:
>>> 
>>>> On Fri, Feb 14, 2014 at 10:05 AM, Stephan Witt <st.w...@gmx.net> wrote:
>>>>> Am 14.02.2014 um 10:00 schrieb Liviu Andronic <landronim...@gmail.com>:
>>>>> 
>>>>>> Dear all,
>>>>>> Well I've now confirmed what I long thought: LyX is a monster to
>>>>>> compile. I have a quickish:
>>>>>> - 64-bit
>>>>>> - 2x Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
>>>>>> - 4GB of RAM
>>>>>> - 7200 rpm
>>>>>> 
>>>>>> but compiling LyX still manages to make me impatient.
>>>>> 
>>>>> Oh, well.
>>>>> 
>>>> 
>>>>> 
>>>>> PS: Errors like "Makefile:3567: *** missing separator. Stop."
>>>>> are possibly caused by unresolved merge conflicts.
>>>>> 
>>>> Which means...? Or more appropriately, how do I avoid that? I'm still
>>>> trying to find my way around the GIT wonderland.
>>> 
>>> If this is the case (I don't know if this is your problem) I'd try
>>> $ git -f checkout -- to have a clean checkout and
>> 
>> Sorry, it should be "git checkout -f"
>> 
> Yes, I was doing this (as per Pavel's suggestion). But I also managed
> to get into a situation where the only thing that could ensure a clean
> environment was to delete all files but .git, and "git checkout -f
> <commit>".
> 
>>> $ sh autogen.sh -- to have the up-to-date configure
>>> 
> Yup, doing this, too.
> 
>>> And you should work with a separate build directory.
>>> 
> What do you mean by that?

I'm never doing configure and make inside the git checkout.
I create a separate empty directory and build there.

$ cd git/lyx
$ git checkout master
$ sh autogen.sh
$ cd ..
$ rm -rf lyx-build
$ mkdir lyx-build && cd lyx-build
$ ../lyx/configure
$ make && make install

In case of bisect you don't need to remove and recreate the entire lyx-build 
directory.

Stephan

Reply via email to