GD is an open source code library for the dynamic creation of images by programmers. GD is written in C, and “wrappers” are available for Perl, PHP and other languages. GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web, the most common applications of GD involve web site development.
See the GD website for more informations.
FS#124 — configure script failure. Unable to build
Opened by Bob Atkins (bobatkins) - Monday, 15 October 2007, 01:09 GMT+2
Last edited by Pierre Joye (Pierre) - Thursday, 25 October 2007, 12:27 GMT+2
|
DetailsOS: Solaris 2.8 configure script failure. Unable to build Everything was going fine until the very end of the configure scipt: config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands cd . && /bin/bash /db/src/gd/gd-2.0.35_64bit/config/missing –run aclocal-1.9 -I config aclocal:configure.ac:64: warning: macro `AM_ICONV’ not found in library cd . && /bin/bash /db/src/gd/gd-2.0.35_64bit/config/missing –run automake-1.9 –foreign Makefile.am:18: Libtool library used but `LIBTOOL’ is undefined Makefile.am:18: Makefile.am:18: The usual way to define `LIBTOOL’ is to add `AC_PROG_LIBTOOL’ Makefile.am:18: to `configure.ac’ and run `aclocal’ and `autoconf’ again. make: * [Makefile.in] Error 1 cd . && /bin/bash /db/src/gd/gd-2.0.35_64bit/config/missing –run automake-1.9 –foreign cd . && /bin/bash /db/src/gd/gd-2.0.35_64bit/config/missing –run autoconf configure.ac:46: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:64: error: possibly undefined macro: AM_ICONV make: * [configure] Error 1 make: *** Waiting for unfinished jobs.... Makefile.am:18: Libtool library used but `LIBTOOL’ is undefined Makefile.am:18: Makefile.am:18: The usual way to define `LIBTOOL’ is to add `AC_PROG_LIBTOOL’ Makefile.am:18: to `configure.ac’ and run `aclocal’ and `autoconf’ again. |
View Dependency Graph
I have to find a way to test on Solaris. I sadly have no access to a solaris hosts.
It may help a lot if you can provide a temporary ssh access.
I tried to build on Scientific Linux 44 with many of my own modifications. I got the same error. I outcommented AM_ICONV in the configure.ac and ran "make" again; it ran autoconf and then reconfigured the sourcetree.
After that the build finished and install was easy.
I'm struggling with a similar thing. I am tying to build on a Linux 64bit platform and get the following upon running make
server218: make cd . && /bin/sh /nfs/team57/ajb/dev/gd-2.0.35/config/missing –run aclocal-1.9 -I config /usr/share/aclocal/tcl.m4:20: warning: underquoted definition of SC_PATH_TCLCONFIG
/usr/share/aclocal/tcl.m4:124: warning: underquoted definition of SC_PATH_TKCONFIG /usr/share/aclocal/tcl.m4:228: warning: underquoted definition of SC_LOAD_TCLCONFIG /usr/share/aclocal/tcl.m4:295: warning: underquoted definition of SC_LOAD_TKCONFIG /usr/share/aclocal/tcl.m4:333: warning: underquoted definition of SC_ENABLE_SHARED /usr/share/aclocal/tcl.m4:373: warning: underquoted definition of SC_ENABLE_FRAMEWORK /usr/share/aclocal/tcl.m4:424: warning: underquoted definition of SC_ENABLE_THREADS /usr/share/aclocal/tcl.m4:560: warning: underquoted definition of SC_ENABLE_SYMBOLS /usr/share/aclocal/tcl.m4:617: warning: underquoted definition of SC_ENABLE_LANGINFO /usr/share/aclocal/tcl.m4:669: warning: underquoted definition of SC_CONFIG_MANPAGES /usr/share/aclocal/tcl.m4:805: warning: underquoted definition of SC_CONFIG_CFLAGS /usr/share/aclocal/tcl.m4:1901: warning: underquoted definition of SC_SERIAL_PORT /usr/share/aclocal/tcl.m4:2030: warning: underquoted definition of SC_MISSING_POSIX_HEADERS /usr/share/aclocal/tcl.m4:2111: warning: underquoted definition of SC_PATH_X /usr/share/aclocal/tcl.m4:2196: warning: underquoted definition of SC_BLOCKING_STYLE /usr/share/aclocal/tcl.m4:2261: warning: underquoted definition of SC_TIME_HANDLER /usr/share/aclocal/tcl.m4:2338: warning: underquoted definition of SC_BUGGY_STRTOD /usr/share/aclocal/tcl.m4:2400: warning: underquoted definition of SC_TCL_LINK_LIBS /usr/share/aclocal/tcl.m4:2476: warning: underquoted definition of SC_TCL_EARLY_FLAG /usr/share/aclocal/tcl.m4:2488: warning: underquoted definition of SC_TCL_EARLY_FLAGS /usr/share/aclocal/tcl.m4:2520: warning: underquoted definition of SC_TCL_64BIT_FLAGS /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB cd . && /bin/sh /nfs/team57/ajb/dev/gd-2.0.35/config/missing –run automake-1.9 –foreign Makefile.am:18: Libtool library used but `LIBTOOL' is undefined Makefile.am:18: Makefile.am:18: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:18: to `configure.ac' and run `aclocal' and `autoconf' again. make: *** [Makefile.in] Error 1
Any help in this matter would be appreciated. Sorry if this is the wrong forum to raise this on.
Cheers
Andy Brown
It may be related to a mistake I made in the 2.0.35 release. The configure script was not actualized (checksum did not match) and it forced itself to be regenerated and re-run before make can be run. We are about to pack 2.0.36RC1, it would be nice if you can try it (to be released tomorrow or Friday).
OK, thanks for the update. I'll be glad to re-test when the new release is available.
Hi Donald,
About this error, one possible solution is to install the gettext package, it has the AM_ICONV macro. See the bug #134.
please try using:
http://pierre.libgd.org/gd-2.0.36RC1.tar.gz
It is not yet officially release but I like to get this issue solved before. Thanks for your effort!
I tried 2.0.36RC1 using Solaris Developer Edition. Configure went well but got a fatal error on the libgd.a target. I have to investigate a little more. I suspect that I'm missing some headers for the dependencies (libraries). Solaris SDE is a Sun OS 5.11, as far as I can tell :)
I forgot to post a link to the RC1:
http://www.libgd.org/releases/
headers are present, no idea yet what's going wrong.
Can you give it a try using RC1 please?
Some informations about the possible error (make fails or libucb missing/not found):
Add /usr/ccs/bin to your PATH:
call configure using:
2.0.36RC1 runs now smoothly on this "Solaris Express, Developer edition" install.