Compiling 1.8.3 on Solaris 8

Charles Gagnon charlesg at unixrealm.com
Thu May 22 14:23:46 CDT 2003


On Thu, May 22, 2003 at 12:52:39PM -0400, Derek Atkins wrote:
[...]
> > That got me further but now I get:
> 
> Yea, that's what I got, too.  Do you actually have a libintl installed
> on your system?

I have a few actually:

Standard Solaris:
    /usr/lib/sparcv9/libintl.so
    /usr/lib/sparcv9/libintl.so.1
    /usr/lib/libintl.so
    /usr/lib/libintl.so.1
    /usr/lib/libintl.a

>From my gettext-0.11.5 install:
    /usr/local/lib/libintl.a
    /usr/local/lib/libintl.la
    /usr/local/lib/libintl.so
    /usr/local/lib/libintl.so.2
    /usr/local/lib/libintl.so.2.2.0

> The problem is that the configure script it not
> finding it.  That's what that CPPFLAGS=... was all about -- to try to
> get the configure script to actually find the libintl.

I included a extract of config.log. This is from a configure command
without the CPPFLAGS=...

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
[...]
configure:3486: checking whether NLS is requested
configure:3510: checking whether included gettext is requested
configure:3530: checking for GNU gettext in libc
configure:3545: gcc -o conftest -g -O2  -L/usr/local/lib -R/usr/local/lib conftest.c  1>&5
/var/tmp/ccxO4PYw.o: In function `main':
/usr/local/src/gnucash-1.8.3/configure:3540: undefined reference to `libintl_bindtextdomain'
/usr/local/src/gnucash-1.8.3/configure:3541: undefined reference to `libintl_gettext'
/usr/local/src/gnucash-1.8.3/configure:3541: undefined reference to `_nl_domain_bindings'
/usr/local/src/gnucash-1.8.3/configure:3541: undefined reference to `_nl_domain_bindings'
/usr/local/src/gnucash-1.8.3/configure:3541: undefined reference to `_nl_msg_cat_cntr'
/usr/local/src/gnucash-1.8.3/configure:3541: undefined reference to `_nl_msg_cat_cntr'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3535 "configure"
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
int main() {
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
; return 0; }
configure:3915: checking for GNU gettext in libintl
configure:3939: gcc -o conftest -g -O2  -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  /usr/local/lib/libintl.a -R/usr/local/lib -liconv -lc 1>&5
/var/tmp/cctIRkSV.o: In function `main':
/usr/local/src/gnucash-1.8.3/configure:3935: undefined reference to `_nl_domain_bindings'
/usr/local/src/gnucash-1.8.3/configure:3935: undefined reference to `_nl_domain_bindings'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3924 "configure"
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias ();
int main() {
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
; return 0; }
configure:3967: gcc -o conftest -g -O2  -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  /usr/local/lib/libintl.a -R/usr/local/lib -liconv -lc -liconv 1>&5
/var/tmp/ccYbH58N.o: In function `main':
/usr/local/src/gnucash-1.8.3/configure:3963: undefined reference to `_nl_domain_bindings'
/usr/local/src/gnucash-1.8.3/configure:3963: undefined reference to `_nl_domain_bindings'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3952 "configure"
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias ();
int main() {
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
; return 0; }
configure:4109: checking whether to enable maintainer-specific portions of Makefiles
configure:4159: checking for a BSD compatible install
[...]

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

   Do they use sterilized needles for lethal injections?
        -- Dennis Miller


More information about the gnucash-devel mailing list