Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2009 11:12:06 -0400
From:      Kris Moore <kris@pcbsd.com>
To:        PC-BSD Testing list <testing@lists.pcbsd.org>
Cc:        x11@freebsd.org
Subject:   Re: [PC-BSD Testing] libX11 config failure
Message-ID:  <49C7A6C6.3020702@pcbsd.com>
In-Reply-To: <9d5506db0903222331j3c7c8403j72bc67f386b71f0d@mail.gmail.com>
References:  <9d5506db0903221931y760ba890o524894a0bf6187d3@mail.gmail.com>	<18887.10022.859726.221414@gromit.timing.com> <9d5506db0903222331j3c7c8403j72bc67f386b71f0d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Larry Gadallah wrote:
> Hi John:
> 
> On 22/03/2009, John Hein <jhein@timing.com> wrote:
>> Larry Gadallah wrote at 19:31 -0700 on Mar 22, 2009:
>>  > 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 ")")
>>
>> 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@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



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