LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2015, 06:29 AM   #1
HalfMadDad
Member
 
Registered: Jun 2010
Location: Canada
Distribution: Slackware, systemd-garbage
Posts: 143

Rep: Reputation: 9
configure in multiple directories, dumb idea ?


Hi Everyone

Autotools is certainly powerful and widespread, no one can argue that it is not a huge success. However it has a lot of haters and as someone learning to use autotools, I can say I am not a huge fan.

You may have read "recursive make considered harmful", having a toplevel makefile calling makefiles in sub-directories is a source of controversy.

So far this thread is just troll bait, please don't troll, please keep this friendly

What I really want to ask is, if anyone has heard of splitting an autotools set up into multiple directories?

Do you think it would be too much to ask a user to call ./configure && make, 2 or 3 times in different directories and then call ./configure, make, make install in another ?

This would be really weird but it would split large configure.ac and makefile.am files into smaller pieces and with lots of comments it might invite more people to read them and debug them. It might avoid the recursive makefile topic too.

On the downside there could be a lot of redundancy as each configure script might end up looking for a core library that another configure script has already found.

Sorry for more troll bait but it seems to me that bugs linger for years as we report them to people, who report them to other people but the number of people that can fix them is too limited. Build systems are a source of complexity and breaking that complexity down might open the possibility that more people could pitch in and help. Asking people to call configure a bunch of times is annoying but it would also make it easy to find out where things bombed and an optional toplevel shell script could help.

This is a strange post but do you think the idea of have multiple configure scripts has any merit ?

-Patrick

Last edited by HalfMadDad; 05-01-2015 at 06:31 AM.
 
Old 05-01-2015, 07:19 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
I write my own Makefiles. Had to look up what you meant by autotools. Yeah OK, I've always known of them and have never used them.

Maybe ask the gnu folks whether or not they have any plans? I'm sure their stuff is open source, perhaps grab hold of it and start staging your changes. Start small and then grow until you get closer to what you wish to see and then see if they'll accept, or at the very least, you'll have incremental changes to their base where you can built it your way. If they update the tools, you'll be ready to revise their next version of code unless they totally change the architecture. Doubtful they would though, probably just churning out bug fixes at this point.
 
Old 05-01-2015, 07:39 AM   #3
HalfMadDad
Member
 
Registered: Jun 2010
Location: Canada
Distribution: Slackware, systemd-garbage
Posts: 143

Original Poster
Rep: Reputation: 9
Hi rtmistler

I am not smart enough to improve autotools !

I was just talking about using it in a different way.

Have a great day
 
  


Reply

Tags
autotools


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
[SOLVED] Mount directories to multiple /home directories? the ber Linux - Newbie 5 08-15-2013 06:14 AM
Bash Question(for loop): How to Zip multiple files under multiple directories Znrall Linux - General 2 08-01-2012 01:52 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
dumb newbie question about renaming directories Lleb_KCir Linux - General 2 10-26-2004 08:37 PM
DVD burner in a 600MHz PIII Box - Dumb idea? thosm Linux - Hardware 4 04-01-2004 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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