Solved

./configure

Posted on 2004-09-16
3
215 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux  centos   virtualization network quetion 6 90
How to Change Interface on Cisco IOU 11 127
Unix/bash: scripted arithmetic 13 103
Archiving and Removal of old files AIX 7.1 2 29
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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

734 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