Buy used:
$2.29
$3.98 delivery July 22 - 23. Details
Or fastest delivery Thursday, July 18. Details
Used: Very Good | Details
Condition: Used: Very Good
Comment: Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc...
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Gnu Autoconf, Automake and Libtool 1st Edition

3.4 3.4 out of 5 stars 16 ratings

If you are a developer and are looking to participate in the Open Source development growth area you will need to learn new Open Source tools. GNU autoconf, GNU automake and GNU libtool are key tools for Open Source application development. These tools are not easy to learn, so some of the leading authorities on these tools have agreed to work together on this book to teach developers how to boost their productivity and the portability of their application. This book place New Riders/MTP at the center of the Open Source development community. Autoconf, Automake and Libtool is an efficient discourse on the use of autoconf, automake and libtool aimed at reducing the steep learning curve normally associated with these tools. This is a study guide to the interactions between the tools, and how best to get them to cooperate. If you are a developer and have no GNU build environment expertise, this book will help you develop these tools completely and confidently.


Amazon First Reads | Editors' picks at exclusive prices

Editorial Reviews

Amazon.com Review

The success of "open-source" software is dependent on programmers around the world being able to develop software that runs on many flavors of Unix and Linux. The GNU autoconf, automake, and libtool "autotools" are powerful tools that simplify writing software on different platforms. GNU Autoconf, Automake, and Libtool is a technically adept and expert guide to using these utilities effectively. Any C/C++ or script programmer who writes software under Unix/Linux will want to have a copy of this book to make better use of these powerful and sometimes obscurely documented tools.

This text is filled with the nuts-and-bolts details of running these three utilities, including command-line switches and the actual, generated files that automate the build process and help programmers port code between different environments. As such, this title will be appreciated by those at their workstations who want a hands-on guide to using the autotools.

There's a danger of missing the forest for the trees here, with all of this necessary detail, but the middle sections of this book pull back a little with several useful chapters on the bigger picture of code "portability." Chapters on both C and C++ portability explore language features that likely will cause trouble when code is moved between different versions of Unix (or even between Unix and Windows). A similar section also discusses the issues when developing portable shell scripts.

Readers will appreciate also sections that are devoted to actual source code that's built with the autotools. Starting out simply, the authors also provide examples of more complex source-code modules (including projects that make use of dynamic loading and cross-platform builds). The genius of the autotools utilities is certainly in the details of command-line switches, and the expert tips that are offered here. But it's good also to get a perspective on why you use these tools, and what they do for the working Unix developer.

By covering both the nitty-gritty and the higher level issues of "portability" in a broader sense, this title succeeds as both a hands-on reference and as a guide to understanding how to write more portable code generally. It'll be a virtual must-have for any serious Unix C/C++ programmer. Although it's not a book you necessarily read from cover to cover, it's chock-full of useful advice that can save considerable time for anyone who writes software for Unix and Linux. --Richard Dragan

Topics covered:

    1. Introduction and history of Unix and configuration tools
    2. The configure tool
    3. Makefile and dependencies
    4. GNU autotools used for a simple program
    5. Porting options and configure.in
    6. Bootstrapping techniques
    7. Comprehensive introduction to the GNU libtool utility (building and linking options)
    8. Using libtool with configure.in andmakefile.am
    9. A larger GNU autotools project
    10. Distributing files in tarballs
    11. Installing and uninstalling packages
    12. Strategies and tips for writing portable C code with the GNU autotools (including data types, cross-Unix and Unix/Windows portability issues)
    13. Guide to C++ portability (includes issues with variable scoping, exceptions, template, and the Standard Template Library)
    14. Dynamic loading and the GNU libltdll tool
    15. Advanced automake tips
    16. A complex GNU autotools example (including dynamic linking)
    17. Introduction to M4 (the underlying language of the autotools)
    18. Script portability issues for the Bourne shell and its variants
    19. Cygnus's Cygwin and the GNU autotools
    20. Cross-compilation techniques
    21. Reference for installing the GNU autotools

Review

A useful resource for portability information, tips, and issues, it documents time-tested methods for solid coding which are rarely written down anywhere. -- Jason Molenda, Technical Yahoo, Yahoo!

These highly regarded experts in the use of Autoconf have provided information that is both authoritative and up to date. --
Ross Johnson, Software Services Manager, University of Canberra, Australia

This book stands a level above the software packages, giving the expertise of its authors in using this whole system to its fullest. --
David Mackenzie, Principle designer and author of Autoconf

Product details

  • Publisher ‏ : ‎ Sams; 1st edition (January 1, 2000)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 432 pages
  • ISBN-10 ‏ : ‎ 1578701902
  • ISBN-13 ‏ : ‎ 978-1578701902
  • Item Weight ‏ : ‎ 3.53 ounces
  • Dimensions ‏ : ‎ 6 x 0.75 x 9 inches
  • Customer Reviews:
    3.4 3.4 out of 5 stars 16 ratings

Customer reviews

3.4 out of 5 stars
3.4 out of 5
16 global ratings

Top reviews from the United States

Reviewed in the United States on October 26, 2009
The GNU build system comprises the GNU utility programs Autoconf, Automake, and Libtool, and are well covered in this book. Other related tools frequently used with the GNU build system are GNU's make program, GNU gettext, pkg-config, and the GNU Compiler Collection, also called GCC, but they are not covered in this book.

This book will be very useful if you are a novice in the GNU build system. You can read the book from first to last page, to get the confidence in such a perplexing system. We have read this book with my team mate and it was a great starting point for us. Since that, the book was of little use for us. But it was worth its price.
Reviewed in the United States on April 13, 2003
As a guide to Gnu autoconf, automake and libtool, this book is quite useless. It is utterly and totally disorganized, and much essential information is just not there at all. There is amazingly little in the way of examples. So don't bother with it if you want to learn about any of those subjects. The book is not entirely without merit, however. Its redeeming features are scattered sensible comments about software portability and software architecture.

The authors are obviously very knowledgable and experienced about software. I encourage them to "throw this one away" and try a rewrite from scratch. Short of that, they could provide a road map through their book; first read this chapter, then skip to the second half of that one, etc.

The sad news is that there may not be any good guide to autoconf etc anywhere yet. Like the DNA in your body, all autoconf files are very likely descended by an evolutionary process from a few original viable specimens.
18 people found this helpful
Report
Reviewed in the United States on February 19, 2010
Zero stars is my actual rating!
This book "GNU Autoconf, Automake, and Libtool" should come with the above WARNING.
I bought this book expecting some solutions. Zilch!
$30+ in the trash can.
My advice: don't waste your money and time like I did.
The book publisher bears some responsibility for continuing to print this useless book.
I've been waiting for the new John Calcote book to be released. The release date keeps changing.
2 people found this helpful
Report
Reviewed in the United States on October 18, 2000
I totally agree with the reviewer: if you want to do some development in Open Source Project, this book will build a solid base for you. For one example, PHP4 is a very popular server side scripting language and it uses all these great tools to make build process straightforward.
Cheers!
2 people found this helpful
Report
Reviewed in the United States on December 5, 2003
if you had three books on the GNU build system and were ready to delve into the arcane details, this would be an excellent book.
if you are looking to learn how to use automake and autoconf to manage a small to midsized project, this book is worthless. the authors jump from the basics to esoteric problem cases and back frequently, and there is no help for those who do not already know the system well.
20 people found this helpful
Report
Reviewed in the United States on August 9, 2006
Agree absolutely with others saying "authors jump from the basics to esoteric problem cases and back frequently", "much essential information is just not there at all" and "an unorganized mess". Within book's almost 400 pages you will find neither bird's eye concept overview nor answers to specific questions. At least I found neither for I didn't have time or will to read cover to cover through all of the irrelevant stuff (that prevails) and as a reference the book is totally useless. This is that nasty sort of books that spend pages and pages on discussing different "schools of thought" (authors' being superior, naturally) and elementary knowledge hardly relevant to the subject, then all of a sudden jumping into some years lasting arguing with their community opponents, leaving the reader to guess about basic technical things. The overall style when writing about tecnalities is quite careless. A huge disappointment.
5 people found this helpful
Report
Reviewed in the United States on January 5, 2002
In the end, this book is the best on the subject. There are others but they fail miserably in cross platform support. If this is what you are looking for, then this is what you need.
2 people found this helpful
Report
Reviewed in the United States on May 28, 2001
... I bought this book with the hope that random shunks of information that I already knew would be pieced together in a coherent story, based on a good foundation. Unfortunately, I found this book to be a complete unorganized mess, totally lacking a logical structure. The number of references to later chapters for essential information are just impossible to count. Concepts are suddenly used without any explanation. For me, this looked like a book written by an expert for other experts. Two stars because it is the only one available about the subject.
10 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Stefan Hundhammer
4.0 out of 5 stars The tutorial the online docs lack
Reviewed in Germany on November 19, 2004
This book is a supplement to the info pages about the GNU autotools (autoconf, automake, libtool). It is not intended as a replacement for the info pages, even though it covers a lot what is described there, too.
The emphasis is on how the tools work together and how to solve real world problems using the tools. In that respect this book is really invaluable - the info pages cover each tool rather independently which is not what most users need.
Since that book is not the reference manual it also skips unimportant things and all the pathological cases the info pages are cluttered with. Well - make that "most of the pathological cases" - I never expected nor do I intend to create shared libs on HP-UX (which seems to be a real sick system in this regard), yet this book explains those quirks in great detail. But most of this is to convince the reader about the usefulness of "libtool" and why its handling has to be that inconvenient at times.
The know-how level the author expects from his readers is tough at times: In-depth knowledge about shell programming, compiler and linker invocation etc. sometimes is expected. The author seldom wastes time explaing every little detail of shell commands he enters; rather, he often includes logs of shell sessions and expects the reader to figure out on his own what happens. Depending on the invididual skill level this can be a curse (for newbies) or a blessing (for experienced Linux/Unix developers).
Strangely enough, the author explains how simple makefiles works in one of the few chapters. But that might have been when he decided not to write a 1,500 pages moster book and keep the rest considerably more concise. ;-)
The author (who by the way is the author of "libtool" as well) keeps extending one example project from chapter to chapter. Unfortunately sometimes he gets totally carried away with the details of this project; there are quite some pages that can easily be skipped.
But there are other pure gems in this book: Sections about portable shell programming (when you have a stone age pure Bourne shell rather than a GNU bash), portable usage of Unix/Linux header files (BSD vs. SysV etc.) and even quirks of some kinds of compilers. This may be irelevant to many of us, but most people working on GNU projects which need to run on less featureful variants of Unix will find this useful.
There is also a chapter about M4 macro processor programming that convinced me I'll never do this if I don't absolutely have to (that's because of M4, not of this book), a chapter about CygWin programming (the POSIX API on Win32 systems) and cross compiling using the autotools.
Bottom line:
It's a very useful book, but it's just a starting point that will point you in the right direction - and where to find more information. It's well worth its money and the time for reading it, but it will (and cannot) be enough to fully understand all the details. But since it is currently the only book on the subject, it is also automatically the best one. ;-)
3 people found this helpful
Report
どいち
4.0 out of 5 stars configureスクリプトをつくりたいならこの本
Reviewed in Japan on May 11, 2002
プログラムを書き、そのソフトウェアを配布したいと考えた場合、ソースコードごと配布するのが一般的です。しかし、プラットフォームごとのコンパイラ、基本プログラムの動作の差異が、移植性に制限をかけることがたびたび起こります。
その問題を避けるためにシステムごとの差異を吸収するconfigureスクリプトを生成するAutoconfとその派生ツールはつくられました。
この本は、Autoconfの使い方を通して、移植性の高いソフトウェアを書く指針も示しています。
オープンソースのUnix系プログラマは必読です。
4 people found this helpful
Report
Gerhard Wallner
4.0 out of 5 stars Kompendium für linux builds
Reviewed in Germany on December 13, 2022
Etwas veraltet aber noch nützlich.
勘太郎
3.0 out of 5 stars ここのレビューはすべて正しい
Reviewed in Japan on June 30, 2018
以上です。

この手の和書(洋書)は、ほぼ世の中に存在せず、各種調査の際、いくら時代おくれで古くても、
どうしても入手し、調査する必要があります。

あと、こういったツールの著者(元著者)はたいていライティングを知らず、自分の知っているすべての知識を
おとぎ話を語るのと同じ手法で綴るので、ものすごくいらいらするほど読みにくいです。

ですが、現行のGNUの解説も相変わらずに同様に読みにくく、和書も存在しないので、参考としては
役に立ちました(結局、自分自身用のプライベート簡易仕様書を書いている最中ですが)。

付録Cの依存関係のグラフが一番役に立ちました。買う価値はこれだけでしょう。
One person found this helpful
Report