PDA

View Full Version : [SOLVED] MinGW install problems



Utkarsh Ray
January 8th, 2011, 10:42 AM
I wanted a program to compile .cpp in Ubuntu for Ubuntu and Windows. So I downloaded GCC-4.5 source
m4_1.4.14-3_i386.deb
autoconf_2.67-2ubuntu1_all.deb
autotools-dev_20100122.1_all.deb
automake_1.11.1-1_all.deb
automake1.9_1.9.6+nogfdl-3ubuntu3_all.deb
diffstat_1.53-1_i386.deb
autoconf2.59_2.59-1_all.deb
patch_2.6-2ubuntu1_i386.deb
libunistring0_0.9.3-1_i386.deb
gettext_0.18.1.1-1ubuntu2_i386.deb
quilt_0.48-7_all.deb
patchutils_0.3.1-2build1_i386.deb
gcc-4.5-source_4.5.1-7ubuntu2_all.deb
I've written this because I downloaded them from my phone not via Software Centre
I also downloaded MinGW
mingw32-binutils_2.20-0.1_i386.deb
mingw32-runtime_3.15.2-0ubuntu1_all.deb
gcc-mingw32_4.4.4-0.1build1_i386.deb
mingw-w64_0~20100125-3fakesync1_all.deb

I installed them in the sequence given above (generated by software centre).
While the GCC installed fine, I couldn't get the file
gcc-mingw32_4.4.4-0.1build1_i386.deb
to be installed on my system
When I double click on this file (after installing binutils and the runtime) the install button is grayed and it shows this message
Breaks existing package 'mingw32-binutils' that conflict: 'mingw32'. But the '/media/427069A370699F03/Downloads/Softwares/Ubuntu and GNU-Linux/Compilers/MinGW/gcc-mingw32_4.4.4-0.1build1_i386.deb' provides it via: 'mingw32'
When I try to install
mingw-w64_0~20100125-3fakesync1_all.deb
it gets installed correctly
Then I uninstalled all three and tried to install
gcc-mingw32_4.4.4-0.1build1_i386.deb
it says that the file
mingw32-binutils_2.20-0.1_i386.deb
is needed by this package.

I need help.

EDIT
Using aptoncd and installing the meta package generated by it using synaptic did the job. Something in dependencies I think.
Sorry for bumping dead thread.