LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Poll: Do you understand autotools?
Poll Options
Do you understand autotools?

You must log in and have one post to vote in this poll. If you don't have an account, you can register here.
Results will be available after the polls close.

The nominees are:

Can hack all the config files and write my own macros.
Use it regularly in projects but haven't the foggest how it works.
I tried once but couldn't figure it out.
Haven't even tried it yet.
What's autotools?

Reply
 
Search this Thread
Old 03-20-2012, 09:23 AM   #16
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Ubuntu; PNE-LE; LFS (no book)
Posts: 594

Rep: Reputation: 102Reputation: 102

Quote:
Originally Posted by ta0kira View Post
Certainly the developer needs those things, but if you make dist then the package will include configure, etc. and auto* won't need to be run again for it to work. If you're building from a repo and not from an archive intended for distribution, that's entirely different from what I was talking about in my previous post. And you've essentially just expressed a tautology: If the project uses autotools then you might need autotools installed to work on the project. You could say the same thing about flex/bison: If I write a parser and don't put the generated sources in the repo then of course you'll have to generate them, but that's not the fault of the tools.
Kevin Barry
I don't understand what we're discussing? I merely thought I was expressing those things required to use autotools? Just as it's true that the auto-generated parser code doesn't always work correctly (think - version differences for flex/bison, although they are probably much rarer), the generated ./configure doesn't always work correctly (I had problems recently with the ircd-seven ./configure on my ubuntu system). In those cases, without the complete package we cannot even hope to build the system. My point remains valid - if a project depends on autotools, it depends on autotools, and everything that autotools depends on.

I'm not saying that this is a BAD or GOOD thing (which implies value).

It's merely a fact.
 
Old 03-20-2012, 06:19 PM   #17
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Quote:
Originally Posted by orgcandman View Post
I don't understand what we're discussing? I merely thought I was expressing those things required to use autotools? Just as it's true that the auto-generated parser code doesn't always work correctly (think - version differences for flex/bison, although they are probably much rarer), the generated ./configure doesn't always work correctly (I had problems recently with the ircd-seven ./configure on my ubuntu system). In those cases, without the complete package we cannot even hope to build the system. My point remains valid - if a project depends on autotools, it depends on autotools, and everything that autotools depends on.

I'm not saying that this is a BAD or GOOD thing (which implies value).

It's merely a fact.
Yes, this is obviously an argument about nothing. Developer vs. end-user requirements; you're discussing one, I'm discussing the other.

Even with my own projects, I have to autoreconf pretty much every time I check out a repo that has a configure generated using another auto* version. And yes, that's just to build something that already builds somewhere else. Somehow make dist magically takes care of that for the archive, however.
Kevin Barry
 
  


Reply


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
Help me understand how cryptsetup works and confirm it can't be used with GParted... xtiansimon Linux - Software 2 07-20-2011 04:51 PM
[SOLVED] understand how traffic control tc works ano Linux - Kernel 2 01-18-2011 06:55 AM
Newbie,ppc64: a problem with portage, trying to understand how gentoo works NoWone Gentoo 1 12-28-2009 06:50 PM
Does anyone understand why the audio works, but will not come through my TV? maestro52 Fedora 1 12-15-2009 08:00 PM
autotools sergio21 Programming 1 01-16-2007 02:53 AM


All times are GMT -5. The time now is 10:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration