Tk Source Code

View Ticket
Login
Ticket UUID: 747464
Title: AA-fonts break build when disabled
Type: Bug Version: obsolete: 8.5a0
Submitter: dkf Created on: 2003-06-02 10:54:57
Subsystem: 46. Unix Fonts Assigned To: jenglish
Priority: 3 Low Severity:
Status: Closed Last Modified: 2003-06-05 05:23:33
Resolution: Fixed Closed By: jenglish
    Closed on: 2003-06-04 22:23:33
Description:
My dev box doesn't have have all the bits for xft
support present, so I configured with --disable-xft but
an attempt to make tkUnixRFont.o was still done and
that failed horribly (the first error is the lack of a
declaration for XftFont, but that's a symptom of the
fact that the file should never have been built.)  This
is critical since it has completely broken my build (I
have a very old version of autoconf so fixes are more
than a bit awkward.)

When I try building with it enabled, I get these
messages from configure (segment, wrapped)
  [...]
  checking for X... libraries /usr/X11R6/lib, headers
  /usr/X11R6/include
  checking for main in -lXbsd... no
  checking for xft configuration... ./configure:
  pkg-config: command not found
  ./configure: pkg-config: command not found
  configure: WARNING: Can't find xft configuration
  checking whether char is unsigned... no
  [...]
(That's more info than is present in config.log, BTW)

'uname -a' output:
  Linux cpipc 2.4.9-34 #1 Sat Jun 1 06:25:16 EDT 2002
  i686 unknown

Contents of /etc/issue:
  Red Hat Linux release 7.2 (Enigma)
  Kernel 2.4.9-34 on an i686

(As a side note, when building with xft support
disabled, I don't get a message during configure to
confirm this.  It'd be nice if it said that support was
not being built because of the cmdline option so that
it is obvious that things aren't getting unfortunately
ignored.  :^)
User Comments: jenglish added on 2003-06-05 05:23:33:
Logged In: YES 
user_id=68433

The configure script does issue a warning if you specify
--enable-xft and it isn't available.

Leaving it as-is for now, since --disable-xft is the default
and --enable-xft is still experimental.

dkf added on 2003-06-03 15:25:39:
Logged In: YES 
user_id=79902

OK, things work better now.  It would still be nice if it
printed a message when xft support was not enabled (whyever
that is) if for no reason other than to let people know that
this is deliberate, and not an accidental omission.  But
that's much less critical.  :^)

jenglish added on 2003-06-02 23:13:17:
Logged In: YES 
user_id=68433

Looks like I screwed up the configure.in tests.
Just committed a fix, please cvs update and try again.

Sorry about that.