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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
12-27-2016, 09:45 AM
|
#1
|
Member
Registered: Dec 2016
Posts: 242
Rep: 
|
How to run a configure.ac file
Hi
Trying to install and run this package
https://github.com/phatina/simple-mtpfs
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?
|
|
|
12-27-2016, 09:57 AM
|
#2
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by eco_bach
Hi
Trying to install and run this package
https://github.com/phatina/simple-mtpfs
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
yeh, try automake first.
Last edited by BW-userx; 12-27-2016 at 10:02 AM.
|
|
|
12-27-2016, 10:00 AM
|
#3
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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?
|
|
|
12-27-2016, 10:09 AM
|
#4
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by MensaWater
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.
Last edited by BW-userx; 12-27-2016 at 10:11 AM.
|
|
|
12-27-2016, 07:32 PM
|
#5
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,682
|
see that "autogen.sh" script !!!
RUN it
that will USE!!!! the "configure.ac" to make the configure file
AS PER THE INSTRUCTIONS!!!! ON THE LINK YOU POSTED
https://github.com/phatina/simple-mtpfs
but the build bit is WONKY
a mix of autotools and cmake ?????
Last edited by John VV; 12-27-2016 at 07:38 PM.
|
|
|
All times are GMT -5. The time now is 11:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|