Compilation error

Asked by paparia

Hi. I have the same problem as here:

http://sourceforge.net/tracker/index.php?func=detail&aid=2780469&group_id=198355&atid=965144

So I installed Ubuntu 9.04 in a virtual machine and tried to compile latest wubi.

I'm getting the following errors:

tools/check_wine
cp -rf src/7z build
cp -rf src/pylauncher build
cp "data/images/Wubi.ico" build/pylauncher/application.ico
sed -i 's/application_name/wubi/' build/pylauncher/pylauncher.exe.manifest
cd build/pylauncher; make
make[1]: Entering directory `/home/user/Desktop/untitled/wubi/build/pylauncher'
i586-mingw32msvc-gcc -c -Os -Wall -m32 -march=i386 -D_SZ_FILE_SIZE_32 deletedir.c
sh: i586-mingw32msvc-gcc: not found
make[1]: *** [deletedir.o] Error 127
make[1]: Leaving directory `/home/user/Desktop/untitled/wubi/build/pylauncher'
make: *** [pylauncher] Error 2

I understand that this has something to do with gcc but I cannot solve it. Maybe you could help me compile Wubi or post a development version of Wubi with the above problem fixed?

Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Wubi Edit question
Assignee:
No assignee Edit question
Solved by:
paparia
Solved:
Last query:
Last reply:
Revision history for this message
Agostino Russo (ago) said :
#1

You need to install mingw, if you have a 64bit OS you also need the 32bit libs.
For Wubi 9.10 you should be using the latest karmic grub2 packages

Revision history for this message
paparia (paparia) said :
#2

You mean in WINE? I installed the 32bit version of Ubuntu.

Revision history for this message
paparia (paparia) said :
#3

Since I cannot get it to work in order to compile latest wubi myself, can someone provide me a latest build?

Thanks in advance.

Revision history for this message
Agostino Russo (ago) said :
#4

Evan provides public Wubi builds here: http://people.canonical.com/~evand/wubi/

Revision history for this message
paparia (paparia) said :
#5

Thank you very much for the link. My problem is solved in the newer version. :)