如何让安装时的--enable-scim生效
前些天编译原码安装了mlterm,软件运行正常,但不能打开scim输入法。今天仔细查看了./configure --help,发现里面有一个--enable-scim选项,于是今天在重新编译mlterm 的时候加上这个选项。但编译后发现,系统找不到scim库文件显示
checking scim-1.4.0 no
checking scim-1.2.0 no
scim输入法是已经装上了的,这是确定无疑的。版本为scim-1.4.4,安装在/usr/目录下,但mlterm就是找不到。这种情况在前几天安装kaffeine时也出现过,明明xine-lib已装好的,可kaffeine就是找不到,试了好几次都没有办法。
我想知道,在编译软件时,如何让软件顺利找到需要的库文件,用什么命令可以指向这些库文件。多谢! 它要找的显示 pkgconfig 文件, 然后是头文件, 应该要 scim-devel xine-devel 之类的吧.
./configure --help显示结果如下
[oooooweb@localhost mlterm-2.9.3]$ ./configure --helpUsage: 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-lockavoid 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-trackingDo 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]$
顶一下 scim-devel没有装吧。 顺便问一下,devel包到底存放的是什么呢?看好多软件都有这样的包 xxx.pkg
*.h
*.lib
*.a 楼主用的是啥系统??
Slackware?还是BSD???? 我用的是FC5 顶一下 建议照mandrakechina的建议试试 我的FC5是可以使用scim的,觉得输入法还是不错的,但问题是不能重命名的时候调出中文
页:
[1]