pkg-config 0.27 configure error: "You must have either have gettext support in your C library, or use the GNU gettext library" #14109
Comments
This looks like a version mismatch; have you installed the latest Command Line Tools? |
Yes I have installed the latest Command Line Tools. In response to this issue, I upgraded to XCode 4.4 and followed the command-line tool install procedure. Inside XCode 4.4 the current status is displayed as "installed". What CLT version would indicate a proper configuration? |
I see via #13591 that perhaps it should be match the glob |
I was helping someone with Xcode 4.4.1 which has CLT installed with that same version number. His system seemed to be okay. Edit: Can you post your |
I had this problem when XCode-4.4 came out for Lion. Every time I went into Preferences, Downloads and clicked on Install, it would not overwrite my old CLT, and I was left with clang 3.1.318. The Install button is still there every time I restart XCode. I never solved it, and I tried all the things I could think of short of downloading the CLT from Apple Developer site. When I looked there, it wasn't online yet. I'm going to wipe it and do a clean 10.7.4 install. |
Sorry, I thought it was included in the above gists somehow. Here it is:
|
You have clang-4.0.421. That's good. You're probably ok. I have a mismatch though.
EDIT: I was just able to install the CLT from within XCode on Lion. Now I have
Go figure. |
On the subject of pkg-config failing the glib install, please
and paste that glib log into a gist. Thanks. |
I just got hasty about wiping out old stuff:
Repeat... same error.
|
gist of glib/config.log: https://gist.github.com/3316245 |
It looks like you need to
and tell us whether it installs gettext correctly. If so, then you should have libintl.
If so, then when you
Thanks. |
After examining my own Yours:
Mine (which has CFLAGS and LDFLAGS passed in the command):
I'll look at your pkg-config logs a bit more to see I anything sticks out now that I know this. I still need to see the output of |
(gist of output, which has the usual "Keg-only" caveat: https://gist.github.com/3316978)
Happiness follows :-) |
This error occurs during the configure step of the internal glib, seemingly.
brew install -v pkg-config
: https://gist.github.com/3314712brew doctor
: https://gist.github.com/3314725 (says only "Your system is raring to brew." but I'm following the letter of the law)Here's an abbreviated transcript of the above
brew install
gist, inline for convenient reference:The text was updated successfully, but these errors were encountered: