View Full Version : Qemu, ho un problema che non capisco.........
stefanoxjx
18-12-2005, 12:49
Sto cercando di intallare kqemu, ho scaricato i tarball, li ho scompressi e ho tentato di eseguire il ./configure come descritto nel file readme.
I risultati sono questi:
kqemu$ more README
You must untar this archive in the qemu/ directory and then launch
./configure to configure it. More information can be found in
qemu-doc.html, section 7, Compilation from the sources.
kqemu$ ./install.sh
bash: ./install.sh: /bin/sh: bad interpreter: Permission denied
kqemu$ ./configure
bash: ./configure: No such file or directory
L'interprete sh c'è, ho provato anche a dare un chmod 777 -R *, ma non cambia nulla.
Non capisco questo errore ed è la prima volta che lo vedo.
Avete qualche consiglio?
Grazie.
Ciao.
kqemu$ more README
You must untar this archive in the qemu/ directory and then launch
./configure to configure it. More information can be found in
qemu-doc.html, section 7, Compilation from the sources.
Qui dice che devi decomprimere il file dentro la cartella di qemu...però così a prima vista non mi sembra che tu sia in una sotto cartella di qemu..
e penso che il ./configure sia inteso per qemu "./configure to configure it. More information can be found in qemu-doc.html" e non per kqemu.
Di più non ti so dire...io qemu lo uso da shell senza interfaccia grafica.
stefanoxjx
18-12-2005, 13:28
Avevo già provato anche questa soluzione, infatti:
qemu-0.7.2$ ls -l
totale 2300
-rwxrwxrwx 1 stefano stefano 61233 2005-09-04 19:11 aes.c
-rwxrwxrwx 1 stefano stefano 717 2005-09-04 19:11 aes.h
-rwxrwxrwx 1 stefano stefano 82481 2005-09-04 19:11 alpha-dis.c
-rwxrwxrwx 1 stefano stefano 4098 2005-09-04 19:11 alpha.ld
-rwxrwxrwx 1 stefano stefano 14095 2005-09-04 19:11 a.out.h
-rwxrwxrwx 1 stefano stefano 56493 2005-09-04 19:11 arm-dis.c
-rwxrwxrwx 1 stefano stefano 4107 2005-09-04 19:11 arm.ld
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 audio
-rwxrwxrwx 1 stefano stefano 6328 2005-09-04 19:11 block-bochs.c
-rwxrwxrwx 1 stefano stefano 16254 2005-09-04 19:11 block.c
-rwxrwxrwx 1 stefano stefano 4953 2005-09-04 19:11 block-cloop.c
-rwxrwxrwx 1 stefano stefano 8028 2005-09-04 19:11 block-cow.c
-rwxrwxrwx 1 stefano stefano 8293 2005-09-04 19:11 block-dmg.c
-rwxrwxrwx 1 stefano stefano 3105 2005-09-04 19:11 block_int.h
-rwxrwxrwx 1 stefano stefano 22466 2005-09-04 19:11 block-qcow.c
-rwxrwxrwx 1 stefano stefano 14234 2005-09-04 19:11 block-vmdk.c
-rwxrwxrwx 1 stefano stefano 6641 2005-09-04 19:11 block-vpc.c
-rwxrwxrwx 1 stefano stefano 54492 2005-09-04 19:11 block-vvfat.c
-rwxrwxrwx 1 stefano stefano 4454 2005-09-04 19:11 bswap.h
-rwxrwxrwx 1 stefano stefano 12044 2005-09-04 19:11 Changelog
-rwxrwxrwx 1 stefano stefano 17443 2005-09-04 19:11 cocoa.m
-rwxrwxrwx 1 stefano stefano 20445 2005-09-04 19:11 configure
-rwxrwxrwx 1 stefano stefano 19553 2005-09-04 19:11 console.c
-rwxrwxrwx 1 stefano stefano 17976 2005-09-04 19:11 COPYING
-rwxrwxrwx 1 stefano stefano 26428 2005-09-04 19:11 COPYING.LIB
-rwxrwxrwx 1 stefano stefano 18961 2005-09-04 19:11 cpu-all.h
-rwxrwxrwx 1 stefano stefano 2964 2005-09-04 19:11 cpu-defs.h
-rwxrwxrwx 1 stefano stefano 42833 2005-09-04 19:11 cpu-exec.c
-rwxrwxrwx 1 stefano stefano 9888 2005-09-04 19:11 disas.c
-rwxrwxrwx 1 stefano stefano 673 2005-09-04 19:11 disas.h
-rwxrwxrwx 1 stefano stefano 17154 2005-09-04 19:11 dis-asm.h
-rwxrwxrwx 1 stefano stefano 81199 2005-09-04 19:11 dyngen.c
-rwxrwxrwx 1 stefano stefano 6558 2005-09-04 19:11 dyngen-exec.h
-rwxrwxrwx 1 stefano stefano 12377 2005-09-04 19:11 dyngen.h
-rwxrwxrwx 1 stefano stefano 162 2005-09-04 19:11 dyngen-op.h
-rwxrwxrwx 1 stefano stefano 42647 2005-09-04 19:11 elf.h
-rwxrwxrwx 1 stefano stefano 17893 2005-09-04 19:11 exec-all.h
-rwxrwxrwx 1 stefano stefano 72984 2005-09-04 19:11 exec.c
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 fpu
-rwxrwxrwx 1 stefano stefano 20370 2005-09-04 19:11 gdbstub.c
-rwxrwxrwx 1 stefano stefano 206 2005-09-04 19:11 gdbstub.h
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 hw
-rwxrwxrwx 1 stefano stefano 99388 2005-09-04 19:11 i386-dis.c
-rwxrwxrwx 1 stefano stefano 4547 2005-09-04 19:11 i386.ld
-rwxrwxrwx 1 stefano stefano 4455 2005-09-04 19:11 i386-vl.ld
-rwxrwxrwx 1 stefano stefano 8582 2005-09-04 19:11 ia64.ld
-rwxrwxrwx 1 stefano stefano 884 2005-09-04 19:11 ia64-syscall.S
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 keymaps
-rwxrwxrwx 1 stefano stefano 4285 2005-09-04 19:11 keymaps.c
drwxrwxrwx 2 stefano stefano 4096 2005-12-18 13:32 kqemu
-rwxrwxrwx 1 stefano stefano 21228 2005-09-04 19:11 kqemu.c
-rwxrwxrwx 1 stefano stefano 346 2005-09-04 19:11 LICENSE
-rwxrwxrwx 1 stefano stefano 2180 2005-09-04 19:11 linux-2.6.9-qemu-fast.patch
drwxrwxrwx 7 stefano stefano 4096 2005-09-04 19:11 linux-user
-rwxrwxrwx 1 stefano stefano 6090 2005-09-04 19:11 m68k.ld
-rwxrwxrwx 1 stefano stefano 3768 2005-09-04 19:11 Makefile
-rwxrwxrwx 1 stefano stefano 10087 2005-09-04 19:11 Makefile.target
-rwxrwxrwx 1 stefano stefano 161384 2005-09-04 19:11 mips-dis.c
-rwxrwxrwx 1 stefano stefano 55126 2005-09-04 19:11 monitor.c
-rwxrwxrwx 1 stefano stefano 15040 2005-09-04 19:11 osdep.c
-rwxrwxrwx 1 stefano stefano 1438 2005-09-04 19:11 osdep.h
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 pc-bios
-rwxrwxrwx 1 stefano stefano 132561 2005-09-04 19:11 ppc-dis.c
-rwxrwxrwx 1 stefano stefano 4559 2005-09-04 19:11 ppc.ld
-rwxrwxrwx 1 stefano stefano 15282 2005-09-04 19:11 qemu.1
-rwxrwxrwx 1 stefano stefano 1936 2005-09-04 19:11 qemu-binfmt-conf.sh
-rwxrwxrwx 1 stefano stefano 50911 2005-09-04 19:11 qemu-doc.html
-rwxrwxrwx 1 stefano stefano 37538 2005-09-04 19:11 qemu-doc.texi
-rwxrwxrwx 1 stefano stefano 8918 2005-09-04 19:11 qemu-img.1
-rwxrwxrwx 1 stefano stefano 17849 2005-09-04 19:11 qemu-img.c
-rwxrwxrwx 1 stefano stefano 4029 2005-09-04 19:11 qemu-img.texi
-rwxrwxrwx 1 stefano stefano 23957 2005-09-04 19:11 qemu-tech.html
-rwxrwxrwx 1 stefano stefano 18466 2005-09-04 19:11 qemu-tech.texi
-rwxrwxrwx 1 stefano stefano 11158 2005-09-04 19:11 readline.c
-rwxrwxrwx 1 stefano stefano 58 2005-09-04 19:11 README
-rwxrwxrwx 1 stefano stefano 525 2005-09-04 19:11 README.distrib
-rwxrwxrwx 1 stefano stefano 7195 2005-09-04 19:11 s390.ld
-rwxrwxrwx 1 stefano stefano 15862 2005-09-04 19:11 sdl.c
-rwxrwxrwx 1 stefano stefano 8772 2005-09-04 19:11 sdl_keysym.h
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 slirp
-rwxrwxrwx 1 stefano stefano 10165 2005-09-04 19:11 softmmu_header.h
-rwxrwxrwx 1 stefano stefano 10397 2005-09-04 19:11 softmmu_template.h
-rwxrwxrwx 1 stefano stefano 153195 2005-09-04 19:11 sparc-dis.c
-rwxrwxrwx 1 stefano stefano 4097 2005-09-04 19:11 sparc.ld
drwxrwxrwx 3 stefano stefano 4096 2005-09-04 19:11 target-arm
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 target-i386
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 target-mips
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 target-ppc
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 target-sparc
drwxrwxrwx 2 stefano stefano 4096 2005-09-04 19:11 tests
-rwxrwxrwx 1 stefano stefano 11058 2005-09-04 19:11 texi2pod.pl
-rwxrwxrwx 1 stefano stefano 7061 2005-09-04 19:11 thunk.c
-rwxrwxrwx 1 stefano stefano 4108 2005-09-04 19:11 thunk.h
-rwxrwxrwx 1 stefano stefano 2230 2005-09-04 19:11 TODO
-rwxrwxrwx 1 stefano stefano 8367 2005-09-04 19:11 translate-all.c
-rwxrwxrwx 1 stefano stefano 1068 2005-09-04 19:11 translate-op.c
-rwxrwxrwx 1 stefano stefano 5 2005-09-04 19:11 VERSION
-rwxrwxrwx 1 stefano stefano 95581 2005-09-04 19:11 vgafont.h
-rwxrwxrwx 1 stefano stefano 102674 2005-09-04 19:11 vl.c
-rwxrwxrwx 1 stefano stefano 28184 2005-09-04 19:11 vl.h
-rwxrwxrwx 1 stefano stefano 6610 2005-09-04 19:11 x86_64.ld
qemu-0.7.2$ ./configure
bash: ./configure: /bin/sh: bad interpreter: Permission denied
qemu-0.7.2$
Come puoi vedere, per evitare problemi di permessi ho anche impostato tutti i file e le directory a 777.
Avevo già provato anche questa soluzione, infatti:
...
qemu-0.7.2$ ./configure
bash: ./configure: /bin/sh: bad interpreter: Permission denied
qemu-0.7.2$
Come puoi vedere, per evitare problemi di permessi ho anche impostato tutti i file e le directory a 777.
provando a dare il ./configure da root?
stefanoxjx
18-12-2005, 15:28
Già provato, stessa identica cosa!!! :cry:
Già provato, stessa identica cosa!!! :cry:
ti da errore sh come interprete dei comandi...prova a sostiturlo "temporanemante"
# cd /bin
# mv sh sh-backup
# ln -sf bash sh
in modo tale che userai bash invece che sh come interprete dei comandi...
( io l'ho buttata la..magari ho detto una sciocchezza... :p )
stefanoxjx
18-12-2005, 15:39
Risolto, ho spostato il tutto all'interno della mia cartella home e funziona.
Strano però, perchè nella cartella dove stavo tentando di compilare qemu, ho accesso completo e non ho mai avuto problemi con queste operazioni.
Vabbè, l'importante è avere risolto :yeah:
Grazie dell'aiuto :mano:
Ciao.
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.