LinuxQuestions.org
Help answer threads with 0 replies.
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 06-10-2004, 04:01 PM   #1
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Rep: Reputation: 15
./configure




Where exactly has to go this '' ./configure '' in the console?
(I want to install some codecs for mplayer and I downloaded "essential-20040427.tar.bz2" in "/home/usr/Documents")

I tried it like:

[usr@usr usr]$ cd Documents
[usr@usr Documents]$ ./configure
bash: ./configure: No such file or directory
[usr@usr Documents]$ ./configure /essential-20040427.tar.bz2
bash: ./configure: No such file or directory
[usr@usr Documents]$ essential-20040427.tar.bz2 ./configure
bash: essential-20040427.tar.bz2: command not found
[usr@usr Documents]$ /essential-20040427.tar.bz2 ./configure
bash: /essential-20040427.tar.bz2: No such file or directory
[usr@usr Documents]$

it seems to be all wrong...

Thanks for your help and of corse for your patience.
 
Old 06-10-2004, 04:09 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
A .tar.bz2 file is a compressed collection of files. You first have to decompress them. To do that:
tar xvjf /home/usr/Documents/essential-20040427.tar.bz2

The command will decompress and extract the files. Usually, this will create a directory from the spot you executed the command. I would suggest running the command from a clean/empty directory just to be safe.

After everything has been extracted, cd into the directory that was created. Then you can run the configure script like:
./configure
 
Old 06-10-2004, 04:15 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Here is how I do it;first ls that will show you the tar then tar xvfj <filename>tar.bz2 then ls again and you should see something without the tar.bz2 then cd <new file> then vi README or vi INSTALL may not run ./configure,but if you do then ./configure then make then su <password> then make install,sounds confusing but you will get the hang of it,you may need to open the README and INSTALL with kwrite or gedit if you don't use vi or vim,good luck
 
Old 06-10-2004, 04:17 PM   #4
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
[usr@usr usr]$ tar xvjf /home/usr/Documents/essential-20040427.tar.bz2
tar (child): /home/usr/Documents/essential-20040427.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[usr@usr usr]$


 
Old 06-10-2004, 04:23 PM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
tar xvfj essential-20040427.tar.bz2
 
Old 06-10-2004, 04:24 PM   #6
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
tar is complaining that it can't find the file. Double check the filename and the directory you downloaded it to.

Either there was a typo in your original post (about the fileanme and the directory it was saved in) or some other similar mistake.
 
Old 06-10-2004, 04:31 PM   #7
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
I just tried the instructions from comprookie2000.
comprookie2000, I was able to follow you till I do cd <new_file>.... but then if I tipe in vi README or vi INSTALL it appears something I don't realy understand.. Please tell me to go on after I am in the directory of the <new_file>..
Thank you
 
Old 06-10-2004, 05:00 PM   #8
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
Please don't give up helping me.

I tried to do .configure on the new file I got:

[usr@usr essential-20040427]$ ./configure
bash: ./configure: No such file or directory
[usr@usr essential-20040427]$

It seems to be not possible. HELP
 
Old 06-10-2004, 05:23 PM   #9
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Use Kwrite under file open and see if there is a readme or install file it should tell you what to do like ./something.sh,check it out.
 
  


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


All times are GMT -5. The time now is 08:49 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