Page 1 of 1

Compiling Error in MinGW (with GCC 3.4.6)

Posted: 2006-04-20 20:36
by TheCureForM$
Hello, I have a MinGW setup and recently compiled GCC-3.4.6 and it works, but when compiling FileZilla I noticed it could not write/read temp files. I've tryed defining the TMP bash shell variable and it failed so this is the default error.. can somone tell me if there is somthing im doing wrong?

Code: Select all

./configure --prefix=/home/Administrator/Zilla --disable-shared --enable-static
make[3]: Entering directory `/home/Administrator/FileZilla/FileZilla3/src/include'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -g -O2 -Wall -g -fexception
s -I/opt/wxWidgets/lib/wx/include/msw-unicode-release-static-2.6 -I/opt/wxWidget
s/include/wx-2.6 -D__WXMSW__ -mthreads -DNO_GCC_PRAGMA -I/opt/wxWidgets/lib/wx/i
nclude/msw-unicode-release-static-2.6 -I/opt/wxWidgets/include/wx-2.6 -D__WXMSW_
_ -mthreads -DNO_GCC_PRAGMA -MT FileZilla.h.gch -MD -MP -MF ".deps/FileZilla.Tpo
" -c -o FileZilla.h.gch FileZilla.h; \
then mv -f ".deps/FileZilla.Tpo" ".deps/FileZilla.Po"; else rm -f ".deps/FileZilla.Tpo"; exit 1; fi
FileZilla.h:61: fatal error: can't read C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccczaaaa.s: No such file or directory
compilation terminated.
make[3]: *** [FileZilla.h.gch] Error 1
make[3]: Leaving directory `/home/Administrator/FileZilla/FileZilla3/src/include
'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Administrator/FileZilla/FileZilla3/src/include
'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/FileZilla/FileZilla3/src'
make: *** [all-recursive] Error 1

Posted: 2006-04-20 20:56
by botg
Please try to configure FZ3 with --disable-precomp

Posted: 2006-04-20 21:34
by TheCureForM$
I love you.

Posted: 2006-04-20 21:53
by botg
TheCureForM$ wrote:I love you.
Uhm yes. Does it mean your problem is solved now?

Posted: 2006-04-21 21:52
by TheCureForM$
Yes thank you very much, FileZilla rocks :D :oops: 8) :P

Posted: 2006-04-22 09:46
by botg
One question I still have: Did you compile GCC yourself? Most recent official MinGW is version 3.4.5 as far as I know.

Posted: 2006-04-23 01:17
by TheCureForM$
Yes I did :) using the sources on the gnu mirror. :) compiled fine. and i've already compiled a few builds of filezilla with it thanks to you. Its brilliant! :D


**Btw, I may be able to get them for you if you don't wish to compile it yourself, btw do you need somone to make OpenBSD/FreeBSD builds?**


**MY Configure Command:**

Code: Select all

./configure 
--with-gcc 
--with-gnu-ld 
--with-gnu-as 
--host=mingw32 
--target=mingw32
--enable-threads
--disable-libgcj-debug
--enable-java-gc=boehm
--disable-java-awt
--enable-libgcj
--disable-nls 
--enable-languages=c,c++  **(also f77,ada,objc,java if needed...)**
--disable-win32-registry
--disable-shared 
--enable-sjlj-exceptions
--without-x 
--enable-interpreter 
--enable-hash-synchronization 
--enable-libstdcxx-debug
**Sorry for combinding questions.. but why does FileZilla3 on windows access the floppy drive before it loads? and can you add a function in the local site menu tree for alias's to My Documents/Desktop? Mayby put the functions in a #ifdef or somthing lol..***