当前位置: 技术问答>linux和unix
请教编译安装软件方面的问题谢谢。
来源: 互联网 发布时间:2016-09-10
本文导语: 我下载了一个midnight commander(mc)的软件我开始编译安装,在./configure时告诉缺少s-lang,我又执行了yum install slang,ok没问题装上了,但再次./configure时还是缺少slang,请问我应该怎么解决这个问题,谢谢... ps:这个软...
我下载了一个midnight commander(mc)的软件我开始编译安装,在./configure时告诉缺少s-lang,我又执行了yum install slang,ok没问题装上了,但再次./configure时还是缺少slang,请问我应该怎么解决这个问题,谢谢...
ps:这个软件非常好用,相当于totalcmd. 终端启动命令为mc。
ps:这个软件非常好用,相当于totalcmd. 终端启动命令为mc。
|
你安装了s-lang的开发包了吗?
试一下yum install slang-devel
试一下yum install slang-devel
|
你在什么版本的linux上编译的多少版本号的mc?
我在我的rhel4上试编译安装了一下,没用过这个工具,不过没有报错信息应该算是成功了吧?
[root@RHEL4 ~]# uname -r
2.6.9-42.ELsmp
[root@RHEL4 ~]# ls
anaconda-ks.cfg an.sln bin db-4.3.29.tar.gz Desktop example.ldif install.log install.log.syslog mc-4.6.1 mc-4.6.1.tar.gz openldap-stab
[root@RHEL4 ~]# cd mc-4.6.1
[root@RHEL4 mc-4.6.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
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 how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
中间内容太多省略...
checking if S-Lang uses termcap... no
checking for SLang_init_tty in -lslang... yes
checking for SLsmg_write_nwchars in -lslang... yes
configure: WARNING: Rejecting S-Lang with UTF-8 support, it's not fully supported yet
configure: using internal editor
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mc.spec
config.status: creating mc.qpg
config.status: creating pkginfo
config.status: creating prototype
config.status: creating doc/Makefile
config.status: creating vfs/Makefile
config.status: creating vfs/extfs/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating slang/Makefile
config.status: creating edit/Makefile
config.status: creating syntax/Makefile
config.status: creating m4/Makefile
config.status: creating lib/mc.ext
config.status: creating vfs/extfs/a
config.status: creating vfs/extfs/apt
config.status: creating vfs/extfs/audio
config.status: creating vfs/extfs/deb
config.status: creating vfs/extfs/deba
config.status: creating vfs/extfs/debd
config.status: creating vfs/extfs/dpkg
config.status: creating vfs/extfs/iso9660
config.status: creating vfs/extfs/hp48
config.status: creating vfs/extfs/lslR
config.status: creating vfs/extfs/mailfs
config.status: creating vfs/extfs/patchfs
config.status: creating vfs/extfs/rpms
config.status: creating vfs/extfs/uar
config.status: creating vfs/extfs/uarj
config.status: creating vfs/extfs/uha
config.status: creating vfs/extfs/ulha
config.status: creating vfs/extfs/urar
config.status: creating vfs/extfs/uzip
config.status: creating vfs/extfs/uzoo
config.status: creating doc/mc.1
config.status: creating doc/mcedit.1
config.status: creating doc/mcview.1
config.status: creating doc/mcserv.8
config.status: creating doc/es/mc.1
config.status: creating doc/es/Makefile
config.status: creating doc/hu/mc.1
config.status: creating doc/hu/Makefile
config.status: creating doc/it/mc.1
config.status: creating doc/it/Makefile
config.status: creating doc/pl/mc.1
config.status: creating doc/pl/Makefile
config.status: creating doc/ru/mc.1
config.status: creating doc/ru/Makefile
config.status: creating doc/sr/mc.1
config.status: creating doc/sr/mcserv.8
config.status: creating doc/sr/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configuration:
Source code location: .
Compiler: gcc
Compiler flags: -g -O2
File system: Midnight Commander Virtual File System
cpiofs, extfs, tarfs, ftpfs, fish, undelfs
Screen library: Included S-Lang library (mcslang)
Mouse support: gpm and xterm
X11 events support: no
With subshell support: yes
Internal editor: yes
Support for charset: no
我在我的rhel4上试编译安装了一下,没用过这个工具,不过没有报错信息应该算是成功了吧?
[root@RHEL4 ~]# uname -r
2.6.9-42.ELsmp
[root@RHEL4 ~]# ls
anaconda-ks.cfg an.sln bin db-4.3.29.tar.gz Desktop example.ldif install.log install.log.syslog mc-4.6.1 mc-4.6.1.tar.gz openldap-stab
[root@RHEL4 ~]# cd mc-4.6.1
[root@RHEL4 mc-4.6.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
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 how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
中间内容太多省略...
checking if S-Lang uses termcap... no
checking for SLang_init_tty in -lslang... yes
checking for SLsmg_write_nwchars in -lslang... yes
configure: WARNING: Rejecting S-Lang with UTF-8 support, it's not fully supported yet
configure: using internal editor
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mc.spec
config.status: creating mc.qpg
config.status: creating pkginfo
config.status: creating prototype
config.status: creating doc/Makefile
config.status: creating vfs/Makefile
config.status: creating vfs/extfs/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating slang/Makefile
config.status: creating edit/Makefile
config.status: creating syntax/Makefile
config.status: creating m4/Makefile
config.status: creating lib/mc.ext
config.status: creating vfs/extfs/a
config.status: creating vfs/extfs/apt
config.status: creating vfs/extfs/audio
config.status: creating vfs/extfs/deb
config.status: creating vfs/extfs/deba
config.status: creating vfs/extfs/debd
config.status: creating vfs/extfs/dpkg
config.status: creating vfs/extfs/iso9660
config.status: creating vfs/extfs/hp48
config.status: creating vfs/extfs/lslR
config.status: creating vfs/extfs/mailfs
config.status: creating vfs/extfs/patchfs
config.status: creating vfs/extfs/rpms
config.status: creating vfs/extfs/uar
config.status: creating vfs/extfs/uarj
config.status: creating vfs/extfs/uha
config.status: creating vfs/extfs/ulha
config.status: creating vfs/extfs/urar
config.status: creating vfs/extfs/uzip
config.status: creating vfs/extfs/uzoo
config.status: creating doc/mc.1
config.status: creating doc/mcedit.1
config.status: creating doc/mcview.1
config.status: creating doc/mcserv.8
config.status: creating doc/es/mc.1
config.status: creating doc/es/Makefile
config.status: creating doc/hu/mc.1
config.status: creating doc/hu/Makefile
config.status: creating doc/it/mc.1
config.status: creating doc/it/Makefile
config.status: creating doc/pl/mc.1
config.status: creating doc/pl/Makefile
config.status: creating doc/ru/mc.1
config.status: creating doc/ru/Makefile
config.status: creating doc/sr/mc.1
config.status: creating doc/sr/mcserv.8
config.status: creating doc/sr/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configuration:
Source code location: .
Compiler: gcc
Compiler flags: -g -O2
File system: Midnight Commander Virtual File System
cpiofs, extfs, tarfs, ftpfs, fish, undelfs
Screen library: Included S-Lang library (mcslang)
Mouse support: gpm and xterm
X11 events support: no
With subshell support: yes
Internal editor: yes
Support for charset: no