From subsecret
Jump to: navigation, search
(Created page with "==m4== tar xf m4-1.4.16.tar.gz cd m4-1.4.16 ./configure --prefix=/tools make -j 12 make install cd .. ==ncurses== tar xf ncurses-5.8.tar.gz cd ncurses-5.8 ./conf...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==m4==
==m4==
  tar xf m4-1.4.16.tar.gz  
  tar xf m4-1.4.16.tar.gz  
  cd m4-1.4.16
  cd m4-1.4.16  
  ./configure --prefix=/tools
  ./configure --prefix=/tools
  make -j 12
  make -j 8
Note: This make will fail. But now edit lib/stdio.h and remove line: _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"). Now make can be run again without compile error.
 
make -j 8
  make install
  make install
  cd ..
  cd ..


==ncurses==
==ncurses==
  tar xf ncurses-5.8.tar.gz  
  tar xf ncurses-5.9.tar.gz  
  cd ncurses-5.8
  cd ncurses-5.9
  ./configure --prefix=/tools --with-shared --with-termlib --with-ticlib --with-normal
  ./configure --prefix=/tools --with-shared --with-termlib --with-ticlib --with-normal
  make -j 12
  make -j 8
  make install
  make install
  cd ..
  cd ..


==bash==
==bash==
Line 21: Line 22:
  cd bash-4.2
  cd bash-4.2
  ./configure --prefix=/tools
  ./configure --prefix=/tools
  make -j 12
  make -j 8
  make install
  make install
  cd ..
  cd ..
   
   
We are now ready for next step
We are now ready for next step

Latest revision as of 12:06, 9 May 2013

m4

tar xf m4-1.4.16.tar.gz 
cd m4-1.4.16 
./configure --prefix=/tools
make -j 8 

Note: This make will fail. But now edit lib/stdio.h and remove line: _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"). Now make can be run again without compile error.

make -j 8 
make install
cd ..

ncurses

tar xf ncurses-5.9.tar.gz 
cd ncurses-5.9
./configure --prefix=/tools --with-shared --with-termlib --with-ticlib --with-normal
make -j 8
make install
cd ..

bash

tar xf bash-4.2.tar.gz 
cd bash-4.2
./configure --prefix=/tools
make -j 8
make install
cd ..

We are now ready for next step