<<< Date Index >>>     <<< Thread Index >>>

Re: Errors when building Mutt



On 2005-09-18 01:49:01 +0200, Vincent Lefevre wrote:
> I can't reproduce it either with "/usr/bin/make -j2" either.

In fact, the problem sometimes occurs with "/usr/bin/make -j2".
I could notice that some command is executed twice (not always
the same one). For instance, the "if gcc ... fi":

[...]
make[3]: Entering directory `/home/vlefevre/software/mutt/mutt'
if gcc -DPKGDATADIR=\"/home/vlefevre/share/mutt\" 
-DSYSCONFDIR=\"/home/vlefevre/etc\" -DBINDIR=\"/home/vlefevre/i686-linux/bin\" 
-DMUTTLOCALEDIR=\"/home/vlefevre/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -I. 
-I. -I. -I./imap  -Iintl  -I./intl -I/home/vlefevre/include  -Wall -pedantic -g 
-O2 -MT makedoc.o -MD -MP -MF ".deps/makedoc.Tpo" -c -o makedoc.o makedoc.c; \
then mv -f ".deps/makedoc.Tpo" ".deps/makedoc.Po"; else rm -f 
".deps/makedoc.Tpo"; exit 1; fi
make[4]: Entering directory `/home/vlefevre/software/mutt/mutt'
if gcc -DPKGDATADIR=\"/home/vlefevre/share/mutt\" 
-DSYSCONFDIR=\"/home/vlefevre/etc\" -DBINDIR=\"/home/vlefevre/i686-linux/bin\" 
-DMUTTLOCALEDIR=\"/home/vlefevre/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -I. 
-I. -I. -I./imap  -Iintl  -I./intl -I/home/vlefevre/include  -Wall -pedantic -g 
-O2 -MT makedoc.o -MD -MP -MF ".deps/makedoc.Tpo" -c -o makedoc.o makedoc.c; \
then mv -f ".deps/makedoc.Tpo" ".deps/makedoc.Po"; else rm -f 
".deps/makedoc.Tpo"; exit 1; fi
gcc  -Wall -pedantic -g -O2   -o makedoc  makedoc.o  
mv: cannot stat `.deps/makedoc.Tpo': No such file or directory

Is it a bug in "make" or is there some missing dependency problem?

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA