Unix Technical Forum

Using autotools.. help!

This is a discussion on Using autotools.. help! within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I've also posted it in gnu.utils.help, but with only 120 messages there, I thought the friendly gentoo-community would be ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 06:12 AM
Glen Vermeylen
 
Posts: n/a
Default Using autotools.. help!

I've also posted it in gnu.utils.help, but with only 120 messages there,
I thought the friendly gentoo-community would be more helpful , so
here goes:

I hate to ask this question, but I've really searched (a LOT) for/into
documentation on automake/autoconf/autoscan/header/..... .
But all docs seem to assume you already understand which tool does what.
After many hours of searching/reading/giving up I'm only getting a vague
idea which tool does what, never mind how to use it.
Is there anywhere a tutorial which uses something a bit more advanced
than a "hello world" and shows from beginning to end how to configure it
for final deployment with a simple "./configure && make && make install"?
I'm used to programming in windows with dev-cpp, I know the basics of
Makefiles, but now under linux I think emacs & gnu tools are the way to go.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 06:12 AM
Anno v. Heimburg
 
Posts: n/a
Default Re: Using autotools.. help!

Glen Vermeylen wrote:
> I hate to ask this question, but I've really searched (a LOT) for/into
> documentation on automake/autoconf/autoscan/header/...


Here are the original docs. That's how I learned it (searched long enough
for more beginner-friendly stuff, but no). Have fun*:

http://www.gnu.org/software/autoconf/manual/
http://www.gnu.org/software/automake/manual/
http://www.gnu.org/software/libtool/manual.html

Anno.

*) Certain amount of sarcasm may be contained in this phrase


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 06:12 AM
Glen Vermeylen
 
Posts: n/a
Default Re: Using autotools.. help!

Anno v. Heimburg wrote:
> Glen Vermeylen wrote:
>
>>I hate to ask this question, but I've really searched (a LOT) for/into
>>documentation on automake/autoconf/autoscan/header/...

>
>
> Here are the original docs. That's how I learned it (searched long enough
> for more beginner-friendly stuff, but no). Have fun*:
>
> http://www.gnu.org/software/autoconf/manual/
> http://www.gnu.org/software/automake/manual/
> http://www.gnu.org/software/libtool/manual.html
>
> Anno.
>
> *) Certain amount of sarcasm may be contained in this phrase
>
>

Aarghl, those are the ones I don't understand
Everywhere they say: it reads this, uses that, outputs this, checks
for.., requires...,...
But no-where a why!


..... After a few hours I saw this unsent newspost...
Status-update:
Although I've gotten automake to create makefiles twice in a row I still
don't understand how it works. The first time it just worked after
fiddling long enough... the second time it kept complaining about
AM_INIT_AUTOMAKE not used in configure.ac (it was, btw), but then using
aclocal-1.7 and automake-1.7 it gave an completely new error, I added
the missing AC_PROG_CXX to configure.ac, ran all the tools again and my
makefile's were created... I still don't know how... but they're there .
So not only is it a hell to learn, but I have to be careful of which
version I should use.

Next problem :
for this wx-windows project g++ needs flags `wx-config --cxxflags` for
the object files and `wx-config --libs` for the resulting executable.
Where and how do I put them? Slowly but steadily we're getting there ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 06:12 AM
Glen Vermeylen
 
Posts: n/a
Default Re: Using autotools.. help!

I must be getting the hand of this autotools-thingie; the autogenerated
files from KDevelop are starting to make sence.

Whell.. the rest is for another day. Tomorrow VB.NET exams :$. nn
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 06:12 AM
Peter Jensen
 
Posts: n/a
Default Re: Using autotools.. help!

Glen Vermeylen wrote:

>> Here are the original docs. That's how I learned it (searched long
>> enough for more beginner-friendly stuff, but no). Have fun*:
>>
>> http://www.gnu.org/software/autoconf/manual/
>> http://www.gnu.org/software/automake/manual/
>> http://www.gnu.org/software/libtool/manual.html

>
> Aarghl, those are the ones I don't understand Everywhere they say:
> it reads this, uses that, outputs this, checks for.., requires...,...
> But no-where a why!


Try http://sources.redhat.com/autobook

I haven't read it myself, but googling indicated that this might just be
the good book on the subject. I'm definitely giving it a read, later
on.

--
PeKaJe

I'm going to Vietnam at the request of the White House. President
Johnson says a war isn't really a war without my jokes. -- Bob Hope
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:27 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com