View Single Post
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#18
Originally Posted by rcolistete View Post
With PR1.2 of Nokia N9 :
- gcc/g++ were removed;
- I can't reinstall then by using "apt-get install build-essential" ou "apt-get install gcc g++", etc.
There are dependencies problems between Harmattan SDK beta 3 and MeeGo 1.2 Harmattan PR1.2.
I think we need to wait the release of Harmattan SDK beta 4 repository...
I have found a solution, but not simple...

Even with the stable Harmattan SDK (released today or yesterday), in :
http://harmattan-dev.nokia.com/pool/harmattan/
the dependencies problem remains to install gcc/g++ to Nokia N9 with PR1.2 (on PR1.1 it was trivial, just "apt-get install build-essential").

So, I have downloaded some .debs from the Harmattan SDK :
- binutils
- libc6-dev
- libc-dev-bin
- linux-kernel-headers
- libgmp3c2
- libmpfr1ldbl
- cpp-4.4
- gcc-4.4-base
- gcc-4.4-locales
- gcc-4.4
- fixincludes
- libgcc1
- libgomp1
- libstdc++6
- libstdc++6-4.4-dev
- g++-4.4
- cpp
- gcc
- g++
- make
and installed them (in the order above) with "dpkg -i" as root. Worse, two of them, "libc6-dev" and "libstdc++6-4.4-dev" needs "dpkg -i --force-all" to install.

The Harmattan SDK gcc-4.4 folder also has debs for docs, gfortran, etc, which can be installed.

Important : the Harmattan SDK should not be enabled, i.e., the "/etc/apt/sources.list" file should be removed, then "# apt-get update" so we can use "dpkg -i" without aegis errors.

Last hint : to run ".o" object files compiled by gcc/g++, use inception & opensh.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2012-07-20 at 19:28. Reason: Added libgmp3c2 & libmpfr1ldbl & make & binutils & cpp & gcc & g++
 

The Following 4 Users Say Thank You to rcolistete For This Useful Post: