Now I am not with my N9 to test. But i think gcc needs the Harmattan-dev Nokia repository, so install : http://harmattan-dev.nokia.com/pool/harmattan-beta3/free/h/harmattan-repository/harmattan-repository_0.4+0m6_all.deb to enable this repository (if not enable before). Then, as root (after 'devel-su' and 'rootme' as password) : # apt-get update # apt-get build-essential
# apt-get update Get: 1 exec:////usr/bin/osa --packages Err https://downloads.maemo.nokia.com ./ Release.gpg Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) Err https://downloads.maemo.nokia.com ./ Translation-en_GB Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) Err https://downloads.maemo.nokia.com ./ Release.gpg Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) Err https://downloads.maemo.nokia.com ./ Translation-en_GB Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) Err https://downloads.maemo.nokia.com ./ Release.gpg Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) Err https://downloads.maemo.nokia.com ./ Translation-en_GB Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) 0% [1 exec:////usr/bin/osa --packages 0B]QNetworkReplyImpl::_q_startOperation was called morethan once Fetched 104kB in 60s (1,716B/s) Updating desktop entries... Done Reading package lists... Done W: Failed to fetch https://downloads.maemo.nokia.com/harmattan/333/./Release.gpg Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) W: Failed to fetch https://downloads.maemo.nokia.com/harmattan/333/./en_GB.gz Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) W: Failed to fetch https://downloads.maemo.nokia.com/harmattan/apps/./Release.gpg Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) W: Failed to fetch https://downloads.maemo.nokia.com/harmattan/apps/./en_GB.gz Could not resolve host: downloads.maemo.nokia.com (Could notcontact DNS servers) W: Failed to fetch https://downloads.maemo.nokia.com/harmattan/tools/./Release.gpg Could notresolve host: downloads.maemo.nokia.com (Couldnot contact DNS servers) W: Failed to fetch https://downloads.maemo.nokia.com/harmattan/tools/./en_GB.gz Could not resolve host: downloads.maemo.nokia.com (Could not contact DNS servers) W: Some index files failed to download, they have been ignored, or old ones used instead. ~ # apt-get build-essential E: Invalid operation build-essential ~ #