Derek Piper wrote:
I have been trying to compile UAE 0.8.25 from source on Debian Woody and have not been having an easy time of it.
I am using these configure options:
--prefix=/usr/local/uae/ --with-x --with-sdl --with-sdl-sound --with-sdl-gfx --with-zlib --enable-sound --enable-x86assembly --enable-ui --enable-bsdsock --enable-aga --enable-cycle-exact-cpu --enable-compatible-cpu --enable-jit --enable-natmem --with-caps --with-caps-prefix=/usr/local/uae/support/ipfdevlib_linux/
How many options! ( most of them are not useful too ).
Take a look at http://giuliogiuseppecarlo.interfree.it/uae/index.html , maybe you'll find the solution ( when i first wrote it i was using debian woody too ).
Anyway you should drop, since it's enabled by default, a lot of options, such as: --with-x ( if you use sdl ), --with-zlib ( default ), --enable-x86assembly, --enable-ui , --enable-bsdsock, --enable-cycle-exact-cpu, --enable-compatible-cpu
Okay, now I'm using these options:
--prefix=/usr/local/uae/ --enable-aga --enable-cycle-exact-cpu --enable-compatible-cpu --with-sdl-gfx --with-caps --with-caps-prefix=/usr/local/uae/support/ipfdevlib_linux/
when I do 'make', it runs briefly and this error is seen amongst the output:
make -C tools build68kc make: Entering directory `/usr/src/uae-0.8.25-20040302/src/tools' make: *** No rule to make target `build68kc'. Stop. make: Leaving directory `/usr/src/uae-0.8.25-20040302/src/tools' make: *** [tools/build68k] Error 2 make: *** Waiting for unfinished jobs....
Every time I run make it gets a little bit closer to finishing. Is the order of the targets incorrect? Why does it need to have to be 'prodded' along like that? 'make' needs to be run 3 times in order for the build to complete. Is that normal?
Of course no.
Upon running, that build opens the UI but when running a standard A500 KS1.3 config it locks up before the Kickstart has fully initialized - a dark grey 'screen', which as far as I can remember on a real Amiga was after the 'hardware' was initialized but before the software was. This config has worked fine on the UAE 0.8.22 that is in Debian woody by the way.
Without the SDL options above I get a build that at least loads the kickstart.
I have the following SDL debian packages installed:
libsdl1.2debian libsdl1.2debian-oss libsdl1.2-dev
Should be enougth.
However, when I try and run a CAPS image I get the message 'Failed to load CAPS plug-in' even though the shared library is in the location above. How can I check what location UAE is needing the library in? Should the directory be included in /etc/ld.so.conf ? I tried that and it didn't make any difference. The contents of my /usr/local/uae/support/ipfdevlib_linux/ directory is that of the CAPS
ipfdevlib_linux.tgz file from caps-project.org.
I don't remember exactly but there are instructions in the ipf package, and they are clear afair.
I'd like to know where UAE is looking for the shared library.