LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1471|回复: 6

我经常用apt-get 来安装软件,但是如何知道他编译时的参数呢?

[复制链接]
发表于 2007-12-17 10:42:58 | 显示全部楼层 |阅读模式
如题!

有时我要知道是否将某个功能模块编译进去了,  进而知道这个软件是否支持某项功能?

现谢谢了
发表于 2007-12-17 15:18:38 | 显示全部楼层
apt-get直接使用二进制,哪来的编译环节?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-17 15:55:10 | 显示全部楼层
<<<<<apt-get直接使用二进制,哪来的编译环节?>>>>>>>

那他默认的功能参数应该有吧,比如pure-ftpd , 用apt-get 安装完成后,pure-ftpd默认支持的功能有哪些呢?  在编译时如果加上--with-rfc2640的话,那他可以支持编码的转换, 可是用apt安装的pure-ftpd 是否支持这个功能呢?我从哪里可以看到他的支持的功能的参数呢?

谢谢你的回复!:)
回复 支持 反对

使用道具 举报

发表于 2007-12-17 16:12:36 | 显示全部楼层
一般来说,包里的 README.Debian.gz 文件里会有编译时的参数之类的信息
比如 bash 的 /usr/share/doc/bash/README.Debian.gz 里就有:
A number of patches for the bash sources is applied for the Debian build
of bash.  See the details at the end of the file.

The bash package was built using the following configuration options:

        --with-curses \
        --disable-net-redirections \
        --enable-largefile \

bash-static additionally configured with --enable-static-link, bash-minimal
configured with --enable-minimal-config --enable-largefile.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-17 18:57:51 | 显示全部楼层
我去看看,谢谢了
回复 支持 反对

使用道具 举报

发表于 2007-12-18 09:40:22 | 显示全部楼层
Post by lin_lin13;1796760
我去看看,谢谢了


我所知道的一个通用办法是 apt-get 该包的源码,看debian/rules 文件,这个是打包时执行的脚本。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-21 08:05:29 | 显示全部楼层
<<<<<<我所知道的一个通用办法是 apt-get 该包的源码,看debian/rules 文件,这个是打包时执行的脚本。>>>>>>>>>

这个方法跟安装的二进制的包,编译时的参数一致吗?
回复 支持 反对

使用道具 举报

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

本版积分规则

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