Installazione programma con compilazione
Forum rules
Prima di inserire nuove discussioni si prega di leggere le regole del forum:
http://mib.pianetalinux.org/mib/forum/v ... f=3#p12407
http://mib.pianetalinux.org/mib/forum/v ... 2080#p2080
http://mib.pianetalinux.org/mib/forum/v ... 201#p15201
Before you post, please read forum rules:
http://mib.pianetalinux.org/mib/forum/v ... 2211#p2211
http://mib.pianetalinux.org/mib/forum/v ... 202#p15202
Prima di inserire nuove discussioni si prega di leggere le regole del forum:
http://mib.pianetalinux.org/mib/forum/v ... f=3#p12407
http://mib.pianetalinux.org/mib/forum/v ... 2080#p2080
http://mib.pianetalinux.org/mib/forum/v ... 201#p15201
Before you post, please read forum rules:
http://mib.pianetalinux.org/mib/forum/v ... 2211#p2211
http://mib.pianetalinux.org/mib/forum/v ... 202#p15202
- m4tt
- Utente junior
- Posts: 30
- Joined: 11 April 2009, 18:39
- OpenMandriva: 2009.1
- Kernel: 2.6.29.4-desktop-69m
- Desktop: kde4.2.2
Installazione programma con compilazione
Salve,
fino ad adesso installavo i programmi tramite i repo, con aggiungi e rimuovi software oppure con urpmi.
Ora pero volevo installare un programma non pacchettizzato.
Ho estratto l'archivio in una directory, tramite konsole e con il comando cd sono entrato nella directory ed ho lanciato il comando ./configure e appaiono queste scritte:
[root@localhost abgx360gui-1.0.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no[root@localhost abgx360gui-1.0.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
Dalle varie guide lette in giro sembra che mi manchi qualcosa per creare il file make?
Mi spiegate se potete come risolvere queste situazioni anche con altri programmi.
Sono molto confuso riguardo a questo argomento.
Grazie mille per le eventuali risposte.
Saluti Matteo
fino ad adesso installavo i programmi tramite i repo, con aggiungi e rimuovi software oppure con urpmi.
Ora pero volevo installare un programma non pacchettizzato.
Ho estratto l'archivio in una directory, tramite konsole e con il comando cd sono entrato nella directory ed ho lanciato il comando ./configure e appaiono queste scritte:
[root@localhost abgx360gui-1.0.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no[root@localhost abgx360gui-1.0.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
Dalle varie guide lette in giro sembra che mi manchi qualcosa per creare il file make?
Mi spiegate se potete come risolvere queste situazioni anche con altri programmi.
Sono molto confuso riguardo a questo argomento.
Grazie mille per le eventuali risposte.
Saluti Matteo
- othoth-tux
- Collaboratore
- Posts: 338
- Joined: 4 February 2008, 19:55
- OpenMandriva: OpenSuse 12.2
- Kernel: 3.4.x
- Desktop: Gnome3
- country: Italy
Re: Installazione programma con compilazione
ciao,
a quanto pare ti mancano i compilatori, prova a installarli con:
poi riprova a compilare.
se hai ancora problemi noi siamo qui.
a quanto pare ti mancano i compilatori, prova a installarli con:
Code: Select all
urpmi gcc
se hai ancora problemi noi siamo qui.
- m4tt
- Utente junior
- Posts: 30
- Joined: 11 April 2009, 18:39
- OpenMandriva: 2009.1
- Kernel: 2.6.29.4-desktop-69m
- Desktop: kde4.2.2
Re: Installazione programma con compilazione
Ok grazie mille, stasera a casa provo e vi faccio sapere.
Una volta installato i compilatori rilancio configure e dopo make??
Ciao
Una volta installato i compilatori rilancio configure e dopo make??
Ciao
- othoth-tux
- Collaboratore
- Posts: 338
- Joined: 4 February 2008, 19:55
- OpenMandriva: OpenSuse 12.2
- Kernel: 3.4.x
- Desktop: Gnome3
- country: Italy
Re: Installazione programma con compilazione
prima ./configure,
poi make,
poi da root make install
poi make,
poi da root make install
- m4tt
- Utente junior
- Posts: 30
- Joined: 11 April 2009, 18:39
- OpenMandriva: 2009.1
- Kernel: 2.6.29.4-desktop-69m
- Desktop: kde4.2.2
Re: Installazione programma con compilazione
Risposte alla velocità della luce........ grazie mille stasera vi faccio sapere
- astragalo
- Collaboratore
- Posts: 663
- Joined: 7 December 2007, 18:29
- ROSA: Rosa R11.1
- OpenMandriva: -
- Kernel: 4.15.xx
- Desktop: Plasma5
- country: Italia
Re: Installazione programma con compilazione
Ciao, giusto per precisare come stanno le cose oltre a quello gia detto bisogna aggiungere che servono tutte le dipendenze che il programma richiede in compilazione ed esecuzione, questo viene di solito fatto dal gestore dei pacchetti (quando il pacchetto è preparato a dovere) in questo caso sei tu che ci devi pensare.
Altra nota, per la disinstallazione non sempre i porgrammi contengono il make uninstall in questi casi bisogna andare a cancellare a mano tutti i file che ha installato, la disinstallazione può essere indispensabile in certi casi di aggiornamento.
A conti fatti quando è possibile è meglio usare i precompilati.
Ciao, e buon divertimento.
Astragalo
Altra nota, per la disinstallazione non sempre i porgrammi contengono il make uninstall in questi casi bisogna andare a cancellare a mano tutti i file che ha installato, la disinstallazione può essere indispensabile in certi casi di aggiornamento.
A conti fatti quando è possibile è meglio usare i precompilati.
Ciao, e buon divertimento.
Astragalo
L'erba cattiva non muore mai!!!
- Roberto_65
- Collaboratore
- Posts: 516
- Joined: 6 December 2007, 23:56
- OpenMandriva: 2009.1
- Kernel: i686 x86_64
- Desktop: Gnome Xfce4
- Location: Triangolo delle Bermude
- Contact:
Re: Installazione programma con compilazione
Ho trovato un bellissimo programma tra i repository di Mandriva: SOURCEINSTALL.
Per installarlo digita:
e per eseguirlo basta digitare:
Per installarlo digita:
Code: Select all
urpmi --force -a sourceinstall sourceinstall-gtk
Code: Select all
sourceinstall-gtk
Roberto_65
Packager delle MIB-Live
Il creatore delle MIB-Live
L'inventore di MIB-LiveToFlash
Triangolo delle Bermude http://www.sitohd.com/siti/3209
Packager delle MIB-Live
Il creatore delle MIB-Live
L'inventore di MIB-LiveToFlash
Triangolo delle Bermude http://www.sitohd.com/siti/3209
- m4tt
- Utente junior
- Posts: 30
- Joined: 11 April 2009, 18:39
- OpenMandriva: 2009.1
- Kernel: 2.6.29.4-desktop-69m
- Desktop: kde4.2.2
Re: Installazione programma con compilazione
Allora ho provato tutte e due le soluzioni proposte, sia installando gcc che il programmino che fa tutto lui.....
1) caso, questo è il risultato:
[root@localhost abgx360gui-1.0.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
Secondo caso da la stessa cosa con configure: error: C++ compiler cannot create executables
See `config.log' for more details. alla fine.
Avete qualche idea?
Grazie mille ciao
1) caso, questo è il risultato:
[root@localhost abgx360gui-1.0.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
Secondo caso da la stessa cosa con configure: error: C++ compiler cannot create executables
See `config.log' for more details. alla fine.
Avete qualche idea?
Grazie mille ciao
Re: Installazione programma con compilazione
M4tt,
Se non mi sbaglio er avere i programmi principale per compilazione:
Con la prossima installatione di Mandriva... segli "Custom" invece "KDE" o "Gnome" + "Development"
Ciao,
MauRice
Se non mi sbaglio er avere i programmi principale per compilazione:
Code: Select all
urpmi task-c-devel task-c++-devel
Ciao,
MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be
- m4tt
- Utente junior
- Posts: 30
- Joined: 11 April 2009, 18:39
- OpenMandriva: 2009.1
- Kernel: 2.6.29.4-desktop-69m
- Desktop: kde4.2.2
Re: Installazione programma con compilazione
Ok ho installato la serie di pacchetti derivanti dal tuo comando, rilancio la compilazione, questa volta con Gnu source intaller e mi da questo errore in console:
configure: error:
wxWidgets must be installed on your system.
Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' or 'wx-config --static --libs' command)
is in LD_LIBRARY_PATH or equivalent variable and
wxWidgets version is 2.5.0 or above.
Lo stesso errore me lo da facendo il ./configure da console.
Ho capito che c'entra qualcosa questo wxWidgets, ma sinceramente non so manco cosa sia
Aiutino?
Grazie
configure: error:
wxWidgets must be installed on your system.
Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' or 'wx-config --static --libs' command)
is in LD_LIBRARY_PATH or equivalent variable and
wxWidgets version is 2.5.0 or above.
Lo stesso errore me lo da facendo il ./configure da console.
Ho capito che c'entra qualcosa questo wxWidgets, ma sinceramente non so manco cosa sia
Aiutino?
Grazie
Re: Installazione programma con compilazione
M4tt,m4tt wrote:Ok ho installato la serie di pacchetti derivanti dal tuo comando, rilancio la compilazione, questa volta con Gnu source intaller e mi da questo errore in console:
configure: error:
wxWidgets must be installed on your system.
Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' or 'wx-config --static --libs' command)
is in LD_LIBRARY_PATH or equivalent variable and
wxWidgets version is 2.5.0 or above.
Lo stesso errore me lo da facendo il ./configure da console.
Ho capito che c'entra qualcosa questo wxWidgets, ma sinceramente non so manco cosa sia
Aiutino?
Grazie
Non e lo stesso errore...
Adesso ti mancano i pacchetti specifici per questo compilazione....
Questo programino chiede wxGTK.
Code: Select all
urpmi libwxgtk-devel
MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be
- m4tt
- Utente junior
- Posts: 30
- Joined: 11 April 2009, 18:39
- OpenMandriva: 2009.1
- Kernel: 2.6.29.4-desktop-69m
- Desktop: kde4.2.2
Re: Installazione programma con compilazione
Il nuovo pacchetto è stato aggiunto con successo con Gnu source installer......
Grazie Maurice e grazie anche agli altri che mi hanno aiutato....
Ciao... e al prossimo problema
Grazie Maurice e grazie anche agli altri che mi hanno aiutato....
Ciao... e al prossimo problema