More update problems: netpbm

Dennis Veatch dennisveatch at bellsouth.net
Thu Mar 4 12:53:55 CET 2010


On Tuesday 02 March 2010 10:31:58 pm Richard B. Pyne wrote:
> On 3/2/2010 6:56 PM, Dennis Veatch wrote:
> > On Tuesday 02 March 2010 7:48:16 pm Dennis Veatch wrote:
> >> On Tuesday 02 March 2010 1:31:13 pm Richard B. Pyne wrote:
> >>> On 3/2/2010 11:18 AM, Dennis Veatch wrote:
> >>>> On Tuesday 02 March 2010 1:11:02 pm Richard B. Pyne wrote:
> >>>>> --------------------------------------
> >>>>> In file included from pamx.c:18:
> >>>>> ximageinfo.h:4:22: error: X11/Xlib.h: No such file or directory
> >>>>> In file included from pamx.c:18:
> >>>>> ximageinfo.h:13: error: expected specifier-qualifier-list before
> >>>>> 'Display' ximageinfo.h:23: warning: struct has no members
> >>>>> In file included from pamx.c:21:
> >>>>> window.h:17: error: expected declaration specifiers or '...' before
> >>>>> 'Display'
> >>>>> pamx.c:164: error: expected ')' before '*' token
> >>>>> pamx.c:264: error: expected declaration specifiers or '...' before
> >>>>> 'Display' -------------------------------------
> >>>>> 
> >>>>> Installing X on this machine is not an option.
> >>>>> 
> >>>>> _______________________________________________
> >>>> 
> >>>> Please try replacing this line in the BUILD;
> >>>> 
> >>>> /usr/X11R6/lib/libX11.so
> >>>> 
> >>>> with a blank line, relin, and post back to let me know how it went. I
> >>>> do not have a box available without X installed.
> >>> 
> >>> It made no difference, I still get the same errors. This is a fairly
> >>> recent problem as I updated to netpbm version 10.26.63 on 20090828
> >>> without any problem.
> >>> 
> >>> --Richard
> >> 
> >> My bad. Replace  /usr/X11R6/lib/libX11.so with the word "none" (without
> >> the quotes).
> >> 
> >> Dennis
> >> _______________________________________________
> > 
> > There is a newer version available, so this module has been bumped and
> > made a few changes to the BUILD, plus added a CONFIGURE. It seems to
> > work as expected here when saying "n"; as in there is no X11LIB present
> > in the Makefile.config. As mentioned, no non-X11 box here. So if this
> > does not work for you, let me know.
> 
> Well, that did fix that problem, but exposed another:
> 
> --------------------------------------------------------------
> ppmsvgalib.c:14:17: error: vga.h: No such file or directory
> ppmsvgalib.c: In function 'displayImage':
> ppmsvgalib.c:121: warning: implicit declaration of function
> 'vga_setrgbcolor'
> ppmsvgalib.c:122: warning: implicit declaration of function 'vga_drawpixel'
> ppmsvgalib.c: In function 'display':
> ppmsvgalib.c:176: error: 'vga_modeinfo' undeclared (first use in this
> function)
> ppmsvgalib.c:176: error: (Each undeclared identifier is reported only once
> ppmsvgalib.c:176: error: for each function it appears in.)
> ppmsvgalib.c:176: error: 'modeinfo' undeclared (first use in this function)
> ppmsvgalib.c:178: warning: implicit declaration of function
> 'vga_getmodeinfo'
> ppmsvgalib.c:212: warning: implicit declaration of function 'vga_setmode'
> ppmsvgalib.c:214: warning: implicit declaration of function 'vga_screenoff'
> ppmsvgalib.c:216: warning: implicit declaration of function 'vga_getxdim'
> ppmsvgalib.c:217: warning: implicit declaration of function 'vga_getydim'
> ppmsvgalib.c:221: warning: implicit declaration of function 'vga_setcolor'
> ppmsvgalib.c:221: warning: implicit declaration of function 'vga_white'
> ppmsvgalib.c:222: warning: implicit declaration of function 'vga_drawline'
> ppmsvgalib.c:227: warning: implicit declaration of function 'vga_screenon'
> ppmsvgalib.c:237: error: 'TEXT' undeclared (first use in this function)
> ppmsvgalib.c: In function 'main':
> ppmsvgalib.c:254: warning: implicit declaration of function 'vga_init'
> ppmsvgalib.c:270: warning: implicit declaration of function 'vga_hasmode'
> make[1]: *** [ppmsvgalib.o] Error 1
> make[1]: Leaving directory `/usr/src/netpbm-10.35.72/other'
> make: *** [other/all] Error 2
> Creating /var/log/lunar/compile/netpbm-10.35.72.bz2
> ! Problem detected during BUILD
> ---------------------------------------------------------------------------
> --
> 
> Thanks,
> 
> --Richard

It looks like you do not have svgalib installed and the BUILD script as it is 
right now should ignore that; the last set of "none" and "default" are the two 
associated with svgalib. 

I cannot duplicate that problem here. However, I have made another change to 
its BUILD. Hopefully that will fix this issue. At the top of the hour grab 
another moonbase.

Thanks
Dennis


More information about the Lunar mailing list