This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

x3270 post install script fails


The x3270 package performs the following in its post install script:

    FONTDIR=/usr/share/fonts
    ENCODINGSDIR=$FONTDIR/encodings
    MKFONTDIR=/usr/bin/mkfontdir
    $MKFONTDIR -e $ENCODINGSDIR $FONTDIR/misc

This fails because the directory '/usr/share/fonts/encodings' no longer exists. (The directory used to be provided by the 'font-encodings' package, which is now obsolete).

Probably the best way to resolve this is to add a 'mkdir -p ${ENCODINGSDIR}' to the post install script, rather than just assume its existence - provided this 'encodings.dir' is still being read by the X server. Otherwise, use '/usr/share/X11/fonts/encodings' as the encodings directory.

Dave.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]