Subject: pkg/25206: gnustep-gui will not compile
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <sageev@usc.edu>
List: pkgsrc-bugs
Date: 04/17/2004 02:48:04
>Number:         25206
>Category:       pkg
>Synopsis:       gnustep-gui will not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 17 02:49:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sageev George
>Release:        non-root pkgsrc on Solaris 8
>Organization:
University of Southern California
>Environment:
SunOS hipnet36.usc.edu 5.8 Generic_108528-25 sun4u sparc SUNW,Sun-Blade-1000 Solaris
>Description:
Compiling ends with a missing header file followed by many undeclared variable errors, all of which probably are related to the missing header (gif_lib.h)

===> Building for gnustep-gui-0.9.2
Making all in Source...
gmake[1]: Entering directory `/export/home/hipnet36-00/sageev/pattern/tmp/x11/gnustep-gui/work.sparc/gnustep-gui-0.9.2/Source'
Making all for library libgnustep-gui...
 Compiling file NSBitmapImageRep+GIF.m ...
NSBitmapImageRep+GIF.m:39:21: warning: gif_lib.h: No such file or directory
NSBitmapImageRep+GIF.m:66: error: parse error before '*' token
NSBitmapImageRep+GIF.m: In function `gs_gif_input':
NSBitmapImageRep+GIF.m:71: error: `file' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:71: error: (Each undeclared identifier is reported only once
NSBitmapImageRep+GIF.m:71: error: for each function it appears in.)
NSBitmapImageRep+GIF.m:75: error: `len' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:86: error: `buffer' undeclared (first use in this function)
NSBitmapImageRep+GIF.m: In function `+[NSBitmapImageRep(GIFReading) _bitmapIsGIF:]':
NSBitmapImageRep+GIF.m:119: error: `GifFileType' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:119: error: `file' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:127: warning: implicit declaration of function `DGifOpen'
NSBitmapImageRep+GIF.m:136: warning: implicit declaration of function `DGifCloseFile'
NSBitmapImageRep+GIF.m: In function `-[NSBitmapImageRep(GIFReading) _initBitmapFromGIF:errorMessage:]':
NSBitmapImageRep+GIF.m:175: error: `GifFileType' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:175: error: `file' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:176: error: `GifRecordType' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:176: error: parse error before "recordType"
NSBitmapImageRep+GIF.m:177: error: `GifByteType' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:177: error: `extension' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:178: error: `GifPixelType' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:178: error: `imgBuffer' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:179: error: `imgBufferPos' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:183: error: `ColorMapObject' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:183: error: `colorMap' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:184: error: `GifColorType' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:184: error: `color' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:222: warning: implicit declaration of function `DGifGetRecordType'
NSBitmapImageRep+GIF.m:222: error: `recordType' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:222: error: `GIF_OK' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:225: error: `IMAGE_DESC_RECORD_TYPE' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:227: warning: implicit declaration of function `DGifGetImageDesc'
NSBitmapImageRep+GIF.m:249: warning: implicit declaration of function `DGifGetLine'
NSBitmapImageRep+GIF.m:268: error: `EXTENSION_RECORD_TYPE' undeclared (first use in this function)
NSBitmapImageRep+GIF.m:271: warning: implicit declaration of function `DGifGetExtension'
NSBitmapImageRep+GIF.m:274: warning: implicit declaration of function `DGifGetExtensionNext'
NSBitmapImageRep+GIF.m:279: error: `TERMINATE_RECORD_TYPE' undeclared (first use in this function)
gmake[2]: *** [shared_obj/NSBitmapImageRep+GIF.o] Error 1
gmake[1]: *** [libgnustep-gui.all.library.variables] Error 2
gmake[1]: Leaving directory `/export/home/hipnet36-00/sageev/pattern/tmp/x11/gnustep-gui/work.sparc/gnustep-gui-0.9.2/Source'
gmake: *** [internal-all] Error 2
*** Error code 2

Stop.
bmake: stopped in /home/bmsrs-07/sageev/hipnet36/pattern/pkgsrc/x11/gnustep-gui
*** Error code 1

Stop.
bmake: stopped in /home/bmsrs-07/sageev/hipnet36/pattern/pkgsrc/x11/gnustep-gui

>How-To-Repeat:
running "bmake" in pkgsrc/x11/gnustep-gui directory
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: