Precedente :: Successivo |
Autore |
Messaggio |
anabasi Amministratore


Registrato: 21/10/05 01:58 Messaggi: 15621 Residenza: Tra Alpi e Tanaro
|
Inviato: 15 Feb 2010 08:43 Oggetto: |
|
|
Io ho Ubuntu 9.04 e, usando Synaptic, trovo il pacchetto build-essential 11.4
E' presente in it.archive.ubuntu.com/main
Controlla se lo hai abilitato. Lo puoi fare in modo grafico: "Sistema" -> "Amministrazione" -> "Sorgenti Software" -> "Software per Ubuntu" e verifica che sia selezionata la casella "Software open source supportato da Canonical (Main).
Se vuoi, da linea di comando puoi fare:
Codice: |
cat /etc/apt/sources.list
|
e postare qui l'output. |
|
Top |
|
 |
franco.ab Dio minore

Registrato: 17/11/08 12:52 Messaggi: 666
|
Inviato: 15 Feb 2010 19:45 Oggetto: |
|
|
vito@vito-desktop:~$ cat /etc/apt/sources.list
#deb cdrom:[Ubuntu 8.04.2 _Hardy Heron_ - Release i386 (20090121)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://it.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://it.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy universe
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
Anabasi avevi perfettamente ragione…ho la 8.04!Praticamente poco tempo fa il sistema si è bloccato e ho dovuto rinstallare tutto da capo…e per sbaglio ho preso il cd della versione precedente.Il problema è che la 8.04 mi ha dato seri problemi di navigazione,non c’era modo di farlo connettere…e sicuramente non ci riuscirò nemmeno adesso…risorsi il problema passando alla 9.04…se mi dici dove posso reperire la versione 9.10 desktop di ubuntu me la scarico e la installo.
ciao |
|
Top |
|
 |
SverX Supervisor Macchinisti


Registrato: 25/03/02 12:16 Messaggi: 11806 Residenza: Tokelau
|
|
Top |
|
 |
franco.ab Dio minore

Registrato: 17/11/08 12:52 Messaggi: 666
|
Inviato: 16 Feb 2010 13:04 Oggetto: |
|
|
grazie |
|
Top |
|
 |
anabasi Amministratore


Registrato: 21/10/05 01:58 Messaggi: 15621 Residenza: Tra Alpi e Tanaro
|
Inviato: 16 Feb 2010 19:51 Oggetto: |
|
|
Ciao
Ad ogni modo, non si spiega perché tu non riesca a scaricare dai repo il pacchetto build-essential. Ho controllato, ed è presente anche nei repo di Ubuntu 8.04 (Hardy).
E, a vedere il tuo sources.list, sembra che non ci dovrebbero essere problemi.
A meno che ...
franco.ab ha scritto: |
Il problema è che la 8.04 mi ha dato seri problemi di navigazione, non c’era modo di farlo connettere…e sicuramente non ci riuscirò nemmeno adesso… |
...tu non sia mai riuscito a connetterti con la 8.04 |
|
Top |
|
 |
franco.ab Dio minore

Registrato: 17/11/08 12:52 Messaggi: 666
|
Inviato: 16 Feb 2010 21:47 Oggetto: |
|
|
No,non ci riuscii...infatti decisi di passare alla versione successiva.Comunque da quando l'ho rimesso non ci ho nemmeno provato,cioè non ho configurato nessuna connessione...se vuoi faccio la prova
ciao |
|
Top |
|
 |
franco.ab Dio minore

Registrato: 17/11/08 12:52 Messaggi: 666
|
Inviato: 25 Feb 2010 18:46 Oggetto: |
|
|
Ciao,finalmente sono riuscito a vedere quel famoso ciao che il mio programma chiedeva,l’ho fatto con il compilatore g++ di ubuntu!Vorrei chiedervi ancora una cosa…l’eseguibile di un programma funziona su tutte le macchine che hanno lo stesso sistema operativo?Cioè se io faccio un eseguibile di un programma con un compilatore installato in ubuntu,funzionerà su qualunque computer che ha ubuntu?Se invece lo avessi fatto con un compilatore installato su windows xp,avrebbe funzionato su tutte le macchine che hanno xp?
ciao |
|
Top |
|
 |
freemind Supervisor sezione Programmazione


Registrato: 04/04/07 21:28 Messaggi: 4643 Residenza: Internet
|
Inviato: 25 Feb 2010 20:03 Oggetto: |
|
|
Attenzione, l'eseguibile è compilato per un certo tipo di macchina e un certo tipo di sistema operativo.
Il tuo programma ha buone probabilità di essere portato su qualsiasi distro linux/unix; non girerà mai su windows.
Se però fai uso di librerie particolari ovviamente queste dovranno essere presenti nel sistema in cui porti il programma. |
|
Top |
|
 |
franco.ab Dio minore

Registrato: 17/11/08 12:52 Messaggi: 666
|
Inviato: 26 Feb 2010 18:25 Oggetto: |
|
|
ho capito...grazie per l'aiuto.
ciao |
|
Top |
|
 |
5y5t3m Mortale adepto

Registrato: 28/07/09 11:19 Messaggi: 32
|
Inviato: 03 Apr 2010 12:15 Oggetto: |
|
|
Prova a vedere se così funziona:
Codice: |
#include<iostream.h>
void main(){
cout<<"ciao";
} |
Sono arrivato tardi....  |
|
Top |
|
 |
|