Re: [GD-DEVEL] Re: Cannot build GD with autoconf 2.57
[email protected] (Lars Hecking)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
Nathan Vander Wilt writes: [...] > >I'm rubbish when it comes to Makefiles and autoconf, but I found a > >tip on a forum that suggested I try: > > autoreconf -f -i > > > >which leads to several errors of "require version 1.7, but have 1.6.3" > > > > In a stunning turn of events, I was able to get GD to compile, using > that tip plus a little hacking on the "Makefile.am"s. > > Starting with a fresh package: > > STEP 1: (patch three Makefile.am files) > I first had to change "AUTOMAKE_OPTIONS = foreign 1.7" to > "AUTOMAKE_OPTIONS = foreign 1.6" In these files: Wrong "fix". The error message is clear. The makefiles use automake features only available from automake 1.7 on. The correct fix is to install a copy of the automake 1.7 or newer, preferably the latest (1.10). You should install it in your home directory or under /usr/local, not replace the existing version in /usr as other parts of the system might rely on it.