PDA

View Full Version : compilazione initng... cpp gli sta sulle balle?


lnessuno
31-08-2005, 13:42
lele@merlino:~/software/src/initng-0.1.9$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.


mbè? io cpp, gcc e palle varie li ho installati... non gli piacciono? :confused:

VICIUS
31-08-2005, 14:35
Ti manca g++. :D

ciao ;)

lnessuno
31-08-2005, 19:18
Ti manca g++. :D

ciao ;)



ops :fagiano:



:D

toniocartonio
01-09-2005, 09:44
ma voi la notate la differenza?
Io l´ho installato sulla mia gentoo... ma non mi pare sia diventato un lampo come dicono tutti... il tempo d´avvio é praticamente uguale a prima (anzi... forse ha pure perso qualcosa da quando si é aggiunto un "waiting for /dev/rtc to appear".. non sono sicuro sia rtc... cominciava per r cmq)

La riga in grub per dirgli di usare initng l´ho messa... esiste un modo per controllare che initng stia effettivamente partendo?

lnessuno
01-09-2005, 13:24
ma voi la notate la differenza?
Io l´ho installato sulla mia gentoo... ma non mi pare sia diventato un lampo come dicono tutti... il tempo d´avvio é praticamente uguale a prima (anzi... forse ha pure perso qualcosa da quando si é aggiunto un "waiting for /dev/rtc to appear".. non sono sicuro sia rtc... cominciava per r cmq)

La riga in grub per dirgli di usare initng l´ho messa... esiste un modo per controllare che initng stia effettivamente partendo?



all'avvio ad ogni servzio caricato vedi la percentuale di boot, se usi initng :)

a me su debian aveva quasi dimezzato i tempi di caricamento (da 25 secondi a poco più di 10), spettacolare... però non mi faceva partire l'audio e qualcos altro quindi non lo potevo utilizzare normalmente, peccato.


su ubuntu invece non riesco a farlo funzionare... :(

questo è il mio /boot/grub/menu.lst


### UBUNTU BOOT NORMALE
title Ubuntu, kernel 2.6.10-5-386
root (hd0,6)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda7 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot

### UBUNTU BOOT CON INITNG
title Ubuntu, kernel 2.6.10-5-386 (initng fast boot)
root (hd0,6)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda7 init=/sbin/initng
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot

non mi fa il boot con initng... qualcuno sa perchè? ho sbagliato qualcosa? :(

toniocartonio
01-09-2005, 13:53
ok... allora decisamente non funziona nemmeno a me... la riga di grub é uguale alla mia :mc:

lnessuno
01-09-2005, 18:48
ok... allora decisamente non funziona nemmeno a me... la riga di grub é uguale alla mia :mc:



ma non è quello, dipende da cosa vedi durante il boot :D

toniocartonio
02-09-2005, 09:18
mi sono espresso male... volevo dire 2 cose distinte e ho fatto un riassunto :D
1) La mia riga in grub é uguale alla tua (e in teoria dovrebbe essere giusta)
2) Il boot dá esattamente gli stessi messaggi pre-initng, ci mette lo stesso tempo e non dá nessuna percentuale come descritto da te...

Da questo deduco che initng non sta facendo un tubo... non é che magari esiste un comando tipo verbose per fargli dire cosa non gli piace?

lnessuno
02-09-2005, 13:25
mi sono espresso male... volevo dire 2 cose distinte e ho fatto un riassunto :D
1) La mia riga in grub é uguale alla tua (e in teoria dovrebbe essere giusta)
2) Il boot dá esattamente gli stessi messaggi pre-initng, ci mette lo stesso tempo e non dá nessuna percentuale come descritto da te...

Da questo deduco che initng non sta facendo un tubo... non é che magari esiste un comando tipo verbose per fargli dire cosa non gli piace?



se c'è non lo conosco :fagiano: :D

cmq allora confermo... non stai usando initng :(