|
我要用bw_mod给APACHE2限速,但是找不到DEB,只好自己编译,但是网上的编译都是要求有configure文件的,这个里面和代码有关的只有一个.C文件,怎么编译?我把文件上传上来,大家可以试试,告诉我怎么编译,不用帮我编译好。
我尝试了先用dh_make,然后再dpkg-buildpackage的办法,输出信息如下:
dpkg-buildpackage: source package is bw-mod
dpkg-buildpackage: source version is 0.6-1
dpkg-buildpackage: source changed by walkerxk <walkerxk@localhost.localdomain>
dpkg-buildpackage: host architecture i386
debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/home/walkerxk/bw-mod-0.6'
make[1]: *** 没有规则可以创建目标“clean”。 停止。
make[1]: Leaving directory `/home/walkerxk/bw-mod-0.6'
make: [clean] 错误 2 (忽略)
dh_clean
dpkg-source -b bw-mod-0.6
dpkg-source: building bw-mod in bw-mod_0.6.orig.tar.gz
dpkg-source: building bw-mod in bw-mod_0.6-1.diff.gz
dpkg-source: building bw-mod in bw-mod_0.6-1.dsc
debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/home/walkerxk/bw-mod-0.6'
make[1]: *** 没有指明目标并且找不到 makefile。 停止。
make[1]: Leaving directory `/home/walkerxk/bw-mod-0.6'
make: *** [build-stamp] 错误 2 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|