|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 3958
|
[Ubuntu 7.04] Problema di librerie?
Ciao
Ho scaricato il file relativo ad un semplice simulatore di volo (ACM 5.0 ico). Ho provato a installarlo sul mio Ubuntu 7.04 dove aver estratto il pacchetto seguendo le istruzioni allegate per la compilazione e l'avvio del programma, ma la shell mi riporta dei messaggi di errore relativi probabilmente a librerie mancanti. Questo in shell: lux@lux-desktop:~/acm-5.0-ico-20080420$ ./configure loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for xdr_free in -lnsl... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for stdlib.h... yes checking for malloc.h... yes checking for unistd.h... yes checking return type of signal handlers... void checking for sigaction structure... yes checking for M_PI casted to long double... no checking for X... no checking for XdbeSwapBuffers in -lXext... no checking for XInitImage in -lX11... no checking should the IEEE 1278 DIS protocol be used...... yes checking if DIS debugging should be compiled-in... no checking should DIS experimental request/grant control be used...... yes checking checking for an ACM-compatible audio library ... checking for AuCloseServer in -laudio... no checking for bind in -lsocket... no checking for main in -ldnet_stub... no checking for main in -lbsd... no checking for strdup... no checking for rand... no checking for random... no configure: error: Hmm. Your system does not support either random() or rand(). Cosa c'è che non va? Cosa manca? Grazie anticipatamente |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: May 2008
Messaggi: 622
|
di solito dentro all'archivio dovrebbe esserci un readme.txt o un install dove sono elencate le dipendenze, o al massimo dovrebbero essere indicate dove l'hai scaricato. probabilmente ti manca qualke pacchetto, xké ubuntu non installa niente di default, una volta ke l'ho provata senza connessione ad internet non avrei potuto ascoltare neanke gli mp3. cmq é strano xké rand é contenuta in stdlib.h ke tu hai....
Ultima modifica di sasa83 : 04-05-2008 alle 00:47. |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 14:28.