| Summary: | sci-geosciences/mapserver-4.10.0-r1 can't find gd.h or libgd.a/libgd.so libraries when emerge mapserver | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sasha Shkrebets <sasha> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | config.log attach | ||
This is NOT a Gentoo Bugzilla product bug; read the descriptions please. (In reply to comment #0) > !!! Please attach the following file when filing a report to bugs.gentoo.org: > !!! > /var/tmp/portage/sci-geosciences/mapserver-4.10.0-r1/work/mapserver-4.10.0/config.log Also emerge --info is missing. Created attachment 128074 [details]
config.log attach
attached config.log for needed information
emerge --info Portage 2.1.2.11 (default-linux/x86/2006.1, gcc-3.3.6, glibc-2.3.6-r4, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 Timestamp of tree: Mon, 13 Aug 2007 22:30:01 +0000 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.3 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache cvs distlocks loadpolicy metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv imap ipv6 isdnlog libwww maildir mailman midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php php-mod postfix ppds pppd python readline reflection sasl session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY emerge --info Portage 2.1.2.11 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 17 Aug 2007 23:00:01 +0000 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.3 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache cvs distlocks loadpolicy metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv imap ipv6 isdnlog libwww maildir mailman mapserver midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php php-mod postfix ppds pppd python readline reflection sasl session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib zope" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY *** This bug has been marked as a duplicate of bug 170556 *** |
same problem even try to build mapserver manualy, same with mapservers version 4.10.2 and mapserver 5 beta3 ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-gdal --with-perl --with-python --without-ruby --without-tcl --without-proj --without-postgis --without-tiff --without-pdf --without-ming --without-java --with-httpd=/usr/sbin/apache2 --with-freetype --with-php=/usr/lib/php5/include/php --with-mapscript --build=i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for exp in -lm... yes checking for __gxx_personality_v0 in -lstdc++... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strdup... yes checking for strlcat... no checking for vsnprintf... yes MapServer Version from map.h: '4.10.0' configure: checking where FreeType 2.x is installed... checking for freetype-config... /usr/bin/freetype-config using libfreetype from -lfreetype -lz checking for FT_Init_FreeType in -lfreetype... yes using libfreetype -lfreetype from system libs. configure: checking where Zlib is installed... using runtime libz from -L/lib -lz configure: checking where PNG is installed... checking for png_init_io in -lpng... yes using libpng from system libs. configure: checking whether we should include JPEG support... checking for jpeg_read_header in -ljpeg... yes using libjpeg from system libs. configure: checking where libXpm is installed... checking for XpmFreeXpmImage in -lXpm... yes using libXpm from system libs. configure: checking where libiconv is installed... checking for iconv_open in -lc... yes checking for libiconv_open in -liconv... yes using libiconv from system libs. libiconv found. Enabling internationalization (-DUSE_ICONV) configure: checking for GD 2.0.16 or higher... checking for gdFontCacheSetup in -lgd... no configure: checking whether GD needs libiconv... checking for gdFontCacheSetup in -lgd... no checking for gdFontCacheSetup in -lgd... (cached) no configure: checking whether GD needs libiconv... checking for gdFontCacheSetup in -lgd... no configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/local. Make sure GD 2.0.16 or higher is compiled before calling configure. You may also get this error if you didn't specify the appropriate location for one of GD's dependencies (freetype, libpng, libjpeg or libiconv). !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/sci-geosciences/mapserver-4.10.0-r1/work/mapserver-4.10.0/config.log !!! ERROR: sci-geosciences/mapserver-4.10.0-r1 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile mapserver-4.10.0-r1.ebuild, line 144: Called econf '--without-gdal' '--with-perl' '--with-python' '--without-ruby' '--without-tcl' '--without-proj' '--without-postgis' '--without-tiff' '--without-pdf' '--without-ming' '--without-java' '--with-httpd=/usr/sbin/apache2' '--with-freetype' '--with-php=/usr/lib/php5/include/php' '--with-mapscript' ebuild.sh, line 578: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sci-geosciences/mapserver-4.10.0-r1/temp/build.log'. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info cei mapserver-5.0.0-beta3 # whereis gd.h gd: /usr/include/gd.h cei mapserver-5.0.0-beta3 # whereis libgd.a libgd: /usr/lib/libgd.a /usr/lib/libgd.la /usr/lib/libgd.so cei mapserver-5.0.0-beta3 # Reproducible: Always