Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

weechat failed to build on 10.8.2 #15966

Closed
ghost opened this issue Nov 11, 2012 · 11 comments
Closed

weechat failed to build on 10.8.2 #15966

ghost opened this issue Nov 11, 2012 · 11 comments

Comments

@ghost
Copy link

ghost commented Nov 11, 2012

  • Fresh install of brew 0.9.3 on Mac OS X 10.8.2
  • Xcode 4.5.2
  • CLT 4.5.0.0.1.1249367152

https://gist.github.com/4053063

@ghost
Copy link
Author

ghost commented Nov 11, 2012

Resolved, by running 'brew install libgcrypt'.

@ghost
Copy link
Author

ghost commented Nov 11, 2012

That dependency was masked by old gnutls 2x formula which included it. I will submit new formula.

@ghost
Copy link
Author

ghost commented Nov 11, 2012

Thanks!

@adamv
Copy link
Contributor

adamv commented Nov 11, 2012

Building on Snow Leopard, I get:

Scanning dependencies of target weechat_plugins
[  8%] Building C object src/core/CMakeFiles/weechat_core.dir/weechat.o
[  8%] In file included from /tmp/weechat-DKgk/weechat-0.3.9/src/core/weechat.c:56:
/tmp/weechat-DKgk/weechat-0.3.9/src/core/weechat.h:35:29: error: libintl.h: No such file or directory
Building C object src/plugins/CMakeFiles/weechat_plugins.dir/plugin.o
/tmp/weechat-DKgk/weechat-0.3.9/src/core/weechat.c: In function ‘weechat_display_copyright’:
/tmp/weechat-DKgk/weechat-0.3.9/src/core/weechat.c:122: error: implicit declaration of function ‘gettext’
/tmp/weechat-DKgk/weechat-0.3.9/src/core/weechat.c: In function ‘main’:
/tmp/weechat-DKgk/weechat-0.3.9/src/core/weechat.c:467: error: implicit declaration of function ‘bindtextdomain’
/tmp/weechat-DKgk/weechat-0.3.9/src/core/weechat.c:468: error: implicit declaration of function ‘bind_textdomain_codeset’
/tmp/weechat-DKgk/weechat-0.3.9/src/core/weechat.c:469: error: implicit declaration of function ‘textdomain’
make[2]: *** [src/core/CMakeFiles/weechat_core.dir/weechat.o] Error 1
make[1]: *** [src/core/CMakeFiles/weechat_core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  9%] Building C object src/plugins/CMakeFiles/weechat_plugins.dir/plugin-api.o
In file included from /tmp/weechat-DKgk/weechat-0.3.9/src/plugins/plugin.c:40:
/tmp/weechat-DKgk/weechat-0.3.9/src/plugins/../core/weechat.h:35:29: error: libintl.h: No such file or directory
In file included from /tmp/weechat-DKgk/weechat-0.3.9/src/plugins/plugin-api.c:39:
/tmp/weechat-DKgk/weechat-0.3.9/src/plugins/../core/weechat.h:35:29: error: libintl.h: No such file or directory
/tmp/weechat-DKgk/weechat-0.3.9/src/plugins/plugin.c: In function ‘plugin_load’:
/tmp/weechat-DKgk/weechat-0.3.9/src/plugins/plugin.c:323: error: implicit declaration of function ‘gettext’
/tmp/weechat-DKgk/weechat-0.3.9/src/plugins/plugin-api.c: In function ‘plugin_api_gettext’:
/tmp/weechat-DKgk/weechat-0.3.9/src/plugins/plugin-api.c:91: error: implicit declaration of function ‘gettext’
/tmp/weechat-DKgk/weechat-0.3.9/src/plugins/plugin-api.c: In function ‘plugin_api_ngettext’:
/tmp/weechat-DKgk/weechat-0.3.9/src/plugins/plugin-api.c:105: error: implicit declaration of function ‘ngettext’

@adamv adamv closed this as completed in 7196ec9 Nov 11, 2012
@ghost
Copy link
Author

ghost commented Nov 11, 2012

Should I add -DLIBINTL_INCLUDE to gettext ?

@adamv
Copy link
Contributor

adamv commented Nov 11, 2012

I have no idea.

@2bits
Copy link
Contributor

2bits commented Nov 12, 2012

Build weechat Snow Leopard and ML. Compare the CMakeCache.txt files. Find what is different and causing the issue.

@ghost
Copy link
Author

ghost commented Nov 12, 2012

It works for me on ML, I do not have SL to test it on.

@ghost
Copy link
Author

ghost commented Nov 12, 2012

Adding libgcrypt certainly resolves the issue on ML.

@2bits
Copy link
Contributor

2bits commented Nov 12, 2012

Right on. I'm discussing the 10.6.8 issues on #15985

@ghost
Copy link
Author

ghost commented Nov 13, 2012

My bad.

snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
Fixes Homebrew#15966.
Closes Homebrew#15967.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants