make problems on solaris8 (here we go again...)
Derek Atkins
warlord at MIT.EDU
Thu Jul 3 10:55:23 CDT 2003
I will note that this very much be a GCC 3.3 problem and not a GnuCash
problem. Just like DBD 4.1, GCC 3.3 is "just too new" for our code.
Is there any chance you could downgrade your GCC to 3.2?
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/include/libintl.h:46: error:
> parse error before "const"
So, what is at (or around) line 46 in this file? Can you supply lines
44-47? I suspect there is a missing include file, but I'm not sure
what. I've compiled with gcc3.0 and gcc3.2 on solaris 5.8 and 5.9 without
this problem..
-derek
"Gerlich, Rene" <Rene.Gerlich at commerzbank.com> writes:
> hi derek,
>
> of course you are right, i was not using gnu make. well i am now and it
> walks throu almost all the way!
>
> here's another little problem i can't help myself out with:
>
> make[5]: Entering directory
> `/export/download/gnucash/gnucash-1.8.4/src/business/business-ledger'
> /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../../.. -I/usr/local/BerkeleyDB.4.1/include -I/opt/gnome/include
> -I/opt/gnome/include -I../../../src/business/business-core
> -I../../../src/business/business-utils
> -I../../../src/business/dialog-tax-table -I../../../src
> -I../../../src/engine -I../../../src/gnc-module -I../../../src/app-utils
> -I../../../src/gnome-utils -I../../../src/register/register-core
> -I/opt/gnome/include -I/opt/gnome/include/gnome-xml
> -I/opt/gnome/include/libglade-1.0 -I/opt/gnome/include/gtk-1.2
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
> -I/usr/openwin/include -I/opt/gnome/include/gtk-1.2
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
> -I/usr/openwin/include -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
> -I/opt/gnome/lib/gnome-libs/include -I/opt/gnome/include/orbit-1.0
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -g -O2 -Wall
> -Wunused -c gncEntryLedgerModel.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/BerkeleyDB.4.1/include
> -I/opt/gnome/include -I/opt/gnome/include
> -I../../../src/business/business-core -I../../../src/business/business-utils
> -I../../../src/business/dialog-tax-table -I../../../src
> -I../../../src/engine -I../../../src/gnc-module -I../../../src/app-utils
> -I../../../src/gnome-utils -I../../../src/register/register-core
> -I/opt/gnome/include -I/opt/gnome/include/gnome-xml
> -I/opt/gnome/include/libglade-1.0 -I/opt/gnome/include/gtk-1.2
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
> -I/usr/openwin/include -I/opt/gnome/include/gtk-1.2
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
> -I/usr/openwin/include -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
> -I/opt/gnome/lib/gnome-libs/include -I/opt/gnome/include/orbit-1.0
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -g -O2 -Wall
> -Wunused -c gncEntryLedgerModel.c -fPIC -o .libs/gncEntryLedgerModel.o
> In file included from /usr/include/locale.h:51,
> from ../../../src/app-utils/gnc-ui-util.h:36,
> from gncEntryLedgerModel.c:15:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/include/libintl.h:46: error:
> parse error before "const"
> make[5]: *** [gncEntryLedgerModel.lo] Error 1
> make[5]: Leaving directory
> `/export/download/gnucash/gnucash-1.8.4/src/business/business-ledger'
>
> i have looked at libintl.h which is part of my (and probably everyones ;-)
> gcc 3.3 installation and i found it is probably related to gettext and my
> locale which is standard LANG=C but again if i knew what i was talking
> about, i would not bother you...
>
> looks like i am almost through though. i wonder if i'll be able to reproduce
> what i have done to make this compilation work ;-) i'll set up a naked
> solaris next time and document more of what i'm doing.
>
> cheers
>
> rene
>
>
> > -----Original Message-----
> > From: Derek Atkins [mailto:warlord at MIT.EDU]
> > Sent: Wednesday, July 02, 2003 5:37 PM
> > To: Gerlich, Rene
> > Cc: gnucash-user at lists.gnucash.org
> > Subject: Re: make problems on solaris8 (here we go again...)
> >
> >
> > Are you using Gnu Make? If not, well, you need to ;)
> > If you ARE using Gnu Make, then I'd like to see your
> > "examples/Makefile".
> >
> > -derek
> >
> > "Gerlich, Rene" <Rene.Gerlich at commerzbank.com> writes:
> >
> > > cheers everyone!
> > >
> > > well, finally the ./configure on my solaris8 box works!
> > thanks to derek!
> > >
> > > now the bugger hangs during make (see below)
> > >
> > > make all-recursive
> > > Making all in intl
> > > Making all in m4
> > > Making all in macros
> > > Making all in debian
> > > Making all in doc
> > > Making all in examples
> > > rm -f gnc-prices.1.tmp
> > > sed < > gnc-prices.1.tmp \
> > > -e 's:@-VERSION-@:1.8.4:g' \
> > > -e 's:@-DATE-@::g'
> > > sh: syntax error at line 1: `>' unexpected
> > > *** Error code 2
> > > make: Fatal error: Command failed for target `gnc-prices.1'
> > > Current working directory /export/download/gnucash/gnucash-1.8.4/doc
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `all-recursive'
> > > Current working directory /export/download/gnucash/gnucash-1.8.4/doc
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `all-recursive'
> > > Current working directory /export/download/gnucash/gnucash-1.8.4
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `all-recursive-am'
> > >
> > > i have enabled --disable-error-on-warning so it won't exit
> > right away (maybe
> > > not so smart?)
> > >
> > > i would be very thankful if anyone (maybe derek ;-) knows a
> > way out here. if
> > > you need more data (configure output, make output,
> > environment, ...) please
> > > let me know
> > >
> > > cheers
> > >
> > > rene
> > >
> > > _______________________________________________
> > > gnucash-user mailing list
> > > gnucash-user at lists.gnucash.org
> > > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> >
> > --
> > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > Member, MIT Student Information Processing Board (SIPB)
> > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> > warlord at MIT.EDU PGP key available
> >
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-user
mailing list