> And which gettext headers are included when the files
> mentioned in the error message are compiled?
> Do the headers come from GNU gettext or the system's gettext?
> Can you show the lines printed when compiling those files?
> Try prepending -I/usr/local/include to CFLAGS when running configure.
To be honest I'm not sure I have any header for gettext. As I said I installed 
the package from www.sunfreeware.com and I don't know if that installed the 
headers too.

I have added the -I/usr/local/include but it didn't make a difference.

I checked the compilation of those two files and they both have a warning

/opt/SUNWspro/bin/cc -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT 
-D_LARGEFILE64_SOURCE  -I/user/dev/local/include -I/usr/local/include  -g -mt  
-D_LARGEFILE64_SOURCE -DNE_LFS  -I./subversion/include -I./subversion 
-I/user/dev/local/include/apr-1   -I/user/dev/local/include/apr-1 
-I/user/dev/local/include -I/user/dev/local/include/neon 
-I/user/dev/subversion-1.6.9/sqlite-amalgamation  -o subversion/svn/info-cmd.o 
-c subversion/svn/info-cmd.c
"subversion/svn/info-cmd.c", line 410: warning: improper pointer/integer 
combination: arg #2
/opt/SUNWspro/bin/cc -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT 
-D_LARGEFILE64_SOURCE  -I/user/dev/local/include -I/usr/local/include  -g -mt  
-D_LARGEFILE64_SOURCE -DNE_LFS  -I./subversion/include -I./subversion 
-I/user/dev/local/include/apr-1   -I/user/dev/local/include/apr-1 
-I/user/dev/local/include -I/user/dev/local/include/neon 
-I/user/dev/subversion-1.6.9/sqlite-amalgamation  -o subversion/svn/log-cmd.o 
-c subversion/svn/log-cmd.c
"subversion/svn/log-cmd.c", line 190: warning: improper pointer/integer 
combination: arg #2

The line in info-cmd.c is

          SVN_ERR(svn_cmdline_printf(pool,
                                     Q_("Lock Comment (%i line):\n%s\n",
                                        "Lock Comment (%i lines):\n%s\n",
                                        comment_lines),
                                     comment_lines,
                                     info->lock->comment));

And the one in log-cmd.c is

      SVN_ERR(svn_cmdline_printf(pool,
                                 Q_(" | %d line", " | %d lines", lines),
                                 lines));

The macro Q_ is defined in subversion/svn/svn_private_config.h as

#define Q_(x1, x2, n) dngettext(PACKAGE_NAME, x1, x2, n)

So yes, the linker can't find dngettext I suppose.

I have tried and disabled NLS. This works, but what are the consequences? I 
will be using the SVN client only on this machine.


Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851    VAT Reg No 778499447




Reply via email to