Issue455

Title python required but not in configure?
Priority bug Status resolved
Assigned To joseph Keywords
Linked issues Watchers joseph

Submitted on 2011-08-28 15h06 by matthiaskrgr, last changed by matthiaskrgr.

Files
File name Uploaded Type Edit Remove
config.log matthiaskrgr, 2011-08-28.15:06:10 text/x-log
Messages
Author: matthiaskrgr Date: 2011-08-28   15h06
I don't have "python" installed (but "python2").
I encountered this bug when I compiled frpg fist time on my new software setup.
I can reproduce it removing all code files from the repo and doing "git reset
--hard HEAD" afterwards.

configure log is attached

when I compile, the process stops with 


mv -f .deps/open_gl_atlas.Tpo .deps/open_gl_atlas.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2  -Wall 
-DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math    
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT mission.o -MD -MP -MF
.deps/mission.Tpo -c -o mission.o mission.c
mv -f .deps/mission.Tpo .deps/mission.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2  -Wall 
-DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math    
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT chat.o -MD -MP -MF
.deps/chat.Tpo -c -o chat.o chat.c
mv -f .deps/chat.Tpo .deps/chat.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2  -Wall 
-DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math    
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT light.o -MD -MP -MF
.deps/light.Tpo -c -o light.o light.c
mv -f .deps/light.Tpo .deps/light.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2  -Wall 
-DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math    
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT getopt.o -MD -MP -MF
.deps/getopt.Tpo -c -o getopt.o getopt.c
mv -f .deps/getopt.Tpo .deps/getopt.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2  -Wall 
-DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math    
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT getopt1.o -MD -MP -MF
.deps/getopt1.Tpo -c -o getopt1.o getopt1.c
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2  -Wall 
-DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math    
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT scandir.o -MD -MP -MF
.deps/scandir.Tpo -c -o scandir.o scandir.c
mv -f .deps/scandir.Tpo .deps/scandir.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2  -Wall 
-DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math    
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT sound_effects.o -MD -MP -MF
.deps/sound_effects.Tpo -c -o sound_effects.o sound_effects.c
mv -f .deps/sound_effects.Tpo .deps/sound_effects.Po
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2  -Wall 
-DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math    
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT lists.o -MD -MP -MF
.deps/lists.Tpo -c -o lists.o lists.c
mv -f .deps/lists.Tpo .deps/lists.Po
python gen_savestruct.py struct.h savestruct
make[2]: python: Command not found
make[2]: *** [savestruct.c] Error 127
make[2]: Leaving directory `/home/matthias/vcs/git-svn/freedroid/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matthias/vcs/git-svn/freedroid'
make: *** [all] Error 2


Probably we should add python to the configure script?

Attached config.log.
Author: matthiaskrgr Date: 2011-08-28   17h14
Maybe r3414 is interesting somehow, dunno.
Author: ahuillet Date: 2011-08-28   17h27
Not top priority since I think it's pretty clear when you see the message that
python is required (and it's annoying to add the check to configure.ac).
Will look into it, setting as "bug".
Author: joseph Date: 2012-03-22   16h06
Matthiaskrgr, could you confirm if rb1751 fixes this bug?
Author: matthiaskrgr Date: 2012-03-25   15h25
Fixed in rb9376460cd64. Thanks!
History
Date User Action Args
2012-03-25 15:25:06matthiaskrgrsetstatus: open -> resolved
assignedto: joseph
messages: + msg2188
nosy: + joseph
2012-03-22 16:06:30josephsetmessages: + msg2186
2011-08-28 17:27:19ahuilletsetpriority: important -> bug
messages: + msg1594
2011-08-28 17:14:09matthiaskrgrsetmessages: + msg1593
2011-08-28 15:06:11matthiaskrgrcreate