[PC-BSD Testing] libX11 config failure

Kris Moore kris at pcbsd.com
Mon Mar 23 07:12:06 PST 2009


Larry Gadallah wrote:
> Hi John:
> 
> On 22/03/2009, John Hein <jhein at timing.com> wrote:
>> Larry Gadallah wrote at 19:31 -0700 on Mar 22, 2009:
>>  > Dear x11 at 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 ")")
>>
>> bash updates have been problematic for configure lately.  $() was
>> fixed shortly after a recent bash4 update.  If you got bash4 during
>> the short "broken" window, try updating or uninstalling bash
>> temporarily.
>>
>> It might be something like that.
>>
> 
> Thanks for the quick response. Alas, that didn't fix it either.  I got
> exactly the same error for this version of bash:
> 
> [root at pinawa /usr/ports/x11/libX11]# bash --version
> GNU bash, version 3.2.48(1)-release (amd64-portbld-freebsd7.0)
> Copyright (C) 2007 Free Software Foundation, Inc.
> 
> Cheers,


Ahh, try this:

# ln -s /bin/bash /usr/local/bin/bash

Does it work now?

We ship a static version of bash in /bin/, which may be causing problems 
if the scripts have #!/usr/local/bin/bash in their header.




-- 

Kris Moore
PC-BSD Software
http://www.pcbsd.com


More information about the Testing mailing list