Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I already have fuse installed and to install a C compiler I ran
Code:
sudo apt-get install build-essential
After downloading the git repostory, to properly install simple-mtpfs requires the following commands
Code:
$ mkdir build && cd build
$ ../configure
$ make
$ make install (as root)
I'm stumbling on
How do you run a configure.ac file?
run automake first to get a configure file. I think that was the command, or it could have been autoconf one of them two. It's been a little while sense I've done this.
just be inside of the parent directory with your source code when you run either of them commands.
Code:
userx@voider~/bin/hdparm-9.50\>> automake
automake: error: 'configure.ac' is required
The "../configure" says to go to the directory above the one you're in and run the configure command it finds there. Typically for builds like this "configure" is just a script that checks your environment to determine if you have everything needed to do the make and/or to enable features to build in the make. i.e. Not all features are required so for some things it may check to see if you have what it needs for that feature and if not it skips it but if so it adds it. However some things are required and it will output messages if it can't find what it needs.
If you type "cd ../" then "ls -l configure" does it in fact show you a file called "configure"? (If you do this cd don't forget to "cd -" to return to where you started afterwards.)
Why are you asking about configure.ac given that it is not part of the instruction you posted?
Why are you asking about configure.ac given that it is not part of the instruction you posted?
I suspect that is the closest thing to just the word configure he could find.
If he has a configure.ac without a configure anywhere in his source, automake is needed to be run to generate a configure file. I have ran into source code as such a few times before myself where I needed to run automake to get me a configure file to run.
p.s. thanks for the tip on cd'ing. I was trying to remember them. I think it was you that posted them in here before. showing the ways to get around faster in the CLI.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.