Page 1 of 1

Problem in SVN 2935

Posted: 24 Dec 2006, 17:54
by Pajarico

Code: Select all

make[2]: Leaving directory `/home/lxuser/compilation/tmw/docs'
Making all in src
make[2]: Entering directory `/home/lxuser/compilation/tmw/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DTMW_DATADIR=\""/home/lxuser/compilation//share/tmw/"\"   -Wall -Werror -DUSE_OPENGL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0`  -g -O2 -MT tmw-shoplistbox.o -MD -MP -MF ".deps/tmw-shoplistbox.Tpo" -c -o tmw-shoplistbox.o `test -f 'gui/shoplistbox.cpp' || echo './'`gui/shoplistbox.cpp; \
        then mv -f ".deps/tmw-shoplistbox.Tpo" ".deps/tmw-shoplistbox.Po"; else rm -f ".deps/tmw-shoplistbox.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DTMW_DATADIR=\""/home/lxuser/compilation//share/tmw/"\"   -Wall -Werror -DUSE_OPENGL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0`  -g -O2 -MT tmw-viewport.o -MD -MP -MF ".deps/tmw-viewport.Tpo" -c -o tmw-viewport.o `test -f 'gui/viewport.cpp' || echo './'`gui/viewport.cpp; \
        then mv -f ".deps/tmw-viewport.Tpo" ".deps/tmw-viewport.Po"; else rm -f ".deps/tmw-viewport.Tpo"; exit 1; fi
make[2]: *** No rule to make target `action.cpp', needed by `tmw-action.o'.  Stop.
make[2]: Leaving directory `/home/lxuser/compilation/tmw/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lxuser/compilation/tmw'
make: *** [all] Error 2
lxuser@localhost ~/compilation/tmw $

Posted: 24 Dec 2006, 18:19
by Rotonen
Tried CMake?

Posted: 24 Dec 2006, 19:52
by Bjørn
configure should work too, but action.cpp was moved from src to src/resources. If you don't know how to solve this issue, try a clean checkout of the src directory.

Posted: 25 Dec 2006, 14:48
by Pajarico
Rotonen wrote:Tried CMake?
I tried and works. make compiles everything fineand, I can run the executable from src/tmw. But make install does exit with succex but doesn't install anything.

Bjørn: Where should be src/resources/action.cpp referenciated?

PD: Apparently rm -fr src and rechecking that folder from svn works. But I want to know if there is a shorter solution to this since is not the first time I get to this problem. Sooner or later there is some update that screws svn...

Posted: 26 Dec 2006, 17:33
by Bjørn
Pajarico wrote:Bjørn: Where should be src/resources/action.cpp referenciated?

PD: Apparently rm -fr src and rechecking that folder from svn works. But I want to know if there is a shorter solution to this since is not the first time I get to this problem. Sooner or later there is some update that screws svn...
src/resources/action.cpp should be referenced from src/Makefile.am. I'm sorry but I do not know enough about how configure works to tell you why these things happen, I fight with it form time to time as well.