找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 11484|回复: 16

怎样自己编译ipcop?

[复制链接]
发表于 2004-12-17 19:34:40 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
you can build ipcop 1.4 on just about any distro. just unpack the source tar bar, chmod the make.sh so that it may be executed.  create the cache dir to place the source for the other packages which lfs and ipcop needs.  then do ./make.sh prefetch to download any required source code, after which do ./make.sh build should you encounter any errors, you can figure them out by looking at log/ipcop.log file. i was able to build ipcop on both knoppix (debian) and gentoo linux.
routeros
发表于 2004-12-17 19:39:07 | 显示全部楼层
老大哎~~~你要是不翻译不如放进英语论坛了。呵呵。其实。。。。能自己编译的英语也不会差的。矛盾~~~
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-17 19:54:43 | 显示全部楼层
ipcop 的源代码在:ftp://61.161.79.48/ctorrent-1.3.4/ipcop143.tgz下载后,解压开,进入ipcop目录,执行./make.sh prefetch这个命令,它会自动下载所有需要的软件包.然后执行./make.sh build,就会自动执行编译.但是我试了后发现.下载软件包极其缓慢,因为都在国外.希望哪位带宽条件好的下好所有的软件后打包传给我,先谢了.
routeros
回复

使用道具 举报

发表于 2004-12-17 20:20:55 | 显示全部楼层
URL 不对哦。晕啊,flashget不让用??就这一个文件么?等会儿我帖上来怎么 tgz 文件还不让上传啊?
routeros
回复

使用道具 举报

发表于 2004-12-17 23:32:41 | 显示全部楼层
QUOTE (wsgtrsys @ Dec 17 2004, 07:54 PM)
ipcop 的源代码在:http://voxel.dl.sourceforge.net/sourceforg...ipcop-1.4.2.tgz下载后,解压开,进入ipcop目录,执行./make.sh prefetch这个命令,它会自动下载所有需要的软件包.然后执行./make.sh build,就会自动执行编译.但是我试了后发现.下载软件包极其缓慢,因为都在国外.希望哪位带宽条件好的下好所有的软件后打包传给我,先谢了.  
  呵呵!~我就是没有平台编译  ,等等我试试。是要所有下载下来的文件哈?  这个好办。
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-18 08:02:47 | 显示全部楼层
QUOTE
Building v1.4.X When RedHat announced their intention to stop supporting RH7.3, the build environment was switched to a Linux From Scratch (LFS) based system (at the v1.4a3 development stage). You no longer need a RedHat based development environment. To check if the LFS build scripts are up-to-date, and to see if the files are available, before you try and download them, use this command:  ./make.sh checkBefore starting a build do a:  ./make.sh prefetchThis will download all the needed files from the Internet. Should some files not be available, make.sh will report it to you. For these you might try a Google search and download them manually into the cache directory. To start the actual build process, use the following command (building may take quite some time, depending on your build system):  ./make.sh buildThe ccache compiler cache has been included in the build process, so subsequent builds should be faster than the first. To start a new clean build do a:  ./make.sh clean ./make.sh buildIt is possible to rebuild even quicker. If, for instance, you know that the cgi scripts for the web admin interface are the only files to have changed, delete the LFS apache log file, and run the build process again:  rm log/apache_1.3.XX ./make.sh buildFor minor changes, other good candidates for deletion are /log/configroot, /log/misc-progs, /log/initscripts and /log/installer. Look inside each file to find out which files will be rebuilt. This method can save a huge amount of time, allowing you to rebuild very quickly. Building v1.4 on Debian 3.0 (Woody) Since the switch to lfs (v1.4a3), the special scripts like these for building v1.3 are no longer necessary. Starting from a minimal install, select C/C++ development in tasksel to have the compiler stuff for the lfs build phase.With dselect add the packages:  wget, bzip2 and realpathThis should be all you need to successfully build your ipcop. We've had reports that problems with build errors in Apache libcrypto can be overcome by using a kernel equal or greater than 2.4.26 in a Debian build system. Before starting a build do a:  ./make.sh prefetchThis will get you all the needed files from the internet (hopefully). Should some files not be available, make.sh will report it to you. For these you may try to search with Google and download them manually into the cache directory.  ./make.sh buildThis will start the actual build process. Building may take quite some time, depending on your build system. To start a new clean build do a:  ./make.sh clean; ./make.sh buildBuilding v1.4 on Knoppix (Debian-based) (Thanks to Hans-Joachim Fabry) Please note, that you have to install Knoppix to your HD, because you have to install some files.  apt-get install realpath atm-dev libpcap-dev libgmp3-dev libgd-dev libnewt-dev apt-get install gcc-2.95 cpp-2.95 libstdc++2.10-dev libg++2.8.1.3-devThe gcc Version on Knoppix is gcc-3.3 so you have to symlink /usr/bin/gcc to /usr/bin/gcc-2.95 and /usr/bin/cpp to /usr/bin/cpp-2.95. Knoppix is Debian-based, so in case of trouble refer to the Debian-part of this document (e.g. traffic-graphs). Building v1.4 on Windows using Cooperative Linux Morten Christensen has written a Howto about how you can build IPCop on a Windows workstation with W2K or XP (using Cooperative Linux).

CODE
His Howto is available as a pdf, rtf and ooo-sxw from
http://home.tiscali.dk/m-c/ipcop/index.htm
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-19 09:59:54 | 显示全部楼层
编译ipcop就象编译lfs一样.不过比编译lfs简单多了,因为有自动的脚本嘛.现在发现在http://ipcop.ath.cx上有ipcop编译所需要的所有软件包,把那上面的的全部down下来就方便多了.http://ipcop.ath.cx如果打不开的话,请用代理.给个提示,凡是国外的网站打不开,都试试用代理
routeros
回复

使用道具 举报

发表于 2004-12-19 12:14:37 | 显示全部楼层
老大下好了没有啊?
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-19 15:00:55 | 显示全部楼层
下好了.共有400M,编译安装的话,需要10G的空间.
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-19 21:48:18 | 显示全部楼层
花了5个小时,终于将ipcop编译完毕,我的机器配置是xp2400+,512M内存。编译出来的版本是1.43,是最新的cvs(12.18)版本,各种软件包都是最新的。ipcop的开发脚本的确很好,两个命令就可以将ipcop编译好,不过时间太漫长了。以前研究coyote,但现在发现coyote 毕竟是在软盘上的,空间的局限性太大了。而ipcop 本身的功能很强大,对软件的限制要小得多,可以自由的修改。以后主要准备diy routeros和ipcop了。我编译出来的ipcop1.43上传在论坛的ftp wsgtrsys目录中,喜欢尝鲜的可以试试了。我这里上传太慢了,传到论坛ftp上一半就断了,论坛ftp的那个不要下载。哪位在我的ftp下载后上传到软件路由论坛的ftp 上去吧。
routeros
回复

使用道具 举报

发表于 2004-12-19 22:22:43 | 显示全部楼层
我倾向于CL,扩展性的问题,不过CL也自己定义了一套语法,很不喜欢。我的目标还是完全的web界面管理,纯粹的linux命令,以及强大的console
routeros
回复

使用道具 举报

发表于 2004-12-20 05:56:15 | 显示全部楼层
南方电信的ADSL,上传居然有40KB,哈哈。我正在上传,还需要30分钟。wsgtrsys目录下还有一个ipcop-1.4.3.iso,想删掉但没有删除权限,只好把新上传的命名为 ipcop-1.4.3_wsgtrsys.iso。另外,刚才想传个1.4.2测试速度的,没想到传了删不了,只好完整地传上去了
routeros
回复

使用道具 举报

发表于 2004-12-20 06:01:36 | 显示全部楼层
wsgtrsys,有空的时候帮忙做个 8139网卡NAPI驱动 for IPCop,好么?
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-20 07:48:40 | 显示全部楼层
QUOTE (Sense @ Dec 20 2004, 06:01 AM)
wsgtrsys,有空的时候帮忙做个 8139网卡NAPI驱动 for IPCop,好么?  
  没问题
routeros
回复

使用道具 举报

发表于 2007-7-26 17:43:19 | 显示全部楼层

请求帮助

由于校园网条件限制无法上外国网站,因此无法下载编译IPCOP所需的软件.请求帮助,希望能够得到大家的帮助
qq:706970826
Email:qzwhb2007@sohu.com
routeros
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-12-23 23:38 , Processed in 0.063105 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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