Compiling 1.8.3 on Solaris 8

Charles Gagnon charlesg at unixrealm.com
Thu May 22 16:08:46 CDT 2003


Thanks for the tips Derek, it got me a little further. I had to use:

  CPPFLAGS=-D_nl_domain_bindings=libintl_nl_domain_bindings

But I get more errors down the line now. Is it my setup that is
making it trickier to compile on Solaris? 

I thought by 1.8.3, the major hurdles would be cleared and I would
just have to upgrade whatever dependencies where missing and compile
gnucash. 

[...]
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.  -I../..   -D_nl_domain_bindings=libintl_nl_domain_bindings -I/usr/local/include -I../../lib/libc -I../../src/gnc-module -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I /usr/local/include/g-wrap  -g -O2 -Wall -Wunused   -Werror -c Transaction.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -D_nl_domain_bindings=libintl_nl_domain_bindings -I/usr/local/include -I../../lib/libc -I../../src/gnc-module -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I /usr/local/include/g-wrap -g -O2 -Wall -Wunused -Werror -c Transaction.c  -fPIC -o .libs/Transaction.o
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.  -I../..   -D_nl_domain_bindings=libintl_nl_domain_bindings -I/usr/local/include -I../../lib/libc -I../../src/gnc-module -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I /usr/local/include/g-wrap  -g -O2 -Wall -Wunused   -Werror -c date.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -D_nl_domain_bindings=libintl_nl_domain_bindings -I/usr/local/include -I../../lib/libc -I../../src/gnc-module -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I /usr/local/include/g-wrap -g -O2 -Wall -Wunused -Werror -c date.c -fPIC -o .libs/date.o
cc1: warnings being treated as errors
date.c: In function `dateSeparator':
date.c:643: warning: subscript has type `char'
date.c: In function `gnc_iso8601_to_timespec':
date.c:706: warning: subscript has type `char'
date.c:706: warning: subscript has type `char'
make[4]: *** [date.lo] Error 1
make[4]: Leaving directory `/usr/local/src/gnucash-1.8.3/src/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/gnucash-1.8.3/src/engine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gnucash-1.8.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gnucash-1.8.3'
make: *** [all-recursive-am] Error 2

On Thu, May 22, 2003 at 01:44:10PM -0400, Derek Atkins wrote:
[...]
> Ok, this is what I was getting... What you should do is run:
> 
>         nm /usr/local/lib/libintl.a | grep nl_domain_bindings
> 
> And then use the CPPFLAGS=-D_nl_domain_bindings=XXX  (where XXX is the
> GLOBal definition you found in libintl.a
> 
> -derek
> 

-- 
Charles Gagnon                   | My views are my views and they
http://unixrealm.com             | do not represent those of anybody
charlesg at unixrealm.com        | but me.

   Women:  You can't live with'em, you can't shoot'em.
        -- Stephen Wright


More information about the gnucash-devel mailing list