免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3739 | 回复: 4
打印 上一主题 下一主题

[FreeBSD] 哪位在FreeBSD下搞过gtk编程? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-12 16:37 |只看该作者 |倒序浏览
我安装了glade,编译glade生成的简单程序时编译出错,希望得到大虾的帮助
我google搜索了一下,也有这种问题,好象没看到解决的方法
./autogen.sh

**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Creating ./aclocal.m4 ...
Running glib-gettextize...  Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/local/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Making ./aclocal.m4 writable ...
Running aclocal  ...
aclocal:configure.in:24: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
Running autoheader...
Running automake --gnu  ...
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
Running autoconf ...
configure.in:24: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
./configure: line 5055: syntax error near unexpected token `PACKAGE,'
./configure: line 5055: `PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'

论坛徽章:
0
2 [报告]
发表于 2006-03-13 08:40 |只看该作者
原帖由 jameszxj 于 2006-3-12 16:37 发表
Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/local/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
...


一直在基层工作,没玩过gtk,问题原因是不是这里提示的需要一些文件?

论坛徽章:
0
3 [报告]
发表于 2006-03-14 13:18 |只看该作者
感觉问题在这里
configure.in:24: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

论坛徽章:
0
4 [报告]
发表于 2006-04-05 22:35 |只看该作者
你用的是什麼開發環境?建議用anjuta,ports中是anjuta-1.2.4_4,到/usr/ports/devel/anjuta編譯安裝。anjuta用glade作為gui工具。它會自動幫你把這些搞定的。你的問題在于gettext的設置,這和本地化有關。

[ 本帖最后由 redbugler 于 2006-4-5 23:07 编辑 ]

anjuta.gif (64.94 KB, 下载次数: 34)

Anjuta

Anjuta

论坛徽章:
0
5 [报告]
发表于 2006-04-21 03:00 |只看该作者
楼上的,,anjuta我装了,,刷新的头晕。。。
我系统FB6.0
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP