Latest cvs on Solaris 8

Derek Atkins warlord at MIT.EDU
Thu Aug 7 12:48:49 CDT 2003


Charles Gagnon <charlesg at unixrealm.com> writes:

> I'm trying to compile yesterday's CVS head on a Solaris 8 box. That
> same box successfully compiled 1.8.4.
> 
> Following this procedure:
> 
>  - ran autogen.sh
>  - ran proper configure:
>      env CPPFLAGS=-D_nl_domain_bindings=libintl_nl_domain_bindings \
>          LD=gcc \
>      bash ./configure --disable-error-on-warning

See below about this...

>  - vi'd src/app-utils/Makefile to add ${INTLLIBS} to
>    libgncmod_app_utils_la_LIBADD

I'm not sure this is necessary.

>  - I also add to copy src/doc/design/version.texi from my 1.8.4
>    tree. I'm not sure why it was missing from the CVS update.

If you read README.cvs, you will notice that you should not run
configure by hand when building from CVS.  You should provide all your
configure options to autogen.sh.  The reason the version.texi didn't
exist is because you failed to configure with --enable-maintainer-mode
(which is automatically added by autogen.sh).

> On make I get:
> 
> [...]
> Making all in test
[snip]
> ../.libs/libgncmod-engine.so: undefined reference to `libintl_gettext'
> collect2: ld returned 1 exit status
> make[5]: *** [test-commodities] Error 1
> make[5]: Leaving directory `/home/charlesg/src/gnucash/src/engine/test'

This looks like libintl.a didn't get properly added to
libgncmod-engine.  Check your config.log to make sure it was actually
able to find libintl.

-derek

-- 
       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-devel mailing list