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

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

Post by Jose Gilberto Torr » Fri, 01 Aug 2003 00:41:52



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

 
 
 

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

Post by Harry Pott » Thu, 14 Aug 2003 05:51:12



Quote:> 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.

[snip]

Quote:> gr_UnixImage.cpp:21:17: png.h: No such file or directory

You seem to need "png".
Do a web search for that, install it, and try again.

 
 
 

1. Anyone successfully compile ytalk on Solaris 2.3 machine?

Hi,

I tried to compile ytalk version 3.2 on my Sparc 10 running Solaris 2.3.
The compilation bombed when it couldnt find the symbols sigblock,sigmask,
and sigsetmask.  I'm no C programmer but from what I can tell, these
symbols are only present in the /usr/ucbinclude version of signal.h, and
not in the Solaris 2.3 signal.h.  I don't have the /usr/ucb/cc compiler
installed, but I do have the SunPro C 3.0 compiler.  How can I make
this compile?  Or, anybody know where an executable can be found?

Thanks in advance,

Ira

--
Ira Nydick                              
MANE Department UCLA        lab phone: (310)206-0898

2. rsh path

3. anyone successfully compiled 'expect' ???

4. Desktop wraps horizontally

5. Anyone compile Satan on 1.2.13 successfully?

6. Changing password from Pcnfspro 2.0

7. MH-6.8 compiled with gcc under Solaris2.1 Anyone done it successfully?

8. Term and trsh - won't give me shell

9. Anyone successfully compiled/installed "xvnews" on Linux?

10. Has anyone compiled NCSA HTTPD 1.4 successfully???

11. has anyone successfully compiled 3.0.3?

12. Has anyone successfully compiled Xarchie 1.2 on AIX 3.2?

13. Anyone successfully compiled MUMAIL 2.3b???