./configure: 21141: Syntax error: word unexpected (expecting ")")

Peter Jones pjones at pmade.com
Fri Mar 27 14:12:37 PDT 2009


I encountered an error while building the x11/libX11 port:

./configure: 21141: Syntax error: word unexpected (expecting ")")
===>  Script "configure" failed unexpectedly.
Please report the problem to x11 at FreeBSD.org [maintainer] and attach the
"/usr/ports/x11/libX11/work/libX11-1.2/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`).

Line 21141 of configure:
PKG_CHECK_MODULES(XPROTO, xproto >= 7.0.13)

Installed packages:
autoconf-2.62                   libcheck-0.9.6                  python25-2.5.4_1
autoconf-wrapper-20071109       libiconv-1.11_1                 ruby-1.8.7.72_1,1
automake-1.10.1                 libpthread-stubs-0.1            ruby18-gems-1.3.1
automake-wrapper-20071109       libtool-1.5.26                  sudo-1.6.9.20
bigreqsproto-1.0.2              libxcb-1.2                      xcb-proto-1.4
dmxproto-2.2.2                  libxml2-2.7.3                   xcmiscproto-1.1.2
gettext-0.17_1                  libxslt-1.1.24_2                xextproto-7.0.2
gmake-3.81_3                    m4-1.4.12,1                     xf86bigfontproto-1.1.2
help2man-1.36.4_2               mysql-client-5.1.32             xorg-macros-1.2.1
inputproto-1.5.0                mysql-server-5.1.32             xproto-7.0.15
kbproto-1.0.3                   p5-gettext-1.05_2               xtrans-1.2.3
libXau-1.0.4                    perl-5.8.9_2                    zsh-4.3.9_5
libXdmcp-1.0.2_1                printproto-1.0.3

Looks like there should be a dependency on pkg-config.  Installing the
pkg-config port allows libX11 to build and install.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US


More information about the freebsd-x11 mailing list