More update problems: netpbm

Richard B. Pyne rpyne at kinfolk.org
Thu Mar 4 21:04:22 CET 2010


On 3/4/2010 4:53 AM, Dennis Veatch wrote:
> 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 for all your work on this, but I still get the same error. I even 
tried to install svgalib to get past this, but it fails also with:

--------------------------------------------------------------
gcc -Wall -Wstrict-prototypes -fPIC -I/usr/src/svgalib-1.4.3/include -I. 
-I/usr/src/svgalib-1.4.3/src -I/usr/src/svgalib-1.4.3/src/config -Wall 
-Wstrict-prototypes -fPIC -I/usr/src/svgalib-1.4.3/include -I.  -O2 
-march=native -pipe  -DSVGALIB_CONFIG_FILE=\"/etc/vga/libvga.config\" 
-DALLOW_MOUSE_OVERRIDE -DET4000_REGS=\"/etc/vga/libvga.et4000\" 
-DDYNAMIC -c -o lrmi.o /usr/src/svgalib-1.4.3/src/lrmi.c
/usr/src/svgalib-1.4.3/src/lrmi.c: In function 'set_regs':
/usr/src/svgalib-1.4.3/src/lrmi.c:309: error: 'IF_MASK' undeclared 
(first use in this function)
/usr/src/svgalib-1.4.3/src/lrmi.c:309: error: (Each undeclared 
identifier is reported only once
/usr/src/svgalib-1.4.3/src/lrmi.c:309: error: for each function it 
appears in.)
/usr/src/svgalib-1.4.3/src/lrmi.c:309: error: 'IOPL_MASK' undeclared 
(first use in this function)
/usr/src/svgalib-1.4.3/src/lrmi.c: In function 'run_vm86':
/usr/src/svgalib-1.4.3/src/lrmi.c:788: error: 'VIF_MASK' undeclared 
(first use in this function)
/usr/src/svgalib-1.4.3/src/lrmi.c:788: error: 'TF_MASK' undeclared 
(first use in this function)
/usr/src/svgalib-1.4.3/src/lrmi.c: In function '__svgalib_LRMI_int':
/usr/src/svgalib-1.4.3/src/lrmi.c:877: error: 'IF_MASK' undeclared 
(first use in this function)
/usr/src/svgalib-1.4.3/src/lrmi.c:877: error: 'IOPL_MASK' undeclared 
(first use in this function)
make[1]: *** [lrmi.o] Error 1
make[1]: Leaving directory `/usr/src/svgalib-1.4.3/sharedlib'
make: *** [sharedlib/libvga.so.1.4.3] Error 2
-------------------------------------------------------------------------



More information about the Lunar mailing list