LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-05-2008, 08:40 PM   #1
msbaseball210
LQ Newbie
 
Registered: May 2008
Location: USA
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
Question my ./configure command won't work


i am trying to install audio convert for ubuntu
i was refering to the guide trickykid made and he said to type in the code"./configure" so i did but i get a message saying that was not a valid command

read me files dont help

any help would be appreciated - i can give anymore info if its need

thanx in advanced
 
Old 05-05-2008, 08:45 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi msbaseball210, Welcome to lq. If you're using ubuntu try it with sudo. I'd recommend trying to find a package for your distro first.
Good luck. ;-)
 
Old 05-05-2008, 09:30 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
I don't know the guide you're referring to, but I'm assuming you downloaded and extracted some source code? Did you change into the directory that was created during the extract before running ./configure? If not, can you post the link to the guide you used and the exact steps that you ran please?
 
Old 05-06-2008, 05:26 AM   #4
mSaiyesh
LQ Newbie
 
Registered: Apr 2008
Posts: 9

Rep: Reputation: 0
Smile

Quote:
Originally Posted by msbaseball210 View Post
<snip>
"./configure" so i did but i get a message saying that was not a valid command
<snip>
i guess u dun have permissions to execute "configure" file.. try to be root..

enter the directory.. (extracted files)

type command: su
it wil ask for password of the root (assuming u knw it)

then try ur code ie.: ./configure

if it still does not work do: chmod 777 *

now try: ./configure

does it work??
 
Old 05-06-2008, 05:34 AM   #5
Moriya
LQ Newbie
 
Registered: Dec 2007
Posts: 19

Rep: Reputation: 0
I think if the file is there and he doesn't have permission to run it, it should say so.

Are you sure there is a configure in the directory you are trying to run from?

Double check your extract directory to be sure that configure was extracted.
 
Old 05-06-2008, 05:47 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Usually you don't have to be root to run ./configure or make, only make install.
 
Old 05-06-2008, 06:45 AM   #7
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Sorry for my earlier post, I don't use Ubuntu and assumed ./configure make have needed sudo in Ubuntu. In any event, I believe I've found your problem. Audio-convert is a shell script. From the readme included with the 0.3.1 release:
Code:
=== how to make use of the various natures of the script ===

	* to install it as a nautilus script, copy 'audio-convert' in /usr/bin, then run 'audio-convert-install'. or, follow the instructions on this link: http://g-scripts.sourceforge.net/faq.php.

	* to install it as a rox script, no clue yet, but someone did make it work : )

	* to use it as a plain bash script, provided you have access to an x session and have zenity installed, simply type: path/to/audio-convert path/to/filename... and specify as many filenames as you want. they will be processed one by one, just as it happens when you select multiple files on nautilus or rox.
Hope that clears it up for you.
Good luck. ;-)
 
Old 05-07-2008, 02:47 PM   #8
msbaseball210
LQ Newbie
 
Registered: May 2008
Location: USA
Distribution: Ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Peacedog View Post
Sorry for my earlier post, I don't use Ubuntu and assumed ./configure make have needed sudo in Ubuntu. In any event, I believe I've found your problem. Audio-convert is a shell script. From the readme included with the 0.3.1 release:
Code:
=== how to make use of the various natures of the script ===

	* to install it as a nautilus script, copy 'audio-convert' in /usr/bin, then run 'audio-convert-install'. or, follow the instructions on this link: http://g-scripts.sourceforge.net/faq.php.

	* to install it as a rox script, no clue yet, but someone did make it work : )

	* to use it as a plain bash script, provided you have access to an x session and have zenity installed, simply type: path/to/audio-convert path/to/filename... and specify as many filenames as you want. they will be processed one by one, just as it happens when you select multiple files on nautilus or rox.
Hope that clears it up for you.
Good luck. ;-)
ok so can i install a shell script? if so, how?

thanx for the replies
 
Old 05-07-2008, 03:23 PM   #9
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
I'd suggest a good once over the readme file included.
Good luck. ;-)
 
Old 05-07-2008, 09:59 PM   #10
msbaseball210
LQ Newbie
 
Registered: May 2008
Location: USA
Distribution: Ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
it looks like the person who wrote the readme didnt really care

all it says is what peacedog put in the scroll box above
 
Old 05-07-2008, 10:38 PM   #11
eggixyz
Member
 
Registered: Apr 2008
Posts: 310

Rep: Reputation: 30
Hey There,

Have you tried forcing the shell, in case it's an bad shebang line:

sh configure

It's also possible that the file is bad, so you could use

dos2unix

on it.

If "sh configure" gives you an error message, it might be more helpful than the one ./configure shoots out.

, Mike
 
Old 05-08-2008, 04:57 PM   #12
msbaseball210
LQ Newbie
 
Registered: May 2008
Location: USA
Distribution: Ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
thanks for all your help, but nothing worked, i will try another program and see if that works

thanx again for all your help
 
Old 05-08-2008, 06:26 PM   #13
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi msbaseball210, To execute the script run
Code:
./audio-convert somefile someoptions
Per the readme
Quote:
to install it as a nautilus script, copy 'audio-convert' in /usr/bin, then run 'audio-convert-install'.
This software is a script it isn't like a normal software package that you would install. Generally speaking you would "run" or "execute" a script not install it. This script, however, can be installed as a nautilus script with the above quoted instructions. That said there are other tools for media type file conversions. I'm assuming this is Ubuntu since that's what is in your signature. Try this.
Code:
sudo apt-get install sound-converter
Hope that helps and clears up a few things for you.
Good luck. ;-)
 
  


Reply

Tags
install, ubuntu


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
Make command won't work after I configure the gtk 2.12.9 package thecolorpink Linux - Newbie 5 04-18-2008 09:03 AM
./configure command runs... but doesnt work Visual Basic Imp MEPIS 3 01-20-2007 02:33 PM
./Configure "Permision Denied" error when atempting to use ./configure command in RH8 canegames Linux - Software 9 06-29-2006 02:20 AM
./configure command kitsune55 Linux - General 3 04-21-2005 10:17 AM
***** 'configure' Command Fails **** grayram Linux - Newbie 11 11-27-2004 06:21 AM


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