Solved

./configure

Posted on 2004-09-16
3
194 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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 …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

743 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

16 Experts available now in Live!

Get 1:1 Help Now