Menu

#198 install-x11-fonts needs to gzip the font

None
closed
X11 GUI (11)
7
2021-03-27
2001-11-23
Anonymous
No

RPM bochs-1.3.pre1-1
Dual Celeron (ye olde abit bp6)
728M Ram
Matrox G400
Mandrake 8.1
Linux enterprise.heronet.2y.net 2.4.8-26mdksmp #1 SMP
Sun Sep 23 16:04:21 CEST 2
001 i686 unknown
XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001

Install goes without errors, but when starting bochs-
dlx, reports unable to initiate default vga font.

After reinstalling the font manually following the
documentation for compiling bochs, everything works
peachy.

What information do you need from me, and i would be
more than happy to keep testing for you.

Thanks - love it so far!!

ron@ronheron.com

Discussion

  • Bryce Denney

    Bryce Denney - 2001-11-26

    Logged In: YES
    user_id=185114

    Thanks for reporting the problem. Here's what would help me
    to fix the script:
    1. manually remove the font, restart X font server, and
    confirm that bochs CANNOT find the font.
    2. as root, run /usr/bochs/latest/install-x11-fonts. This
    will attempt to install the font again. Confirm that bochs
    cannot find the font.
    3. You said you installed it manually, right? This time,
    can you test bochs after each step to see which step makes
    the difference? That should point to which part of the
    script is not working. Then write whatever you find into a
    followup on this page.

    Thanks!
    -Bryce

     
  • Nobody/Anonymous

    Logged In: NO

    OK - This is what you asked for, it looks like the script
    does not compress the
    font properly. Again, this is Mandrake 8.1, and I do not
    have the compress command, only gzip. Also, this was
    tested on a PIII laptop (compaq) and the SMP Dual Celeron.
    It works both times if I gzip the font.

    Thanks,
    Ron

    Restarting X Font Server.
    [ OK ]
    [root@centauri misc]# su ron
    [ron@centauri misc]$ bochs-dlx
    Checking for bochs binary...ok
    Checking for DLX linux directory...ok
    Checking for /usr/bin/gzip...ok
    Checking for /home/ron/.bochs directory...DEBUG: Creating
    /home/ron/.bochs
    DEBUG: Creating /home/ron/.bochs/bochsrc
    Copying /usr/bochs/dlxlinux/bochsrc.txt ->
    /home/ron/.bochs/.
    Copying /usr/bochs/dlxlinux/README -> /home/ron/.bochs/.
    Copying /usr/bochs/dlxlinux/testform.txt ->
    /home/ron/.bochs/.
    Uncompressing /usr/bochs/dlxlinux/hd10meg.img.gz ->
    /home/ron/.bochs/hd10meg.imgEntering /home/ron/.bochs
    Running bochs
    ========================================================================
    Bochs x86 Emulator 1.3.pre1
    November 17, 2001
    ========================================================================
    00000000000i[ ] reading configuration from bochsrc.txt
    00000000000i[ ] using log file bochsout.txt
    ========================================================================
    Bochs is exiting with the following message:
    [XGUI ] Could not open vga font. See docs-html/install.html
    ========================================================================
    [ron@centauri misc]$
    [ron@centauri misc]$ bochs
    bash: bochs: command not found[ron@centauri misc]$
    bochs-dlx
    bash: bochs-dlx: command not found
    [ron@centauri misc]$
    [root@centauri hero]# rpm -Uhv bochs-1.3.pre1.i386.rpm
    Preparing...

    ##################################### [100%]

    1:bochs

    ##################################### [100%]

    Looking for fonts to install... /usr/bochs/latest/
    Looking for X11 Font Path... /usr/X11R6/lib/X11/fonts
    Installing vga.pcf... ok
    Running mkfontdir...
    Running xset fp rehash...
    Restarting X font server...
    Running /etc/rc.d/init.d/xfs restart...
    Restarting X Font Server. [ OK ]
    Done installing Bochs fonts for X11.
    [root@centauri hero]#
    [ron@centauri ron]$ bochs-dlx
    Checking for bochs binary...ok
    Checking for DLX linux directory...ok
    Checking for /usr/bin/gzip...ok
    Checking for /home/ron/.bochs directory...ok
    Entering /home/ron/.bochs
    Running bochs
    ========================================================================
    Bochs x86 Emulator 1.3.pre1
    November 17, 2001
    ========================================================================
    00000000000i[ ] reading configuration from bochsrc.txt
    00000000000i[ ] using log file bochsout.txt
    ========================================================================
    Bochs is exiting with the following message:
    [XGUI ] Could not open vga font. See docs-html/install.html
    ========================================================================
    root@centauri ron]#
    less/usr/bochs/1.3.pre1/install-x11-fonts
    [root@centauri ron]# /usr/bochs/1.3.pre1/install-x11-fonts
    Looking for fonts to install... /usr/bochs/latest/
    Looking for X11 Font Path... /usr/X11R6/lib/X11/fonts
    Installing vga.pcf... ok (it was already there)
    Running mkfontdir...
    Running xset fp rehash...
    Restarting X font server...
    Running /etc/rc.d/init.d/xfs restart...
    Restarting X Font Server.
    [ OK ]
    Done installing Bochs fonts for X11.
    [root@centauri ron]#
    [root@centauri fonts]# pwd
    /usr/lib/X11/fonts
    [root@centauri fonts]# cp /usr/bochs/latest/vga.pcf ./misc/
    cp: overwrite `./misc/vga.pcf'? y
    [root@centauri fonts]#
    [root@centauri fonts]# su ron
    [ron@centauri fonts]$ bochs-dlx
    Checking for bochs binary...ok
    Checking for DLX linux directory...ok
    Checking for /usr/bin/gzip...ok
    Checking for /home/ron/.bochs directory...ok
    Entering /home/ron/.bochs
    Running bochs
    ========================================================================
    Bochs x86 Emulator 1.3.pre1
    November 17, 2001
    ========================================================================
    00000000000i[ ] reading configuration from bochsrc.txt
    00000000000i[ ] using log file bochsout.txt
    ========================================================================
    Bochs is exiting with the following message:
    [XGUI ] Could not open vga font. See docs-html/install.html
    ========================================================================
    [ron@centauri fonts]$
    oot@centauri fonts]# cd misc
    [root@centauri misc]# compress vga.pcf
    [root@centauri misc]# compress vga.pcf
    bash: compress: command not found
    [root@centauri misc]# gzip vga.pcf
    [root@centauri misc]#

    After gziping the font, it works. Seems the script does
    not compress the font properly....

    [ron@centauri misc]$ bochs-dlx
    Checking for bochs binary...ok
    Checking for DLX linux directory...ok
    Checking for /usr/bin/gzip...ok
    Checking for /home/ron/.bochs directory...ok
    Entering /home/ron/.bochs
    Running bochs
    ========================================================================
    Bochs x86 Emulator 1.3.pre1
    November 17, 2001
    ========================================================================
    00000000000i[ ] reading configuration from bochsrc.txt
    00000000000i[ ] using log file bochsout.txt

    bochsrpminstallerror.log lines 89-123/123 (END)

     
  • Bryce Denney

    Bryce Denney - 2001-11-27

    Logged In: YES
    user_id=185114

    Thanks for the detective work!
    That should be pretty easy to fix.

     
  • Bryce Denney

    Bryce Denney - 2001-12-02

    Logged In: YES
    user_id=185114

    I fixed this in CVS, so it should be correct in 1.3.
    Thank you.

     

Log in to post a comment.