This is the second lab of the SBR600 course I am currently taking at Seneca.
It involves building software from source code. It sounded scary and advanced, but turned out to be pretty much the same thing as we did in OPS235. Don’t get me wrong, building *can* be a daunting process, but for this lab I used GNU software which is written to compile with as least problems as possible. The whole process was seamless, took about 5 minutes, and I will outline it now.
First, I went to this page http://gnu.mirror.vexxhost.com/ and chose 2 packages I already knew: “grep” and “jwhois”. Inside those archives, are files in ALL CAPS which contain manuals, authors, thanks, and other misc info. In both archives I downloaded, the INSTALL file outlined the building process being as simple as running the “configuration” file to adjust (I’m guessing the Makefile) for my system to avoid any system configuration issues when building.
Building “grep” and “jwhois”
- Downloaded and extracted the archives with “tar xfv”
- Went into extracted directories
- Ran ./configure then ran “make” with “time” preceeding it to see how long it takes to build.
- Tested the binaries which resided in the “src” directory of the extracted archives.
The time it took
[slava@localhost jwhois-4.0]$ ./src/jwhois andyskylights.com | less
Domain Name: ANDYSKYLIGHTS.COM
Registrar: REGISTER.COM, INC.
Whois Server: whois.register.com
Referral URL: http://www.register.com
Name Server: DNS1.REGISTER.COM
Name Server: DNS2.REGISTER.COM
Updated Date: 15-feb-2013
Creation Date: 01-mar-2010
Expiration Date: 01-mar-2014
[root@localhost grep-2.9]# cd src
[root@localhost src]# printf “1\n2\n3\n4\n5” > test
[root@localhost src]# ./grep 3 test
So as you can see both software packages compiled and worked with no issues.