Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: Freglin 04 Července 2008, 15:37:31

Název: Mac on Linux - problém s instalací
Přispěvatel: Freglin 04 Července 2008, 15:37:31
Zdravím,
dostal sem se opět k problému, který je nad mé síly. Nedaří se mi nainstalovat emulátor Mac on Linux.
zde je návod podle kterého sem postupoval. http://mac-on-linux.sourceforge.net/wiki/index.php/Installation_Instructions#Ubuntu (http://mac-on-linux.sourceforge.net/wiki/index.php/Installation_Instructions#Ubuntu) ,nicméně sem se zasekl po vykonání ./configure a to na make, které skončí takto
Kód: [Vybrat]
config.status: creating unconfig
config.status: creating Makefile.defs
config.status: creating config.h
config.status: config.h is unchanged
+ Entering scripts
+ Entering src
+ Entering lib
    Compiling    extralib.o         
    Compiling    llseek.o           
    Compiling    elfload.o           
In file included from elfload.c:34:
../../src/include/byteorder.h:27:31: error: cpu/mol_byteorder.h: No such file or directory
elfload.c: In function ‘fix_ehdr_byteorder’:
elfload.c:47: warning: implicit declaration of function ‘ld_be16’
elfload.c:49: warning: implicit declaration of function ‘ld_be32’
elfload.c:49: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:50: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:51: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:52: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:53: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c: In function ‘fix_phdr_byteorder’:
elfload.c:65: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:66: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:67: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:68: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:69: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:70: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:71: warning: dereferencing type-punned pointer will break strict-aliasing rules
elfload.c:72: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: *** [../../obj-x86/build/src/lib/elfload.o] Error 1
make[1]: *** [sub-lib-all] Error 2
make: *** [sub-src-all] Error 2
zkoušel sem postup opakovat, ale bohužel se nezadařilo. Budu vděčný za každou radu.

Díky
Název: Re: Mac on Linux - problém s instalací
Přispěvatel: Marvn 04 Července 2008, 15:59:24
tak hlasi to chybu ze neexistuje cpu/mol_byteorder.h
btw. script configure probehl bez problemu?
Název: Re: Mac on Linux - problém s instalací
Přispěvatel: Freglin 04 Července 2008, 16:20:58
tak hlasi to chybu ze neexistuje cpu/mol_byteorder.h
btw. script configure probehl bez problemu?
Aha,aha...no podle mě proběhl ./configure v pohodě, tady je výpis

Kód: [Vybrat]
checking whether ln -s works... yes
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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking obstack.h usability... yes
checking obstack.h presence... yes
checking for obstack.h... yes
checking dependency style... new
checking for clearenv()... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for snd_pcm_open in -lasound... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for working XDGA headers... yes
checking for m4... m4
checking for as... as
checking for strip... strip
checking for ld... ld
checking for nm... nm
checking for objdump... objdump
checking for install... install
checking whether off_t is 64 bit... no
checking for broken syscall macro... yes
checking for uc_context.gregs... yes
checking for png_read_png in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for -fno-stack-protector support... yes
checking for inflate in -lz... yes
configure: creating ./config.status
config.status: creating unconfig
config.status: creating Makefile.defs
config.status: creating config.h
config.status: config.h is unchanged
Název: Re: Mac on Linux - problém s instalací
Přispěvatel: Martin - ViPEr*CZ* 04 Července 2008, 16:43:12
https://help.ubuntu.com/community/MacOnLinuxHowto ;)
Název: Re: Mac on Linux - problém s instalací
Přispěvatel: Marvn 04 Července 2008, 17:38:00
taky bo mohla byt chyba v tom "It requires a Mac OS (9/X) and PowerPC computer", viz navod co posilal Viper. predpokladam ze PPC nemate...