Helge Hafting wrote: >>If you start lyx from the command line as: >> >>$ lyx-1.4cvs -dbg init >> >> > Setting debug level to init > Debugging `init' (Program initialisation) > Checking whether LyX is run in place... no > <package> > binary_dir /usr/local/bin/ > system_support /usr/local/share/lyx/ > build_support > user_support /home/helgehaf/.lyx/ > locale_dir /usr/local/share/locale/ > document_dir /home/helgehaf > temp_dir /tmp > home_dir /home/helgehaf > </package> > > It goes for the .lyx directory, not .lyx-1.4cvs
> My binary is dated 28. february, could that be too old? The checkout > may be a few days older than that, I struggled a bit getting qt to work. Helge, what version of gcc are you using to compile LyX? If you are using gcc 3.4, then I'll bet (lots of money) that the problem lies with the precompiled header files that are meant to make compilation quicker. Unfortunately, then don't seem to get rebuilt when config.h is changed. config.h should contain the definition of the PACKAGE macro: /* Name of package */ #define PACKAGE "lyx-1.4.0cvs" I'd suggest: # The location of the LyX sources $ cd lyx/devel # Remove the precompiled header files. $ rm -f `find src -name pch.h.gch` which should remove: lyx/devel/src/pch.h.gch lyx/devel/src/frontends/qt2/moc/pch.h.gch lyx/devel/src/frontends/qt2/ui/moc/pch.h.gch lyx/devel/src/frontends/qt2/ui/pch.h.gch lyx/devel/src/frontends/xforms/forms/pch.h.gch lyx/devel/src/support/pch.h.gch lyx/devel/src/tex2lyx/pch.h.gch Thereafter, rebuild. You might consider ./configure --disable-pch Regards, Angus