gcc in configure crashes "Cannot create temporary file in"

Anything
Awatar użytkownika
admin
Site Admin
Posty: 104
Rejestracja: ndz lip 17, 2011 8:51 am

gcc in configure crashes "Cannot create temporary file in"

Post autor: admin »

I was trying to build another product using mingw, when suddenly gcc started crashing now and then.

config.log showed:

Kod: Zaznacz cały

Cannot create temporary file in c:\Temp\src\sphinx\------------------------------\: No such file or directory
It turned out that configure script was setting TMP variable which was causing gcc to crash. The culprit was in one of m4 files, which used this var to make cute underlined messages.

We'd better not use variables with names TMP and TMPDIR. Replacing TMP with TMPUNDER in m4 file solved the problem.
ODPOWIEDZ