Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] making make?
- Date: Sat, 14 Oct 2006 15:28:27 +0900
- From: Alain Hoang <hoanga@example.com>
- Subject: Re: [tlug] making make?
- References: <1160790094.17722.9.camel@example.com> <d8fcc0800610132122j3e382ee2j777447f09a4a7c8@example.com> <1160800619.17722.14.camel@example.com> <d8fcc0800610132146q47d7a0c3w8ff47381ffc3cc98@example.com>
- User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
Josh Glover wrote:[Replying to the list instead of Scott directly.] On 14/10/06, scott <scott@example.com> wrote:On Sat, 2006-10-14 at 13:22 +0900, Josh Glover wrote:Having a C compiler on a firewall box is A Very Bad Thing(TM)[1], so I am sure that even if you can get make installed, you won't have gcc.I agree with this. However, it would be possible to uninstall the C compiler after the ethernet driver has been compiled for that server, wouldn't it? Without the quad cards, it can't function as a firewall, so I need to get them recognized somehow.I would recommend creating a chroot environment inside your Checkpoint install into which you will copy everything, installing the build toolchain there, compiling, copying the compiled modules of of the jail, and then blowing away the jail. This will minimise the chances of the toolchain install leaving potentially nasty tools around. Should be as simple as: ssh root@example.com mkdir /chroot rsync -av --exclude /chroot / /chroot/ chroot /chroot /bin/bash rpm -Uvh gcc*.rpm make*.rpm # note that I don't know what the RPMs are called! cd /usr/src/network-card-driver/ # change "network-card-driver" to the right thing ./configure && make && make install exit cp /chroot/lib/modules/2.6.13/kernel/drivers/net/network-card-driver.ko \ /lib/modules/2.6.13/kernel/drivers/net/Before you nuke your whole chroot environment. You might want to take a backup in case you need to reduplicate your efforts again or need further customizations. It might be a serious PITA to dig up all those RPMs X months after the fact since you know the RPMs that you need always become obsolete the week before you realize you need them ;-). You could easily take this chroot environment and dump it on some other machine in order to keep the main firewall clean.tar czf checkpoint-env.tar.gz /chroot scp checkpoint-env.tar.gz some.other.host.my.org:.rm -rf /chroot/Cheers, Alain
- References:
- [tlug] making make?
- From: scott
- Re: [tlug] making make?
- From: Josh Glover
- Re: [tlug] making make?
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] making make?
- Next by Date: Re: [tlug] Collection of Responses, mostly on the Reiser
- Previous by thread: Re: [tlug] making make?
- Next by thread: Re: [tlug] making make?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links