f



Compiling Abiword: Has anyone successfully compile it on Solaris 9?

Hello,
I was wondering if anyone has able to build Abiword 1.0.6 on Solaris
9?  So far it keep bombing on compiling the wv libararies.  I "hacked"
the build by adding the lastest sources of the wv libarary and moving
the Makefile.abi into the source.  That got me further but now I get
this big error message.

make[2]: Entering directory
`/home/jogee/abiword-1.0.6/abi/src/af/gr/unix'
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Gnome:Off
LibXML:Off Ps
pell:Off Scripting:Off].
gr_UnixImage.cpp:
<command line>:13:1: warning: "_XOPEN_SOURCE" redefined
<built-in>:66:1: warning: this is the location of the previous
definition
gr_UnixImage.cpp:21:17: png.h: No such file or directory
In file included from /usr/sfw/include/gtk-1.2/gdk/gdktypes.h:39,
                 from /usr/sfw/include/gtk-1.2/gdk/gdk.h:31,
                 from gr_UnixImage.h:23,
                 from gr_UnixImage.cpp:23:
/usr/sfw/include/glib-1.2/glib.h:1308:23: warning: ISO C does not
permit named v
ariadic macros
/usr/sfw/include/glib-1.2/glib.h:1311:25: warning: ISO C does not
permit named v
ariadic macros
/usr/sfw/include/glib-1.2/glib.h:1314:26: warning: ISO C does not
permit named v
ariadic macros
/usr/sfw/include/glib-1.2/glib.h:1317:25: warning: ISO C does not
permit named v
ariadic macros
gr_UnixImage.cpp:54: error: `png_structp' was not declared in this
scope
gr_UnixImage.cpp:54: error: parse error before `,' token
gr_UnixImage.cpp: In function `void _png_read(...)':
gr_UnixImage.cpp:56: error: `png_ptr' undeclared (first use this
function)
gr_UnixImage.cpp:56: error: (Each undeclared identifier is reported
only once
   for each function it appears in.)
gr_UnixImage.cpp:56: error: `png_get_io_ptr' undeclared (first use
this
   function)
gr_UnixImage.cpp:59: error: `data' undeclared (first use this
function)
gr_UnixImage.cpp:59: error: `length' undeclared (first use this
function)
gr_UnixImage.cpp: At global scope:
gr_UnixImage.cpp:63: error: parse error before `,' token
gr_UnixImage.cpp: In function `void _png_write(...)':
gr_UnixImage.cpp:65: error: `png_get_io_ptr' undeclared (first use
this
   function)
gr_UnixImage.cpp: At global scope:
gr_UnixImage.cpp:70: error: `png_structp' was not declared in this
scope
gr_UnixImage.cpp:71: error: variable or field `_png_flush' declared
void
gr_UnixImage.cpp:71: error: syntax error before `{' token
gr_UnixImage.cpp: In member function `virtual bool
   GR_UnixImage::convertToBuffer(UT_ByteBuf**) const':
gr_UnixImage.cpp:112: error: parse error before `;' token
gr_UnixImage.cpp:113: error: `png_infop' undeclared (first use this
function)
gr_UnixImage.cpp:116: error: `PNG_LIBPNG_VER_STRING' undeclared (first
use this

   function)
gr_UnixImage.cpp:116: error: `png_voidp' undeclared (first use this
function)
gr_UnixImage.cpp:116: error: parse error before numeric constant
gr_UnixImage.cpp:119: error: `info_ptr' undeclared (first use this
function)
gr_UnixImage.cpp:119: error: `png_create_info_struct' undeclared
(first use
   this function)
gr_UnixImage.cpp:122: error: `setjmp' undeclared (first use this
function)
gr_UnixImage.cpp:125: error: `png_infopp' undeclared (first use this
function)
gr_UnixImage.cpp:125: error: parse error before numeric constant
gr_UnixImage.cpp:132: error: `png_set_write_fn' undeclared (first use
this
   function)
gr_UnixImage.cpp:142: error: `PNG_COLOR_TYPE_RGB' undeclared (first
use this
   function)
gr_UnixImage.cpp:143: error: `PNG_INTERLACE_NONE' undeclared (first
use this
   function)
gr_UnixImage.cpp:144: error: `PNG_COMPRESSION_TYPE_BASE' undeclared
(first use
   this function)
gr_UnixImage.cpp:145: error: `PNG_FILTER_TYPE_BASE' undeclared (first
use this
   function)
gr_UnixImage.cpp:145: error: `png_set_IHDR' undeclared (first use this
   function)
gr_UnixImage.cpp:148: error: `png_write_info' undeclared (first use
this
   function)
gr_UnixImage.cpp:185: error: `png_write_rows' undeclared (first use
this
   function)
gr_UnixImage.cpp:196: error: `png_write_end' undeclared (first use
this
   function)
gr_UnixImage.cpp:199: error: parse error before numeric constant
gr_UnixImage.cpp: In member function `bool
   GR_UnixImage::_convertPNGFromBuffer(const UT_ByteBuf*, int, int)':
gr_UnixImage.cpp:234: error: parse error before `;' token
gr_UnixImage.cpp:236: error: `png_uint_32' undeclared (first use this
function)
gr_UnixImage.cpp:240: error: `png_create_read_struct' undeclared
(first use
   this function)
gr_UnixImage.cpp:248: error: `png_create_info_struct' undeclared
(first use
   this function)
gr_UnixImage.cpp:251: error: parse error before numeric constant
gr_UnixImage.cpp:259: error: `setjmp' undeclared (first use this
function)
gr_UnixImage.cpp:262: error: parse error before numeric constant
gr_UnixImage.cpp:272: error: `png_set_read_fn' undeclared (first use
this
   function)
gr_UnixImage.cpp:277: error: `png_read_info' undeclared (first use
this
   function)
gr_UnixImage.cpp:279: error: `width' undeclared (first use this
function)
gr_UnixImage.cpp:279: error: `height' undeclared (first use this
function)
gr_UnixImage.cpp:280: error: `png_get_IHDR' undeclared (first use this
   function)
gr_UnixImage.cpp:285: error: `png_set_packing' undeclared (first use
this
   function)
gr_UnixImage.cpp:288: error: `png_set_expand' undeclared (first use
this
   function)
gr_UnixImage.cpp:292: error: `png_set_strip_16' undeclared (first use
this
   function)
gr_UnixImage.cpp:295: error: `png_set_gray_to_rgb' undeclared (first
use this
   function)
gr_UnixImage.cpp:298: error: `png_set_strip_alpha' undeclared (first
use this
   function)
gr_UnixImage.cpp:301: error: `png_set_interlace_handling' undeclared
(first use

   this function)
gr_UnixImage.cpp:314: error: parse error before numeric constant
gr_UnixImage.cpp:329: error: `png_read_rows' undeclared (first use
this
   function)
gr_UnixImage.cpp:334: error: `png_read_end' undeclared (first use this
   function)
gr_UnixImage.cpp:337: error: parse error before numeric constant
make[2]: *** [/home/jogee/abiword-1.0.6/abi/src/af/../../src/SunOS_5.9_sun4m_OBJ
/obj/gr_UnixImage.o] Error 1
make[2]: Leaving directory
`/home/jogee/abiword-1.0.6/abi/src/af/gr/unix'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/jogee/abiword-1.0.6/abi/src/af/gr'
make: *** [build] Error 2


Thanks in advance!  

Jose
0
jogeedaklown69
7/30/2003 3:41:52 PM
comp.unix.solaris 26025 articles. 2 followers. Post Follow

0 Replies
543 Views

Similar Articles

[PageSpeed] 15

Reply: