On Mon, Sep 24, 2007 at 06:02:40AM +0300, Martin Vermeer wrote:
> On Mon, Sep 24, 2007 at 12:09:07AM +0200, Helge Hafting wrote:
> > make[1]: Entering directory `/usr/src/lyx-devel/src/tex2lyx'
> > make PCH_FLAGS= pch-file
> > make[2]: Entering directory `/usr/src/lyx-devel/src/tex2lyx'
> > g++ -DHAVE_CONFIG_H   -DTEX2LYX  -I../../src/tex2lyx -I../../src 
> > -I../../src  -Wextra -Wall     -g -Os -x c++-header -fPIC -DPIC ./pch.h 
> > -o ./pch.h.gch \
> >        -MT ./pch.h.gch  -MD -MP -MF "././pch.h.gch.Tdep" \
> >        && mv "././pch.h.gch.Tdep" "././pch.h.gch.dep" \
> >        || rm "././pch.h.gch.Tdep"
> > make[2]: Leaving directory `/usr/src/lyx-devel/src/tex2lyx'
> > make  all-am
> > make[2]: Entering directory `/usr/src/lyx-devel/src/tex2lyx'
> > make[2]: *** No rule to make target `FloatList.cpp', needed by 
> > `FloatList.o'.  Stop.
> > make[2]: Leaving directory `/usr/src/lyx-devel/src/tex2lyx'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/usr/src/lyx-devel/src/tex2lyx'
> > make: *** [all-recursive] Error 1
> > 
> > 
> > /usr/src/lyx-devel $ find . -name "FloatList.cpp"
> > ./src/FloatList.cpp
> > 
> > So, the file exists, but in the wrong place? Or makefile problems?
> > 
> > Helge Hafting
> 
> The failure is in the directory tex2lyx. You should have a symlink
> FloatList.cpp there pointing to the one in src. If you don't, there's
> something wrong in your build system.

I don't think so. The symlink is a remnant of the past and you should
delete it. Rather, I think that it is a problem with the regeneration
of the dependency list. You should edit tex2lyx/.deps/FloatList.Po
and, on the first line, change tex2lyx/FloatList.cpp into
tex2lyx/../FloatList.cpp

For some reason the .Po files are not updated, and maybe you have to
do the same operation with some other file in the tex2lyx dir.

-- 
Enrico

Reply via email to