I have tried compiling ghostpcl 1.52 and 1.41 on a Centos 5.2 Linux system with gcc-4.1.2-42.el5 with the following failure each time. I have tried changing the -O2 flag in ugcc_top.mak to -O with no difference. This program is critical to our application so any help would be appreciated greatly. This is the 'tail end' of the make result: ../gs/src/gdevx.c:1251: warning: statement with no effect ../gs/src/gdevx.c:1254: error: ‘gc_ptr_element_t’ has no member named ‘x†™ ../gs/src/gdevx.c:1254: error: ‘gc_ptr_element_t’ has no member named ‘y†™ ../gs/src/gdevx.c:1254: warning: left-hand operand of comma expression has no ef fect ../gs/src/gdevx.c:1254: warning: statement with no effect ../gs/src/gdevx.c:1260: error: ‘gc_ptr_element_t’ has no member named ‘wid th’ ../gs/src/gdevx.c:1260: error: ‘gc_ptr_element_t’ has no member named ‘hei ght’ ../gs/src/gdevx.c:1260: warning: left-hand operand of comma expression has no ef fect ../gs/src/gdevx.c:1260: warning: statement with no effect ../gs/src/gdevx.c:1261: error: invalid lvalue in increment ../gs/src/gdevx.c:1261: warning: statement with no effect ../gs/src/gdevx.c:1271: error: request for member ‘foreground’ in something not a structure or union make[2]: *** [obj/gdevx.o] Error 1 make[2]: Leaving directory `/tmp/ghostpdl-1.52/main' make[1]: *** [pdl-product] Error 2 make[1]: Leaving directory `/tmp/ghostpdl-1.52/main' make: *** [pcl] Error 2
Make sure you have the X11 development packages installed. Otherwise I can't say what's wrong without seeing more of the log.
Thanks for the advice, Ralph. That did the trick! I normally install the X devel pkgs as a matter of course but obviously missed it this time. Once again, we greatly appreciate the time and effort you folks have put into making this program available. Regards, Larry