Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80375 - emerge error: media-libs/imlib-1.9.14-r3 failed, configure error: GIF header not found
Summary: emerge error: media-libs/imlib-1.9.14-r3 failed, configure error: GIF header ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 12:28 UTC by Randy Barlow
Modified: 2005-02-01 19:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The error log. (config.log,14.85 KB, text/plain)
2005-02-01 12:30 UTC, Randy Barlow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Barlow 2005-02-01 12:28:30 UTC
I first ran emerge --sync and that worked fine (seemingly).  I then tried to emerge --update --deep --newuse world.  I started the update around 12 am this morning, and it just gave me this error around now (3:00 pmish).  Here's what it said on my screen:

...
configure: error: ***GIF header not found ***

!!Please attach the config.log to your bug report:
!! /var/tmp/portage/imlib-1.9.14-r3/work/imlib-1.9.14/config.log

!! ERROR: media-libs/imlib-1.9.14-r3 failed.
!! Function econf, Line 485, Exitcode 0
!! econf failed
...

The contents of the config.log are as follows:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:750: checking for a BSD compatible install
configure:803: checking whether build environment is sane
configure:860: checking whether make sets ${MAKE}
configure:906: checking for working aclocal
configure:919: checking for working autoconf
configure:932: checking for working automake
configure:945: checking for working autoheader
configure:958: checking for working makeinfo
configure:974: checking for gcc
configure:1087: checking whether the C compiler (gcc -O3 -march=pentium3 -pipe ) works
configure:1103: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:1129: checking whether the C compiler (gcc -O3 -march=pentium3 -pipe ) is a cross-compiler
configure:1134: checking whether we are using GNU C
configure:1143: gcc -E conftest.c
configure:1162: checking whether gcc accepts -g
configure:1205: checking for Cygwin environment
configure:1221: gcc -c -O3 -march=pentium3 -pipe  conftest.c 1>&5
configure: In function `main':
configure:1217: error: `__CYGWIN32__' undeclared (first use in this function)
configure:1217: error: (Each undeclared identifier is reported only once
configure:1217: error: for each function it appears in.)
configure: failed program was:
#line 1210 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1238: checking for mingw32 environment
configure:1250: gcc -c -O3 -march=pentium3 -pipe  conftest.c 1>&5
configure: In function `main':
configure:1246: error: `__MINGW32__' undeclared (first use in this function)
configure:1246: error: (Each undeclared identifier is reported only once
configure:1246: error: for each function it appears in.)
configure: failed program was:
#line 1243 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1267: checking how to run the C preprocessor
configure:1288: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1422: checking host system type
configure:1443: checking build system type
configure:1472: checking for ld used by GCC
configure:1540: checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld
GNU ld version 2.15.92.0.2 20040927
configure:1557: checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files
configure:1569: checking for BSD-compatible nm
configure:1607: checking whether ln -s works
configure:1628: checking how to recognise dependant libraries
configure:1805: checking for object suffix
configure:1811: gcc -c -O3 -march=pentium3 -pipe  conftest.c 1>&5
configure:1831: checking for executable suffix
configure:1841: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:1872: checking command to parse /usr/bin/nm -B output
configure:1952: gcc -c -O3 -march=pentium3 -pipe  conftest.c 1>&5
configure:1955: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
configure:2006: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c conftstm.o 1>&5
configure:2055: checking for dlfcn.h
configure:2065: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2233: checking for ranlib
configure:2300: checking for strip
configure:2543: checking for objdir
configure:2570: checking for gcc option to produce PIC
configure:2722: checking if gcc PIC flag -fPIC works
configure:2736: gcc -c -O3 -march=pentium3 -pipe -fPIC -DPIC  conftest.c 1>&5
configure:2788: checking if gcc static flag -static works
configure:2803: gcc -o conftest -O3 -march=pentium3 -pipe   -static conftest.c  1>&5
configure:2830: checking if gcc supports -c -o file.o
configure:2849: gcc -c -O3 -march=pentium3 -pipe -o out/conftest2.o  conftest.c 1>&5
configure:2878: checking if gcc supports -c -o file.lo
configure:2896: gcc -c -O3 -march=pentium3 -pipe -c -o conftest.lo  conftest.c 1>&5
configure:2946: checking if gcc supports -fno-rtti -fno-exceptions
configure:2959: gcc -c -O3 -march=pentium3 -pipe -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
configure:2986: checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries
configure:3671: checking how to hardcode library paths into programs
configure:3699: checking whether stripping libraries is possible
configure:3713: checking dynamic linker characteristics
configure:4114: checking if libtool supports shared libraries
configure:4118: checking whether to build shared libraries
configure:4141: checking whether to build static libraries
configure:4677: checking whether -lc should be explicitly linked in
configure:4684: gcc -c -O3 -march=pentium3 -pipe  conftest.c 1>&5
configure:4697: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep  -lc  >/dev/null 2>&1
configure:5280: checking whether to enable maintainer-specific portions of Makefiles
configure:5362: checking for gtk-config
configure:5397: checking for GTK - version >= 1.2.1
configure:5498: gcc -o conftest -O3 -march=pentium3 -pipe -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm  1>&5
configure:5585: checking whether to build gmodulized imlib
configure:5629: gcc -o conftest -O3 -march=pentium3 -pipe -I/usr/include/glib-1.2 -I/usr/lib/glib/include   conftest.c  -L/usr/lib -rdynamic -lgmodule -lglib -ldl 1>&5
configure:5686: checking for ANSI C header files
configure:5699: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:5766: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:5794: checking for dirent.h that defines DIR
configure:5807: gcc -c -O3 -march=pentium3 -pipe  conftest.c 1>&5
configure:5832: checking for opendir in -ldir
configure:5851: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c -ldir   1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 5840 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:5915: checking for sys/wait.h that is POSIX.1 compatible
configure:5936: gcc -c -O3 -march=pentium3 -pipe  conftest.c 1>&5
configure:5958: checking return type of signal handlers
configure:5980: gcc -c -O3 -march=pentium3 -pipe  conftest.c 1>&5
configure:6002: checking for vsnprintf
configure:6030: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:6014: warning: conflicting types for built-in function `vsnprintf'
configure:6057: checking for snprintf
configure:6085: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:6069: warning: conflicting types for built-in function `snprintf'
configure:6112: checking for basename
configure:6140: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:6168: checking for blumfrub
configure:6196: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
/var/tmp/portage/imlib-1.9.14-r3/temp/ccJJs4Gc.o(.text+0xa): In function `main':
: undefined reference to `blumfrub'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6173 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char blumfrub(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char blumfrub();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_blumfrub) || defined (__stub___blumfrub)
choke me
#else
blumfrub();
#endif

; return 0; }
configure:6223: checking for buckets_of_erogenous_nym
configure:6251: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
/var/tmp/portage/imlib-1.9.14-r3/temp/cc44q74o.o(.text+0xa): In function `main':
: undefined reference to `buckets_of_erogenous_nym'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6228 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char buckets_of_erogenous_nym(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char buckets_of_erogenous_nym();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_buckets_of_erogenous_nym) || defined (__stub___buckets_of_erogenous_nym)
choke me
#else
buckets_of_erogenous_nym();
#endif

; return 0; }
configure:6278: checking for buttox
configure:6306: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
/var/tmp/portage/imlib-1.9.14-r3/temp/cc9zIyLD.o(.text+0xa): In function `main':
: undefined reference to `buttox'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6283 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char buttox(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char buttox();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_buttox) || defined (__stub___buttox)
choke me
#else
buttox();
#endif

; return 0; }
configure:6333: checking for stdarg.h
configure:6343: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6370: checking for string.h
configure:6380: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6403: checking for strings.h
configure:6413: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6440: checking for X
configure:6583: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c -lXt  1>&5
configure:6754: checking for dnet_ntoa in -ldnet
configure:6773: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c -ldnet   1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 6762 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:6795: checking for dnet_ntoa in -ldnet_stub
configure:6814: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c -ldnet_stub   1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 6803 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:6843: checking for gethostbyname
configure:6871: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:6941: checking for connect
configure:6969: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:7033: checking for remove
configure:7061: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:7125: checking for shmat
configure:7153: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c  1>&5
configure:7226: checking for IceConnectionNumber in -lICE
configure:7245: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c -lICE   1>&5
configure:7277: checking for XShmAttach in -lXext
configure:7296: gcc -o conftest -O3 -march=pentium3 -pipe   conftest.c -lXext   1>&5
configure:7377: checking for sys/ipc.h
configure:7387: gcc -E  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I${prefix}/include -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:7414: checking for sys/shm.h
configure:7424: gcc -E  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I${prefix}/include -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:7462: checking whether shmctl IPC_RMID allowes subsequent attaches
configure:7493: gcc -o conftest -O3 -march=pentium3 -pipe  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I${prefix}/include -I/usr/include  conftest.c  1>&5
configure:7513: checking X11/extensions/XShm.h
configure:7533: checking for jpeg_destroy_decompress in -ljpeg
configure:7552: gcc -o conftest -O3 -march=pentium3 -pipe  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I${prefix}/include -I/usr/include  conftest.c -ljpeg -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm  1>&5
configure:7576: checking for jpeglib.h
configure:7586: gcc -E  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I${prefix}/include -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:7612: checking for TIFFReadScanline in -ltiff
configure:7631: gcc -o conftest -O3 -march=pentium3 -pipe  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I${prefix}/include -I/usr/include  conftest.c -ltiff -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm  1>&5
configure:7648: checking for tiffio.h
configure:7658: gcc -E  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I${prefix}/include -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:7847: checking for gif_lib.h
configure:7857: gcc -E  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I${prefix}/include -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:7853:21: gif_lib.h: No such file or directory
configure: failed program was:
#line 7852 "configure"
#include "confdefs.h"
#include <gif_lib.h>


Reproducible: Always
Steps to Reproduce:
1. emerge --update --deep --newuse world
2.
3.

Actual Results:  
I got the exact same error as I previously described.

Expected Results:  
I expected the emerge to finish the rest of the packages as well, instead of 
failing and exiting.

It's a P3 800 MHz, with 384 MB of RAM and a 30 GB HD (2.5 GB free).  I had 
nothing but normal system processes running (I was in run level 3 with the 
command prompt screen, i.e., X11 wasn't even running.)  Thanks for your help!
Comment 1 Randy Barlow 2005-02-01 12:30:43 UTC
Created attachment 50167 [details]
The error log.
Comment 2 Randy Barlow 2005-02-01 19:20:38 UTC
I did some more searching, and was able to resolve the problem by executing "emerge giflib".  Apparently, I was just missing the gif_lib.h header, and so this fixed the problem!