Solved

./configure

Posted on 2004-09-16
3
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses

630 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