QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 947|回复: 11

如何让安装时的--enable-scim生效

[复制链接]
发表于 2006-8-4 21:12:36 | 显示全部楼层 |阅读模式
前些天编译原码安装了mlterm,软件运行正常,但不能打开scim输入法。今天仔细查看了./configure --help,发现里面有一个--enable-scim选项,于是今天在重新编译mlterm 的时候加上这个选项。但编译后发现,系统找不到scim库文件
显示
[code:1]checking scim-1.4.0 no
checking scim-1.2.0 no
[/code:1]

scim输入法是已经装上了的,这是确定无疑的。版本为scim-1.4.4,安装在/usr/目录下,但mlterm就是找不到。这种情况在前几天安装kaffeine时也出现过,明明xine-lib已装好的,可kaffeine就是找不到,试了好几次都没有办法。

我想知道,在编译软件时,如何让软件顺利找到需要的库文件,用什么命令可以指向这些库文件。多谢!
发表于 2006-8-4 22:33:01 | 显示全部楼层
它要找的显示 pkgconfig 文件, 然后是头文件, 应该要 scim-devel xine-devel 之类的吧.
回复

使用道具 举报

 楼主| 发表于 2006-8-4 23:03:46 | 显示全部楼层

./configure --help显示结果如下

[code:1][oooooweb@localhost mlterm-2.9.3]$ ./configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print `checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
--enable and --with options recognized:
  --with-libtool          libtool path[default=without]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-static[=PKGS]  build static libraries [default=yes]
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --with-pic              try to use only PIC/non-PIC objects [default=use both]
  --with-x                use the X Window System
  --enable-debug          debug[default=disabled]
  --enable-fribidi        bidi[default=disabled]
  --with-imagelib[=ARG]   image library (imlib|gdk-pixbuf)
  --enable-anti-alias     (obsoleted by --with-type-engines)anti alias[default=disabled]
  --with-type-engines     type engines(xcore, xft)[default=xcore]
  --enable-ind            libind[default=disabled]
  --enable-utmp           utmp (Experimental) [default=disabled]
  --with-tools[=ARG]      external tools [default=mlclient,mlconfig,mlterm-menu,mlcc]
  --with-libltdl[=PREFIX] load modules with libltdl[default=without]
  --disable-dnd           dnd [default=enabled]
  --disable-kbd           input method for Arabic and Indic [default=enabled]
  --enable-uim            uim (Experimental) [default=disabled]
  --enable-iiimf          IIIMF (Experimental) [default=disabled]
  --enable-m17nlib        m17n library (Experimental) [default=disabled]
  [u]--enable-scim           SCIM (Experimental) [default=disabled][/u]
  --with-scrollbars[=ARG] scrollbar plugins (sample, extra, pixmap_engine)[default=sample,extra]
  --enable-optimize-redrawing optimize redrawing a line[default=disabled]
  --disable-dependency-tracking Speeds up one-time builds
  --enable-dependency-tracking  Do not reject slow dependency extractors
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --disable-rpath         do not hardcode runtime library paths
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
  --disable-nls           do not use Native Language Support
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
  --without-libintl-prefix     don't search for libintl in includedir and libdir
[oooooweb@localhost mlterm-2.9.3]$
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2006-8-7 13:16:26 | 显示全部楼层
顶一下
回复

使用道具 举报

发表于 2006-8-7 14:08:51 | 显示全部楼层
scim-devel没有装吧。
回复

使用道具 举报

 楼主| 发表于 2006-8-7 15:53:10 | 显示全部楼层
顺便问一下,devel包到底存放的是什么呢?看好多软件都有这样的包
回复

使用道具 举报

发表于 2006-8-7 18:58:23 | 显示全部楼层
xxx.pkg
*.h
*.lib
*.a
回复

使用道具 举报

发表于 2006-8-7 19:32:41 | 显示全部楼层
楼主用的是啥系统??

Slackware?还是BSD????
回复

使用道具 举报

 楼主| 发表于 2006-8-7 22:25:51 | 显示全部楼层
我用的是FC5
回复

使用道具 举报

 楼主| 发表于 2006-8-9 10:54:44 | 显示全部楼层
顶一下
回复

使用道具 举报

发表于 2006-8-9 11:52:34 | 显示全部楼层
建议照mandrakechina的建议试试
回复

使用道具 举报

发表于 2006-8-9 13:19:58 | 显示全部楼层
我的FC5是可以使用scim的,觉得输入法还是不错的,但问题是不能重命名的时候调出中文
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-6-6 19:30 , Processed in 0.155655 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表