Analyze wget source

Log of study wget source code

2012-9-27 00:04:30

  1. config
    ./configure
  2. compile
    make
  3. install
    make install
  4. uninstall
    make uninstall

compile log: (on virtualbox os ubuntu)

dennis@dennis-VBox:~/project/wget/wget-1.9$ ./configure
dennis@dennis-VBox:~/project/wget/wget-1.9$ ls
dennis@dennis-VBox:~/project/wget/wget-1.9$ make
// Error message: autoconf: Command not found
// install autoconf
dennis@dennis-VBox:~/project/wget/wget-1.9$ sudo apt-get install autoconf
dennis@dennis-VBox:~/project/wget/wget-1.9$ make
// Error message: makeinfo: Command not found
// install texinfo
dennis@dennis-VBox:~/project/wget/wget-1.9$ sudo apt-get install texinfo
dennis@dennis-VBox:~/project/wget/wget-1.9$ make

Binary file "wget" will be generated at wget-1.9/src/

todo
analyze Makefile

2012-9-26 00:06:18

  1. Home
  2. manual site
  3. manual generation script gendocs.sh
  4. pdf format manual

todo
compile wget source code