make problems on solaris8 (here we go again...)
Gerlich, Rene
Rene.Gerlich at commerzbank.com
Thu Jul 3 18:22:39 CDT 2003
configure finds no working libintl.h
i'll try your CPPFLAGS from below now...
> -----Original Message-----
> From: Derek Atkins [mailto:warlord at MIT.EDU]
> Sent: Thursday, July 03, 2003 4:53 PM
> To: Gerlich, Rene
> Cc: 'gnucash-user at lists.gnucash.org'
> Subject: Re: make problems on solaris8 (here we go again...)
>
>
> "Gerlich, Rene" <Rene.Gerlich at commerzbank.com> writes:
>
> >
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/include/libint
> l.h is part of
> > the gcc-3.3 package i had installed from www.sunfreeware.com
> >
> > i have another libintl.h in /usr/include which is part of
> SUNWhea (SunOS
> > header files - solaris8 core) and is in its original state.
> the two files
> > are different in four lines.
> >
> > i now use gcc-3.2.1 and added --with-included-gettext (does
> that help?)
> >
> > lets so what happens
> >
> > cheers
> >
> > rene
>
> Ok. You might want to check your config.log and make sure it's
> actually finding a "working" libintl.a...
>
> -derek
>
> > > Another question: is configure finding your libintl.a? A problem
> > > I had on solaris is that it was NOT finding the
> (external) libintl.
> > > I needed to add the following to CPPFLAGS during configure:
> > >
> > > CPPFLAGS=-DD_nl_domain_bindings=libintl_nl_domain_bindings
> > >
> > > In order to get it to properly find libintl.. Otherwise
> I got a bunch
> > > of other errors. However you seem to have progressed much
> > > further than
> > > I had, so I'm not sure.
> > >
> > > -derek
> > >
> > > "Gerlich, Rene" <Rene.Gerlich at commerzbank.com> writes:
> > >
> > > > hi derek,
> > > >
> > > > i'll downgrade no problem.
> > > >
> > > > here are lines 43-48:
> > > >
> > > > 43: #ifdef __STDC__
> > > > 44: extern char *dcgettext(const char *, const char *,
> const int);
> > > > 45: extern char *dgettext(const char *, const char *);
> > > > 46: extern char *gettext(const char *);
> > > > 47: extern char *textdomain(const char *);
> > > > 48: extern char *bindtextdomain(const char *, const char *);
> > > >
> > > > i have checked for gettext and i use version 0.11.5 in
> > > /usr/local/bin (if
> > > > that's what this means ...)
> > > >
> > > > cheers
> > > >
> > > > rene
> > > >
> > > > > -----Original Message-----
> > > > > From: Derek Atkins [mailto:warlord at MIT.EDU]
> > > > > Sent: Thursday, July 03, 2003 3:55 PM
> > > > > To: Gerlich, Rene
> > > > > Cc: gnucash-user at lists.gnucash.org
> > > > > Subject: Re: make problems on solaris8 (here we go again...)
> > > > >
> > > > >
> > > > > 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/libint
> > > > > l.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/libint
> > > > > l.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
> > > > _______________________________________________
> > > > 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