-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat Jan 27 20:16:11 PST 2007, Ryan Schmidt wrote: > However, we need to discover if there is a real problem with the > fontconfig 2.4.2 portfile, and if so, we need to fix it. Has anybody > else been able to successfully compile fontconfig 2.4.2 on Mac OS X > 10.3.9? Has anybody else experienced the same problems as Ed?
I experienced the same problem as Ed when I wanted to upgrade fontconfig when port reported it as outdated: fontconfig 2.4.2_0 < 2.4.2_1 The package would fail to compile: Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_por ts_graphics_fontconfig/work/fontconfig-2.4.2" && make all " returned error 2 Command output: fcaliastail.h:508:2: error: #endif without #if fcaliastail.h:510: error: only weak aliases are supported in this configuration [...] fcaliastail.h:543: error: only weak aliases are supported in this configuration fcaliastail.h:544:2: error: #endif without #if fcaliastail.h:545:2: error: #endif without #if make[3]: *** [fcatomic.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I eventually tracked it down to a missing dependency on libxml2: horus:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.4.2 root# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk [...] checking expat.h usability... no checking expat.h presence... no checking for expat.h... no checking xmlparse.h usability... no checking xmlparse.h presence... no checking for xmlparse.h... no configure: WARNING: Cannot find usable expat library. Trying to use libxml2 as fallback. checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML2... configure: error: Package requirements (libxml-2.0 >= 2.6) were not met: No package 'libxml-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBXML2_CFLAGS and LIBXML2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. I searched for libxml and installed libxml2: horus:~ root# port search libxml p5-libxml-enno perl/p5-libxml-enno 1.02 libxml-enno contains the modules XML::DOM, XML::XQL, XML::Checker and several other packages that are no longer distributed separately. p5-libxml-perl perl/p5-libxml-perl 0.08 Collection of Perl modules for working with XML. p5-xml-libxml perl/p5-xml-libxml 1.63 Perl interface to libxml2. p5-xml-libxml-common perl/p5-xml-libxml-common 0.13 Perl extensions for common items of various XML modules. py-libxml2 python/py-libxml2 2.6.21 Python bindings for libxml2 py25-libxml2 python/py25-libxml2 2.6.21 Python bindings for libxml2 rb-libxml2 ruby/rb-libxml2 0.3.6 Ruby bindings for libxml2 libxml textproc/libxml 1.8.17 XML parsing library libxml2 textproc/libxml2 2.6.30 gnome xml library libxmldiff textproc/libxmldiff 0.2.5 libxmldiff aims at providing efficient diff on XML files libxmlxx textproc/libxmlxx 1.0.5 libxml++ is a C++ interface for working with XML files libxmlxx2 textproc/libxmlxx2 2.18.1 libxml++ is a C++ interface for working with XML files horus:~ root# port install libxml2 After cleaning fontconfig it successfully build again: horus:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.4.2 root# make clean [...] horus:~ root# port install fontconfig - ---> Fetching fontconfig - ---> Verifying checksum(s) for fontconfig - ---> Extracting fontconfig - ---> Configuring fontconfig - ---> Building fontconfig with target all - ---> Staging fontconfig into destroot - ---> Installing fontconfig 2.4.2_1+macosx - ---> Activating fontconfig 2.4.2_1+macosx I've updated the bug report on this issue to include what I wrote above: http://trac.macports.org/projects/macports/ticket/12251 Regards, Bas Couwenberg - -- GnuPG: 0x77A975AD -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHG2/hRWRRA3epda0RAgCUAJ4uDeS7vAVYRkz66GmiDFyVtUSCOwCggsfL M1gdf3aMqYSkhS5BYu23rFE= =7L/g -----END PGP SIGNATURE----- _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users