Re: The first dosemu-1.2.0 release candidate is available!

Bart Oldeman
2003-09-30T15:02:04Z

On Tue, 30 Sep 2003, Ralph Alvy wrote:

> Ralph Alvy wrote:
> > Here's what I get after unpacking and running the 1.1.99.1 binary:
> >
> > ---
> >
> > [ralvy@localhost dosemu]$ ./xdosemu
> > ./xdosemu: line 1: readlink: command not found
> > ./xdosemu: line 285: cd: /../Xfonts: No such file or directory
> >
> > You do not have the DOSEMU vga font installed and are running
> > remote X. You need to install the vga font on your _local_ Xserver.
> > Look at the readme for details. For now we start with an fixed font,
> > which does not display all national characters correctly.
> > ... be warned
> >
> > ./xdosemu: line 375: /../bin/dosemu.bin: No such file or directory
> > ./xdosemu: line 375: exec: /../bin/dosemu.bin: cannot execute: No such
> > file or directory
>
> Shouldn't the script execute
>
> cd ./Xfonts
>
> instead of
>
> cd /../Xfonts
>
> And the same for
>
> cd /../bin

no, the problem is that you don't have "readlink". But fortunately we can
read a link using "ls" and, that combined with "sed" gives us a the poor
man's readlink:

BOOT_DIR_PATH=`ls -l $HOME/.dosemu/drives/c | sed 's/.* \([^ ]*\)$/\1/'`/..
(line 245 of the script).
Please try this instead of my previous workaround.

Bart