Solved

./configure

Posted on 2004-09-16
3
198 Views
Last Modified: 2010-04-21
Im really new to unix and we need to install apache, i'm following the commands

Extract $ gzip -d httpd-2_0_NN.tar.gz
$ tar xvf httpd-2_0_NN.tar  
Configure $ ./configure --prefix=PREFIX  
Compile $ make  
Install $ make install  
Customize $ vi PREFIX/conf/httpd.conf  
Test $ PREFIX/bin/apachectl start  

but when i get to the ./configure part it say ./configure not found. Do i need to download something or am i doing something wrong.

Thanks
0
Comment
Question by:ocsurf
3 Comments
 
LVL 23

Accepted Solution

by:
brettmjohnson earned 250 total points
ID: 12078779
The 'tar' command extracts data from the archive file into a directory tree
containing all the files.  You will need to change directories into the directory
tree (using the cd command) to the directory that contains the configure
script.

Also note that 'PREFIX' is a place-holder.  It is meant to be replaced with the
path where you wish to install the Apache and its associated files, typically
/usr/local/apache

0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 12082038
Brett is right ... descend to the directory in which you untared the soures ... Make sure that you can see a file called "configure" in that directory and also make sure that it has execute permissions ...

You can these by using command ls -l configure ... Note that this command needs to be excuted in the directory in which you have untared the sources

If you need to change permissions on the file, use chmod ... chmod 0775 configure

for more information,
man ls
man chmod
0
 
LVL 2

Expert Comment

by:rajeshp_69
ID: 12121013
The problem surely lies with the path. You are trying to execute ./configure that means to execute the configure from the current path. As my colleagues have clearly pointed that make sure that the file exists in the current directory from where u execute the same. After running the tar command run the find command to find the file configure.

find ./ -name "configure" -print

Check the path and execute the configure from that path and your problem will be vanished.

Bye
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
help pulling data string using Awk 9 62
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 72
Solaris 4.1.3 cloning and booting 13 71
Log File Creation with Header and Footer 17 53
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now