TrueType Fonts for Fedora 10. No such file or directory

Discussion in 'HOWTO-Related Questions' started by ensens, Dec 4, 2008.

  1. ensens

    ensens Member

    Hi,

    RE: The Perfect Desktop - Fedora 10 (GNOME) - Page 4

    After running the final command I got output that said "No such file or directory". Is that normal or OK?

    # rpm -ivh /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm --nodeps
    Preparing... ########################################### [100%]
    1:msttcorefonts ########################################### [100%]
    /var/tmp/rpm-tmp.sf8Uz5: line 3: /usr/sbin/chkfontpath: No such file or directory

    Thank you.
     
    Last edited: Dec 4, 2008
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    updatedb
    locate msttcorefonts-2.0-1.noarch.rpm
    ?
     
  3. ensens

    ensens Member

    # locate msttcorefonts-2.0-1.noarch.rpm
    /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Sorry, I didn't read your first post properly.

    Run
    Code:
    yum install chkfontpath
    and then install the msttcorefonts-2.0-1.noarch.rpm package.
     
  5. ensens

    ensens Member

    Hi,

    I can't find the program "chkfontpath".

    # yum install chkfontpath
    Loaded plugins: refresh-packagekit
    Setting up Install Process
    Parsing package install arguments
    No package chkfontpath available.
    Nothing to do
    [[email protected] tmp]# which chkfontpath
    /usr/bin/which: no chkfontpath in (/usr/kerberos/sbin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/brian/bin)
    [[email protected] tmp]# whereis chkfontpath
    chkfontpath:
    [[email protected] tmp]#

    I have enabled all the repositories from the Perfect Desktop Fedora 10 guide except for the Skype repository. And I haven't checked any of the "Rawhide" software sources. And, I clicked "refresh package list" from the Add/Remove Software application prior to doing anything.
     
  6. falko

    falko Super Moderator ISPConfig Developer

  7. Simimbo

    Simimbo New Member

    do:

    $wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec

    Make sure these packages are installed:

    $ yum install rpm-build cabextract ttmkfdir popt-devel

    Install chkfontpath (no rpm available from fedora since fedora10):

    $ wget http://ftp-stud.hs-esslingen.de/pub...source/SRPMS/chkfontpath-1.10.1-2.fc8.src.rpm

    Build the package chkfontpath:

    $ rpmbuild --rebuild chkfontpath-1.10.1-2.fc8.src.rpm

    and install it:

    $ yum localinstall --nogpgcheck /root/rpmbuild/RPMS/i386/chkfontpath-1.10.1-2.fc10.i386.rpm

    Lets get towards the end: Build the Core Fonts package:

    $ rpmbuild -ba msttcorefonts-2.0-1.spec

    Install the Core Fonts package:

    $ yum localinstall --nogpgcheck /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
     
  8. ensens

    ensens Member

    Hi Simimbo,

    Thanks. It worked perfectly!
     

Share This Page