PDA

Visualizza versione completa : [Ubuntu] 7.04 - Librerie mancanti, ma quali?


luca2
03-05-2008, 23.45.58
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

ANDY CAPS
05-05-2008, 21.21.21
acm-5.0 lo puoi installare tranquillamente con apt o dal gestore software

apt-cache search acm

acm - A multi-player aerial combat simulation
acm4 - multi-player aerial combat simulation

per i files mancanti dopo esserti assicurato di avere installato build-essential
cerca random tra i pacchetti ed installa i -dev dei Random number generator library
vhe hai disponibili

controlla con modprobe -l | grep rand quali moduli hai caricabili per il tuo hardware
con modprobe
caricandoli crea i device necessari in /dev