LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-24-2004, 03:17 AM   #1
xecuter
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Exclamation ./configure no longer works


well ive just recently installed fc2 onto my box and got everything set up. i was able to use ./configure make and makeinstall when it was first installed. after installing a couple other rpms the ./configure no longer works. when i type ./configure into the bash shell, i get
bash: ./configure: No such file or directory
im not sure what happened to make the ./configure no longer work. i was searching online and found that it might have something to do with a bug in ncurses or something, which is a possibility because i have just recently updated ncurses to ncurses-5.4-5. any help will be appreciated because as of know i am no longer able to compile any source code without the ./configure command working
 
Old 07-24-2004, 05:46 AM   #2
darksmiley
Member
 
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234

Rep: Reputation: 30
even tho i dont fully understand the workings of configure and make/make install i think i know what the problem is here. ./configure isnt a bash COMMAND it is a program that you run from a directory (hence the ./). for example, if i was going to compile xine:

--
linux:/home/Mike/kde_optional # cd xine-lib-1-rc4a/

linux:/home/Mike/kde_optional/xine-lib-1-rc4a # ls
. autogen.sh config.h.in CREDITS INSTALL m4 mkinstalldirs TODO
.. automake.diff config.sub debian install-sh Makefile.am NEWS win32
ABOUT-NLS ChangeLog configure depcomp intl Makefile.in po
aclocal.m4 config.guess configure.ac doc libtool misc README
AUTHORS config.h COPYING include ltmain.sh missing src

linux:/home/Mike/kde_optional/xine-lib-1-rc4a # ./configure
--

so all we are doing is running the configure program in the xine directory. the purpose of the configure program is to create a 'Makefile' so that the GNU c-compiler commands 'make' and 'make install' know some essential details about the system they are compiling and installing the software on. there is a make command that can be used to create a Makefile and configure script, i dont fully understand it but its something like 'make -f Makefile' but make sure you check the INSTALL and README text files for the program you are attempting to compile, and the man page for the make command using 'man make'.

also, one last thing, if a file that should be executable fails to do this, always remember to set it as an executable for ur user with:

chmod +x [name&directory_of_file]

hope i helped

Last edited by darksmiley; 07-24-2004 at 05:48 AM.
 
Old 07-24-2004, 11:06 AM   #3
xecuter
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Original Poster
Rep: Reputation: 0
linux:/home/Mike/kde_optional/xine-lib-1-rc4a # ./configure

thanks for the help, but thats not the problem. there something just altogether wrong with ./configure. if i were to type ./configure into the terminal to configure any source it doesnt work. i cant even get it to use it with any arguements so i know that for some reason something happened to it. make and make install still work becuase i can type them into the terminal and get make --help or what not but they are of no use without being able to ./configure the files. the autogen.sh command no longer works as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command No Longer Works carlosinfl Debian 2 11-02-2005 01:40 PM
Abiword no longer works KMcD Linux - Software 2 03-31-2004 03:56 AM
k3b no longer works guygriffiths Linux - Software 0 03-06-2004 01:20 PM
Modem no longer works infornography Linux - General 3 11-07-2003 11:14 AM
Ethernet no longer works... vthokiestm Linux - Networking 0 07-03-2003 01:34 PM


All times are GMT -5. The time now is 04:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration