maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   gcc compiler on N9? (https://talk.maemo.org/showthread.php?t=82148)

derliebewolf 2012-02-12 16:56

Re: gcc compiler on N9?
 
I succeded with that and build-essention is up and running. Anyway when I try to compile using make, is get
Code:


-sh: make: Operation not permitted

why?

YavkatA 2012-02-13 05:28

Re: gcc compiler on N9?
 
My guess would be Aegis... did you try running make as root?

derliebewolf 2012-02-13 08:21

Re: gcc compiler on N9?
 
yes, I logged in as root (via ssh).

zszabo 2012-02-13 11:16

Re: gcc compiler on N9?
 
Shouldn't have to log in as root. In fact, if you uncompressed an archive as user and try to make as root, it will return permission denied since the directory is owned by user.

rcolistete 2012-03-07 18:15

Re: gcc compiler on N9?
 
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...

user/zero 2012-03-07 19:27

Re: gcc compiler on N9?
 
Quote:

Originally Posted by derliebewolf (Post 1164042)
why?

Because, apparently, in the new Nokia management's view, you shouldn't be able to do more things on this OS than in Windows Phone. Otherwise... I shall stop here. :)

TheStatsMan 2012-03-08 09:34

Re: gcc compiler on N9?
 
Quote:

Originally Posted by rcolistete (Post 1176051)
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...

This is really annoying. I guess this expains, why I was having trouble installing python-dev. All the dependencies were stuffed up. Any idea when the repository will be fixed by?

rcolistete 2012-03-14 23:21

Re: gcc compiler on N9?
 
Quote:

Originally Posted by rcolistete (Post 1176051)
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.

noog 2012-03-28 22:02

Re: gcc compiler on N9?
 
hello

i did that but i can't execute make ?
sh: make: not found

apt-get install binutils
dpkg -i --force-all libc6-dev_2.10-0maemo18.1\+0m6_armel.deb
dpkg -i libc-dev-bin_2.10-0maemo18.1\+0m6_armel.deb
dpkg -i linux-kernel-headers_2.6.32-20112910\+0m6_armel.deb
dpkg -i libmpfr1ldbl_2.4.1-0maemo4+0m6_armel.deb
dpkg -i fixincludes_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i cpp-4.4_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i gcc-4.4-base_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i gcc-4.4-locales_4.4.1-0maemo14\+0m6_all.deb
dpkg -i libgomp1_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i gcc-4.4_4.4.1-0maemo14+0m6_armel.deb
dpkg -i libstdc\+\+6_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i g++-4.4_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i --force-all libstdc++6-4.4-dev_4.4.1-0maemo14\+0m6_armel.deb

rcolistete 2012-03-28 22:26

Re: gcc compiler on N9?
 
Quote:

Originally Posted by noog (Post 1185334)
hello
when i try to install "dpkg -i cpp-4.4_4.4.1-0maemo14\+0m6_armel.deb"
the system ask for "libmpfr1ldbl" package
where can i download it ?

It is here, in Harmattan SDK mpfr.

How to find it : enable Harmattan SDK, then "apt-cache show libmpfr1ldbl", the result has the line :
Filename: pool/harmattan/free/m/mpfr/libmpfr1ldbl_2.4.1-0maemo4+0m6_armel.deb
So, go to the Harmattan SDK repository site.


All times are GMT. The time now is 08:03.

vBulletin® Version 3.8.8