Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 06:18:49 -0700 (PDT)
From:      Alexander Klepikov <sv_00@mail.ru>
To:        freebsd-x11@freebsd.org
Subject:   Re: libX11 config failure
Message-ID:  <23761588.post@talk.nabble.com>
In-Reply-To: <9d5506db0903221931y760ba890o524894a0bf6187d3@mail.gmail.com>
References:  <9d5506db0903221931y760ba890o524894a0bf6187d3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Larry Gadallah wrote:
> 
> Dear x11@FreeBSD.org:
> 
> For some reason, configuration for libX11 fails on the current ports
> tree (fetched via portsnap). For your reference, I have attached the
> config.log file per the error messages below:
> 
> appending configuration tag "F77" to libtool
> checking for gcc... (cached) cc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ISO C89... (cached) none needed
> checking dependency style of cc... (cached) gcc3
> CWARNFLAGS+= -Wold-style-definition -Wdeclaration-after-statement: not
> found
> checking for cpp... /usr/bin/cpp
> checking if /usr/bin/cpp requires -undef... yes
> checking if /usr/bin/cpp requires -traditional... yes
> checking whether to use XCB... (cached) yes
> ./configure: 21141: Syntax error: word unexpected (expecting ")")
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to x11@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`).
> *** Error code 1
> 

May be I am too late, but I hope my post will help someone. I had the same
issue. I fugured out that configure script does not find macros
PKG_CHECK_MODULES. That macros is in /PCBSD/local/share/aclocal/pkg.m4 . In
/usr/ports/libX11/Makefile you can see

ACLOCAL_AGRS = -I . -I ${LOCALBASE}/share/aclocal

But LOCALBASE equals to /usr/local/ and there is no
/usr/local/share/aclocal/pkg.m4 !!! 
So I just did

ln -s /PCBSD/local/share/aclocal/pkg.m4 /usr/local/share/aclocal/pkg.m4

and voila!
Also I found that some ports cannot find, for example, unzip. But 'which
unzip' shows... yes, /PCBSD/local/bin/unzip ! It looks like it was not a
very good idea to put files to /PCBSD.

With best wishes,
 Alexander Klepikov
-- 
View this message in context: http://www.nabble.com/libX11-config-failure-tp22653605p23761588.html
Sent from the freebsd-x11 mailing list archive at Nabble.com.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23761588.post>