LinuxQuestions.org
Register a domain and help support LQ
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 08-08-2004, 11:46 AM   #1
krazibon3
LQ Newbie
 
Registered: Aug 2004
Posts: 15

Rep: Reputation: 0
./configure


Hi i was just wondering what does the command ./ << do? or ./configure?
 
Old 08-08-2004, 11:54 AM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
It usually runs the script with the name configure. But read the readme file that comes with the package. There are detailed intructions in there.
 
Old 08-08-2004, 11:57 AM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
./ is not a command but an indication of a location. the "." means your current directory (to know where you are type "pwd" Print Working Directory) and can be used e.g. for copying files to the place you are

$ cp /mnt/cdrom/file1 .

will copy "file1" to your curent working directory

If you want to run an application or a script from your current directory you cannot give the command .script, because the "." is also used for hidden files. So you have to type "./" which basically means "in this directory"

./configure serves to invoke a configuration script of an application your installing. It tells your shell to run the "configure" script in the current directory. You have to tell it that it is there because otherwise it would look in your path (/bin or /sbin or similar)
 
Old 08-08-2004, 12:00 PM   #4
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
"./" is the current directory
"./somefile" excutes somefile in current directory. this is the full path of "somefile"
if, the current directory is not in the path. so you give the full path to be enabled to run

mustafa

Last edited by elsheikhmh; 08-08-2004 at 12:07 PM.
 
Old 08-09-2004, 12:24 AM   #5
krazibon3
LQ Newbie
 
Registered: Aug 2004
Posts: 15

Original Poster
Rep: Reputation: 0
ahh thanks its kinda like clicking setup.exe in windows or something similar along the line

how about when type exit in terminal a message saying "there are jobs stopped" appears. what does that mean and how do i stop it from coming up?
would anything happen if i just closed the terminal window?
 
Old 08-09-2004, 12:43 AM   #6
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
if you find typing "./" is annoying

open up a text editor and type in:

alias="./"

save it in your home dir and restart
 
Old 08-09-2004, 05:56 PM   #7
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
save it in your home dir and restart
restart?? i think u mean logout and re-login?
also, save alias="./" in what file? ~/.bashrc or what?

mustafa
 
Old 08-09-2004, 06:04 PM   #8
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
u can even do source ~/.bashrc to activate the changes in .bashrc without restarts
 
Old 08-09-2004, 06:33 PM   #9
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
krabizon3, your shell implements something called job control. That is you can run things in the background while still being able to type new commands into the shell. The stopped jobs warning is reminding you that you have jobs stopped in the background. You can log out, and those jobs will be destroyed. If you want to see what they are, type "jobs" at your shell prompt. You will see a list of your jobs and whether they are running or stopped. To bring a job to the foreground type fg %<job number> and to run a stopped job in the background type bg %<job number>. To kill a background process you can do kill %<job number>.

Note that all of this assumes the bash shell.
 
  


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
Configure dhcpd (Configure DHCP Server) hanserver2004 LinuxQuestions.org Member Success Stories 3 10-23-2006 07:39 AM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 01:35 PM
Configure dhcpd (Configure DHCP Server) hanserver2004 General 1 08-16-2004 02:39 PM
How to use GNU autoconf to generate a new configure from configure.in ?? vanhelsing Programming 5 08-05-2004 11:02 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 04:52 PM


All times are GMT -5. The time now is 03:11 AM.

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