Bug 39646 - configure error on line 13312: extra bracket
Summary: configure error on line 13312: extra bracket
Status: RESOLVED FIXED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium blocker
Assignee: Tollef Fog Heen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 10:22 UTC by Cameron Malek
Modified: 2012-04-16 17:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
fix-configure-syntax-errors.patch (1.10 KB, patch)
2011-08-30 07:01 UTC, Anders F Björklund
Details | Splinter Review

Description Cameron Malek 2011-07-28 10:22:07 UTC
When running configure on the latest commit (ID: cbc7eec2e5df1686db7e301627f9772cf4e2e080) I ran into an error:

[REDACTED…]
checking whether to list both direct and indirect dependencies... no
checking for Win32... no
./configure: line 13312: syntax error near unexpected token `fi'
./configure: line 13312: `   fi'

To fix it, I simply removed the ] character at the end of line number 13311. I removed it because it was the only character before the problematic 'fi' that didn't have a matching pair that I could see. It seems to work just fine now after removing it.

I've attached the entire output from running configure when I got the error.

Mac OS X 10.7.2 Build 11C26 (Developer build)
Comment 1 Cameron Malek 2011-07-28 10:23:42 UTC
I somehow lost the attachment I was going to add, but there wasn't anything important in the beginning of the ./configuration output anyway.
Comment 2 Anders F Björklund 2011-08-30 07:01:11 UTC
Created attachment 50696 [details] [review]
fix-configure-syntax-errors.patch

It's trying to tell that pkg-config is missing.
Comment 3 Dan Nicholson 2012-04-16 17:47:58 UTC
Thanks for the patch, but it looks like this got fixed a while back in commit b93f7958. Let us know if there are still issues.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.