[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

I can't install MOL



I have a PowerBook 12, Debian Sarge, kernel 2.6.15-4.
I've downloaded mac-on-linux 0.9.70 but I can't get it installed (probably my fault).

That's what I do (as root):

bash$ tar -xzf mol-0.9.70.tgz
bash$ cd mol-0.9.70
bash$ make
bash$ make install     (as root)

After "make" I get this (I've tried disabling support for X11, FBDEV, USB, networking... everything and it still doesn't complete "make" without errors):

+ Entering video
Compiling xdga.o : xdga.c:20:22: X11/Xlib.h: No such file or directory
xdga.c:21:23: X11/Xutil.h: No such file or directory
xdga.c:22:24: X11/keysym.h: No such file or directory
xdga.c:23:36: X11/extensions/xf86dga.h: No such file or directory
xdga.c:55: error: redefinition of `switch_to_xdga_video'
../../../src/include/video.h:39: error: `switch_to_xdga_video' previously defined here
xdga.c:88: error: syntax error before '*' token
xdga.c: In function `handle_event':
xdga.c:91: error: `XKeyEvent' undeclared (first use in this function)
xdga.c:91: error: (Each undeclared identifier is reported only once
xdga.c:91: error: for each function it appears in.)
xdga.c:91: error: syntax error before "kev"
xdga.c:93: error: `event' undeclared (first use in this function)
xdga.c:94: error: `ButtonPress' undeclared (first use in this function)
xdga.c:95: error: `XDGAButtonEvent' undeclared (first use in this function)
xdga.c:95: error: syntax error before ')' token
xdga.c:100: error: `ButtonRelease' undeclared (first use in this function)
xdga.c:101: error: syntax error before ')' token
xdga.c:106: error: `MotionNotify' undeclared (first use in this function) xdga.c:107: error: `XDGAMotionEvent' undeclared (first use in this function)
xdga.c:107: error: syntax error before ')' token
xdga.c:107: error: syntax error before ')' token
xdga.c:110: error: `KeyPress' undeclared (first use in this function)
xdga.c:111: error: `KeyRelease' undeclared (first use in this function)
xdga.c:112: warning: implicit declaration of function `XDGAKeyEventToXKeyEvent' xdga.c:112: error: `XDGAKeyEvent' undeclared (first use in this function)
xdga.c:112: error: syntax error before ')' token
xdga.c:113: error: `kev' undeclared (first use in this function)
xdga.c:114: warning: implicit declaration of function `x11_key_event'
xdga.c: At top level:
xdga.c:121: error: syntax error before "event_predicate"
xdga.c:121: error: syntax error before '*' token
xdga.c:122: warning: return type defaults to `int'
xdga.c:122: warning: no previous prototype for `event_predicate'
xdga.c: In function `event_predicate':
xdga.c:123: error: `ev' undeclared (first use in this function)
xdga.c:124: error: `XF86DGANumberEvents' undeclared (first use in this function)
xdga.c: In function `dga_vbl':
xdga.c:130: error: `XEvent' undeclared (first use in this function)
xdga.c:130: error: syntax error before "event"
xdga.c:132: warning: implicit declaration of function `XCheckIfEvent'
xdga.c:132: error: `x11' undeclared (first use in this function)
xdga.c:132: error: `event' undeclared (first use in this function)
xdga.c: In function `vopen':
xdga.c:139: error: `XDGADevice' undeclared (first use in this function)
xdga.c:139: error: `dev' undeclared (first use in this function)
xdga.c:145: warning: implicit declaration of function `XDGAOpenFramebuffer'
xdga.c:145: error: `x11' undeclared (first use in this function)
xdga.c:149: warning: implicit declaration of function `XDGASetMode'
xdga.c:151: warning: implicit declaration of function `XDGACloseFramebuffer'
xdga.c:159: warning: implicit declaration of function `XFree'
xdga.c:164: error: `KeyPressMask' undeclared (first use in this function) xdga.c:164: error: `KeyReleaseMask' undeclared (first use in this function) xdga.c:166: error: `ButtonPressMask' undeclared (first use in this function) xdga.c:166: error: `ButtonReleaseMask' undeclared (first use in this function) xdga.c:166: error: `PointerMotionMask' undeclared (first use in this function)
xdga.c:168: warning: implicit declaration of function `XDGASelectInput'
xdga.c: In function `vclose':
xdga.c:181: error: `x11' undeclared (first use in this function)
xdga.c: At top level:
xdga.c:196: error: syntax error before '*' token
xdga.c: In function `vinit':
xdga.c:206: error: syntax error before '*' token
xdga.c:207: error: `Display' undeclared (first use in this function)
xdga.c:207: error: `dis' undeclared (first use in this function)
xdga.c:207: error: `x11' undeclared (first use in this function)
xdga.c:208: error: `XDGAMode' undeclared (first use in this function)
xdga.c:208: error: `mm' undeclared (first use in this function)
xdga.c:215: warning: implicit declaration of function `XDGAQueryExtension'
xdga.c:216: warning: implicit declaration of function `XSetErrorHandler'
xdga.c:216: warning: assignment makes pointer from integer without a cast
xdga.c:217: warning: implicit declaration of function `XDGAQueryVersion'
xdga.c:231: warning: implicit declaration of function `XDGAQueryModes'
xdga.c:246: error: `DirectColor' undeclared (first use in this function)
make[4]: *** [.objs-ppc/xdga.o] Error 1
make[3]: *** [sub-video-all] Error 2
make[2]: *** [sub-drivers-all] Error 2
make[1]: *** [sub-src-all] Error 2
make: *** [bootstrap] Error 2

Thanks for any hint!!
T.M.



Reply to: