第一个问题:怎么在终端里面,我本想"右键/paste",结果一点右键,就出现一个新的终端窗口
第二个个问题:安装fcitx时候:configure时候出错:
过程如下,大家帮我看一下(我已经解压到了fcitx文件中了)
hah@HAH-Linux:~$ sudo -i
root@HAH-Linux:~# cd /home/hah/fcitx
root@HAH-Linux:/home/hah/fcitx# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.
root@HAH-Linux:/home/hah/fcitx#
是我误操作还是什么有问题
希望得到两个问题的原因和解决办法,谢谢
deepwhite 于 2008-07-29 17:08:59发表:
那就装linux-libc-dev它呀,提示里面说的很清楚呀!为什么不看提示呢?
Anjoy 于 2008-07-29 16:37:33发表:
装gawk出现和装fcitx一样的错误
Anjoy 于 2008-07-29 16:24:13发表:
新问题:
root@HAH-Linux:~# sudo apt-get install libc6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libc6-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
linux-libc-dev
E: Package libc6-dev has no installation candidate
wangai 于 2008-07-29 14:47:12发表:
checking for gawk... no
看是否安装了 gawk!可能你安装的需要 gawk依赖
deepwhite 于 2008-07-29 14:32:25发表:
http://hi.baidu.com/yangyingchao/blog/item/b5bd6cdf5deaee1549540313.html
Anjoy 于 2008-07-29 13:56:16发表:
And then?
How to deal with it?
创意网络 于 2008-07-29 13:42:28发表:
多看帮助如下[root@mxl libnet]# ./configure --help 看查源码配置的帮助
if you have libraries in a
if you have
`configure' configures this package to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration: 配置信息
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories: 定义要安装目录
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/bin', `/usr/lib' etc. You can specify
an installation prefix other than `/usr' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data [PREFIX/share]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
Program names:
--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
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
--disable-dependency-tracking Speeds up one-time builds
--enable-dependency-tracking Do not reject slow dependency extractors
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L
nonstandard directory
CPPFLAGS C/C++ preprocessor flags, e.g. -I
headers in a nonstandard directory
CPP C preprocessor
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
make 编译
make install 安装
wangyu 于 2008-07-29 13:32:40发表:
如果你用的是ubuntu,在附件里,或者你同时按下ctrl+alt+f1,然后输入用户名密码就可以用命令行了,切换回来把f1改为f7即可。
checking for gawk... no
很明显是这里出错,至于解决,不知道。