Hi Marcus,
ack! I see that my webpage nowhere said that you didn't need the "src" file, i.e. the idea isn't that you should have to compile xdvi yourself. Sorry about leading you down that path. What happens if you just use one of the binaries from the "bin" file? That file should unpack over top of ztex and work out-of-the-box, if ztex itself was installed properly already -- ztex comes with a script called simply "xdvi" which itself runs "xdvi-xaw.bin", and it's the latter that my xdvi.bin tarball overwrites. So you shouldn't need gcc or extra headers or anything like that.
(Sorry I haven't done a better job packaging it up... you may not be a linux guru, but the inner workings of tex and ghostscript leave me completely befuddled!)
If you do want to compile it yourself, I can't say that I know of any extra packages I needed to get it to compile, but here are some that I already had installed that it might conceivably expect: console-tools & consoletools-libs, diffutils, groff, freetype, patch, perl, pango. (Some of those probably come standard with your 1.1.0 installation already). What error messages does ./configure give? Usually it's pretty explicit about whatever problem it found.
If all you need is OCAML, I can take a shot a compiling it up. (If you trust me that is
Re: things from your previous post, 1.1.0 does come with awk, and while there is the full GNU awk available in the "gawk" package, I haven't needed it to do any latexing. I'm not sure what's causing your startx problems, but I do recall seeing other threads in which folks expressed similar frustrations. (When I startx as non-root, it works fine, but it gives me an ugly TWM-based session by default.)
Here's an example of the "wrapper script" I've been mentioning, this one for gs:
#!/bin/sh
export LD_PRELOAD=/lib/libgcc_s.so
export LD_LIBRARY_PATH=/usr/local/oldlibs
exec /usr/share/ghostscript/8.14/bin/gs "$@"
If you put that code into a file named "gs" in /usr/local/bin, and do "chmod a+rx /usr/local/bin/gs" to make it an executable, then the command "gs" should run ghostscript for you... if you've gotten all the older libraries that gs requires and put them in /usr/local/oldlibs that is. gv and ps2pdf should also work when given the same treatment. (Note: I'm not a guru in any sense, so others may have a better way of doing this! In particular, if the older binary you're putting a wrapper around is in a directory in your $PATH, then you might have to name the wrapper file something different.)
I got my old libs from Debian, but that was easy as I've got a Debian desktop with the "dpkg" package manager included... if you don't have easy access to a debian system you can grab them from my webpage I linked to in my previous post.
again, I hope all this helps. And I'm sure I haven't been completely clear and/or general, so don't bang your head too much if you find my instructions don't quite do the trick for you.