Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2003 12:53:32 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        freebsd-ports@freebsd.org
Cc:        gnome@freebsd.org
Subject:   Failure building x11-fonts/fontconfig [LONG]
Message-ID:  <41686EB8-4FCA-11D7-A623-000393496BE8@lassitu.de>

next in thread | raw e-mail | index | archive | help
I've pked aroudn a bit, trying to make configure find expat.h, but it  
appears the problem is in the configure script itself (not using  
-I/usr/local/include). Any suggestions?

/usr/ports/x11-fonts/fontconfig# make
===>  Extracting for fontconfig-2.1_5
 >> Checksum OK for fcpackage.2_1.tar.gz.
===>  Patching for fontconfig-2.1_5
===>  Applying FreeBSD patches for fontconfig-2.1_5
===>  Configuring for fontconfig-2.1_5
===>   fontconfig-2.1_5 depends on executable: pkg-config - found
===>   fontconfig-2.1_5 depends on executable: gmake - found
===>   fontconfig-2.1_5 depends on shared library: freetype.9 - found
===>   fontconfig-2.1_5 depends on shared library: expat.4 - found
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler...  
no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g  
wheel
checking whether ln -s works... yes
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for pid_t... yes
checking for vprintf... yes
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
checking for strrchr... yes
checking for strtol... yes
checking for getopt... yes
checking for getopt_long... no
checking for freetype-config... freetype-config
checking for freetype/freetype.h... no
checking for expat.h... no
checking for xmlparse.h... no
configure: error: cannot find expat library
===>  Script "configure" failed unexpectedly.
       Please report the problem to gnome@FreeBSD.org [maintainer] and  
attach
       the
        
"/usr/ports/x11-fonts/fontconfig/work/fcpackage.2_1/fontconfig/ 
config.log"
       including the output of the failure of your make command. Also,  
it might
       be a good idea to provide an overview of all packages installed  
on your
       system (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11-fonts/fontconfig.




/usr/ports/x11-fonts/fontconfig# uname -a
FreeBSD little.lassitu.de 4.8-RC FreeBSD 4.8-RC #1: Wed Mar  5 13:55:14  
CET 2003
root@little.lassitu.de:/usr/obj/usr/src/sys/LITTLE  i386




/usr/ports/x11-fonts/fontconfig# cat  
work/fcpackage.2_1/fontconfig/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:633: checking for gcc
configure:746: checking whether the C compiler (cc -O -pipe  ) works
configure:762: cc -o conftest -O -pipe    conftest.c  1>&5
configure:788: checking whether the C compiler (cc -O -pipe  ) is a  
cross-compiler
configure:793: checking whether we are using GNU C
configure:802: cc -E conftest.c
configure:821: checking whether cc accepts -g
configure:864: checking for a BSD compatible install
configure:917: checking whether ln -s works
configure:938: checking how to run the C preprocessor
configure:959: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1022: checking for X
configure:1285: checking for dirent.h that defines DIR
configure:1298: cc -c -O -pipe   conftest.c 1>&5
configure:1323: checking for opendir in -ldir
configure:1342: cc -o conftest -O -pipe    conftest.c -ldir   1>&5
/usr/libexec/elf/ld: cannot find -ldir
configure: failed program was:
#line 1331 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:1406: checking for ANSI C header files
configure:1419: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1486: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1513: checking for fcntl.h
configure:1523: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1513: checking for stdlib.h
configure:1523: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1513: checking for string.h
configure:1523: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1513: checking for unistd.h
configure:1523: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1552: checking for working const
configure:1606: cc -c -O -pipe   conftest.c 1>&5
configure:1627: checking for pid_t
configure:1662: checking for vprintf
configure:1690: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1769: checking for memmove
configure:1797: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1769: checking for memset
configure:1797: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1781: warning: conflicting types for built-in function  
`memset'
configure:1769: checking for strchr
configure:1797: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1769: checking for strrchr
configure:1797: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1769: checking for strtol
configure:1797: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1769: checking for getopt
configure:1797: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1769: checking for getopt_long
configure:1797: cc -o conftest -O -pipe    conftest.c  1>&5
/tmp/ccac5FB1.o: In function `main':
/tmp/ccac5FB1.o(.text+0x7): undefined reference to `getopt_long'
configure: failed program was:
#line 1774 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char getopt_long(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char getopt_long();

int main() {

/* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
#if defined (__stub_getopt_long) || defined (__stub___getopt_long)
choke me
#else
getopt_long();
#endif

; return 0; }
configure:1901: checking for freetype-config
configure:1980: checking for freetype/freetype.h
configure:1990: cc -E  -I/usr/local/include/freetype2  
-I/usr/local/include conftest.c >/dev/null 2>conftest.out
In file included from  
/usr/local/include/freetype2/freetype/freetype.h:43,
                  from configure:1986:
/usr/local/include/freetype2/freetype/fterrors.h:95:  
freetype/ftmoderr.h: No such file or directory
configure: failed program was:
#line 1985 "configure"
#include "confdefs.h"
#include <freetype/freetype.h>
configure:2173: checking for expat.h
configure:2183: cc -E   conftest.c >/dev/null 2>conftest.out
configure:2179: expat.h: No such file or directory
configure: failed program was:
#line 2178 "configure"
#include "confdefs.h"
#include <expat.h>
configure:2208: checking for xmlparse.h
configure:2218: cc -E   conftest.c >/dev/null 2>conftest.out
configure:2214: xmlparse.h: No such file or directory
configure: failed program was:
#line 2213 "configure"
#include "confdefs.h"
#include <xmlparse.h>






/usr/ports/x11-fonts/fontconfig# pkg_info
XFree86-libraries-4.2.1_7 XFree86-4 include/(shared) library kit
apache-1.3.26_3     The extremely popular Apache http server.  Very  
fast, very
autoconf-2.53       Automatically configure source code on many Un*x  
platforms
autoconf213-2.13.000227 Automatically configure source code on many  
Un*x platforms
automake-1.5,1      GNU Standards-compliant Makefile generator
automake14-1.4.5    GNU Standards-compliant Makefile generator (legacy  
version
bash-2.05           The GNU Bourne Again Shell
bison-1.29          A parser generator from FSF, (mostly) compatible  
with Yacc
blt-2.4u            A Tk extension (with shared libs)
cclient-2001,1      Mark Crispen's C-client mail access routines
courier-imap-1.5.3  IMAP (and POP3) server that provides access to  
Maildir mail
cvsup-16.1_3        A general network file distribution system  
optimized for CV
cvsup-mirror-1.2    A kit for easily setting up a FreeBSD mirror site  
using CVS
db3-3.2.9_2,1       The Berkeley DB package, revision 3
dhid-4.0.2          DHIS client for updating dynamic DNS entries in  
dhisd DNS t
docbook-1.2         Meta-port for the different versions of the DocBook  
DTD
docbook-241         V2.4.1 of the DocBook DTD, designed for technical  
documenta
docbook-3.0         V3.0 of the DocBook DTD, designed for technical  
documentati
docbook-3.1         V3.1 of the DocBook DTD, designed for technical  
documentati
docbook-4.0         V4.0 of the DocBook DTD, designed for technical  
documentati
docbook-4.1         V4.1 of the DocBook DTD, designed for technical  
documentati
dsssl-docbook-modular-1.73 DSSSL stylesheets for the DocBook DTD by  
Norman Walsh
expat-1.95.6_1      XML 1.0 parser written in C
ezm3-1.0            Easier, more portable Modula-3 distribution for  
building CV
freetype2-2.0.9     A free and portable TrueType font rendering engine
gatekeeper-1.0_1    A H323 GateKeeper (GPLed) for OpenH323 OhPhone and  
NetMeeti
gd-1.8.4_6          A graphics library for fast image creation
gdbm-1.8.0          The GNU database manager
gdbm-1.8.3          The GNU database manager
gettext-0.10.35     GNU gettext package
ghostscript-gnu-6.51 GNU Postscript interpreter
gmake-3.79.1        GNU version of 'make' utility
gopher-3.0.3        Client and server for access to a distributed  
document serv
gtar-1.13.25        GNU version of the traditional tar archiver
html-4.01           All W3C published SGML DTDs for HTML
hugelatex-1.0       LaTeX format files with large limits
iconv-2.0_1         Charset conversion library and utilities
imake-4.2.0_1       Imake and other utilities from XFree86
isakmpd-20020104    OpenBSD IKE daemon
isc-dhcp3-3.0.1.r4  ISC Dynamic Host Configuration Protocol client and  
server c
isilo-2.58          Converts documents from text/HTML to iSilo format
iso8879-1986        Character entity sets from ISO 8879:1986 (SGML)
ja-p5-jcode.pl-2.11 Perl5 library for Japanese character code conversion
jade-1.2.1_1        An object-oriented SGML/XML parser toolkit and  
DSSSL engine
jadetex-3.12        A TeX backend for Jade, for typesetting SGML  
documents
javavmwrapper-1.4   Wrapper script for various Java Virtual Machines
jbigkit-1.2         Lossless compression for bi-level images such as  
scanned pa
joe-2.8_3           Joe's own editor
jpeg-6b             IJG's jpeg compression utilities
lcms-1.07_1         Light Color Management System -- a color management  
library
libaudiofile-0.2.2  A sound library for SGI audio file
libghttp-1.0.9      GNOME http client library
libgnugetopt-1.1    GNU getopt library
libiconv-1.7_1      A character set conversion library
libiconv-1.7_2      A character set conversion library
libmng-1.0.3        Multiple-image Network Graphics (MNG) reference  
library
librep-0.14         An Emacs Lisp like runtime library
libslang-1.4.4_1    Routines for rapid alpha-numeric terminal  
applications deve
libtool-1.3.4_2     Generic shared library support script
libungif-4.1.0b1    Tools and library routines for working with GIF  
images
libunicode-0.4_2    A library for manipulating Unicode characters and  
strings
libwww-5.3.1        The W3C Reference Library
libxml-1.8.15       Xml parser library for GNOME
libxml2-2.4.3_1     Xml parser library for GNOME
libxml2-2.4.6       Xml parser library for GNOME
linux-jdk-1.2.2_2   Blackdown Linux Java Developers Kit 1.2.2
linux-jdk-1.3.1.03  Sun Java Development Kit 1.3 for Linux
linux-jdk-1.4.0     Sun's Java Developers Kit for Linux, version 1.4
linux_base-6.1_1    The base set of packages needed in Linux mode
linux_devtools-6.1  Packages needed for doing development in Linux mode
linuxdoc-1.1        The Linuxdoc SGML DTD
lsof-4.63           Lists information about open files (similar to  
fstat(1))
m4-1.4_1            GNU's m4
maildrop-1.3.8      Replacement local mail delivery agent, similar to  
procmail
mkcatalog-1.1       A maintainance utility for sgml catalog files
mkisofs-1.15.a27    Create iso9660/Rock Ridge/Joliet filesystems
netatalk-1.5p7_2    File and print server for AppleTalk networks
netpbm-9.25         A toolkit for conversion of images between  
different format
nmap-3.00           Port scanning utility for large networks
open-motif-devel-2.1.30 Open Motif 2.1.30 - Development libraries and  
header files
opengatekeeper-0.9a4_1 H323 GateKeeper (MPL Licence) for OpenH323  
OhPhone and NetM
openh323-1.8.8      A H323 Video Conferencing library, used with OhPhone
p5-Digest-MD5-2.20  Perl5 interface to the MD5 algorithm
p5-HTML-Parser-3.26 Perl5 module for parse HTML tag
p5-HTML-Tagset-3.03 Some useful data table in parsing HTML
p5-MIME-Base64-2.12 Perl5 module for Base64 and Quoted-Printable  
encodings
p5-Net-1.11,1       Perl5 modules to access and use network protocols
p5-Socket6-0.10     Perl module to support getaddrinfo() and  
getnameinfo()
p5-Time-HiRes-01.20 A perl5 module implementing High resolution time,  
sleep, an
p5-TimeDate-1.11    Perl5 module containing a better/faster date parser  
for abs
p5-URI-1.19         Perl5 interface to Uniform Resource Identifier  
(URI) refere
p5-libwww-5.53_1    Perl5 library for WWW access
peps-1.0            Converts EPS images to anti-aliased PGM bitmaps
pkg_tarup-1.2_3     Generates binary package from installed package
pkgconfig-0.15.0    An utility used to retrieve information about  
installed lib
png-1.2.0           Library for manipulating PNG images
popt-1.5.1          A getopt(3) like library with a number of  
enhancements, fro
poptop-1.1.2        Windows 9x compatible PPTP (VPN) server
portlint-2.3.3_2    A verifier for FreeBSD port directory
portupgrade-20030228 FreeBSD ports/packages administration and  
management tool s
postgresql-7.2.1_1  The most advanced open-source database available  
anywhere
pptpclient-1.0.3    PPTP client for establishing a VPN link with an NT  
server
pspell-0.12.2       Generic interface to spell checker libraries
racoon-20011215a    KAME racoon IKE daemon
rdesktop-1.1.0.p19.9.0 RDP client for Windows NT Terminal Server
rpm-3.0.6_5         The Red Hat Package Manager
rrdtool-1.0.38      Round Robin Database Tools
rsync-2.4.6_3       A network file distribution/synchronization utility
rtc-2001.09.16.1    Kernel module which provides /dev/rtc device support
ruby-1.6.8.2003.01.19 An object-oriented interpreted scripting language
ruby-bdb1-0.1.7     Ruby interface to Berkeley DB revision 1.8x with  
full featu
ruby-shim-ruby18-1.7.3.2002.09.20 A set of Ruby modules to provide Ruby  
1.8 functionalities
samba-2.0.10        A free SMB and CIFS client and server for UNIX
scr2png-1.1         Converts the output of "vidcontrol -p" to PNG
screen-3.9.13       A multi-screen window manager
scrollkeeper-0.2_3  An Open Document Cataloging Project
setiathome-3.03_3   Donate idle cycles to the search for space aliens
sgmlformat-1.7_2    Generates groff and HTML from linuxdoc and docbook  
SGML doc
sgmltools-2.0.2     Generates various output formats from DocBook SGML  
document
sniffit-0.3.7b_1    A packet sniffer program.  For educational use
sudo-1.6.5.2        Allow others to run commands as root
tcl-8.3.3_4         Tool Command Language
teTeX-1.0.7         Thomas Esser's distribution of TeX & friends
tidy-20000804_1     Fixes and tidies up HTML files
tiff-3.5.5          Tools and library routines for working with TIFF  
images
tiff2png-0.81c      Converts TIFF images to PNG format
tk-8.3.3            Graphical toolkit for TCL
ucd-snmp-4.2.5      An extendable SNMP implementation
unrar-2.50          Extract, view & test RAR archives
unzip-5.42          List, test and extract compressed files in a ZIP  
archive
uulib-0.5.13        A library for uu/xx/Base64/BinHex de-/encoding
vmware2-2.0.4.1142  A virtual machine emulator - a full PC in a window
vnc-3.3.3.2_1       Display X and Win32 desktops on remote X/Win32/Java  
display
wget-1.8.1          Retrieve files from the 'net via HTTP and FTP
xanim-2.80.2        Play most popular animation formats and show  
pictures
xhtml-1.0           W3C's XHTML DTD
zip-2.3             Create/update ZIP files compatible with pkzip


-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 170 346 0140


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41686EB8-4FCA-11D7-A623-000393496BE8>