LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   my ./configure command won't work (http://www.linuxquestions.org/questions/linux-newbie-8/my-configure-command-wont-work-640147/)

msbaseball210 05-05-2008 08:40 PM

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

Peacedog 05-05-2008 08:45 PM

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. ;-)

gilead 05-05-2008 09:30 PM

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?

mSaiyesh 05-06-2008 05:26 AM

Quote:

Originally Posted by msbaseball210 (Post 3143978)
<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??

Moriya 05-06-2008 05:34 AM

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.

brianL 05-06-2008 05:47 AM

Usually you don't have to be root to run ./configure or make, only make install.

Peacedog 05-06-2008 06:45 AM

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. ;-)

msbaseball210 05-07-2008 02:47 PM

Quote:

Originally Posted by Peacedog (Post 3144356)
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

Peacedog 05-07-2008 03:23 PM

I'd suggest a good once over the readme file included.
Good luck. ;-)

msbaseball210 05-07-2008 09:59 PM

it looks like the person who wrote the readme didnt really care

all it says is what peacedog put in the scroll box above

eggixyz 05-07-2008 10:38 PM

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

msbaseball210 05-08-2008 04:57 PM

thanks for all your help, but nothing worked, i will try another program and see if that works

thanx again for all your help

Peacedog 05-08-2008 06:26 PM

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. ;-)


All times are GMT -5. The time now is 12:15 AM.