Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

195
Views
How to compile bash?

How to compile bash? I did small modifications to the code I got from http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz. I want to see those changes. Can anyone please point to me simple steps to compile bash?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

You can first run

cd bash-4.2

./configure --prefix=/usr                     \
        --bindir=/bin                     \
        --htmldir=/usr/share/doc/bash-4.2 \
        --without-bash-malloc             \
        --with-installed-readline

make

make install

Also refer http://www.linuxfromscratch.org/lfs/view/development/chapter06/bash.html for more information

over 4 years ago · Santiago Trujillo Report

0

The simplest way to compile Bash is:

cd to the directory containing the source code and type ./configure to configure Bash for your system. If you're using csh on an old version of System V, you might need to type sh ./configure instead to prevent csh from trying to execute configure itself. Running configure takes some time. While running, it prints messages telling which features it is checking for.

like

/bash-4.2$ ./configure

Type make to compile Bash and build the bashbug bug reporting script.

 /bash-4.2$ make

Optionally, type make tests to run the Bash test suite.

/bash-4.2$ make tests

Type make install to install bash and bashbug. This will also install the manual pages and Info file.

/bash-4.2$ make install

The configure shell script attempts to guess correct values for various system-dependent variables used during compilation.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!