LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-27-2016, 09:45 AM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
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
Quote:
../configure
How do you run a configure.ac file?
 
Old 12-27-2016, 09:57 AM   #2
BW-userx
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

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by eco_bach View Post
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.
 
Old 12-27-2016, 10:00 AM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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?
 
Old 12-27-2016, 10:09 AM   #4
BW-userx
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

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by MensaWater View Post
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.
 
Old 12-27-2016, 07:32 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
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.
 
  


Reply

Tags
configure, mtp


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
Making a .run file run for a printer driver run? natslo26 Linux - Newbie 3 04-05-2015 09:17 AM
.run file for download or another file that can help to open and/or run downloads Dazzill Linux - Newbie 4 04-12-2013 02:28 PM
i want to install one program and while i run ./configure file i receive an error k84834 Linux - Software 2 08-11-2012 03:14 AM
Can't Configure Or run Make file Pretzels Linux - Software 4 01-26-2005 10:29 AM
rp-pppoe configure file can't run jimesh Linux - Networking 1 08-03-2004 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:00 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
Open Source Consulting | Domain Registration