[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: build problems on solaris (Sun Studio)

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-10-02 15:38:39 CEST

On 10/1/06, Brian Hechinger <wonko@4amlunch.net> wrote:
> Ok, I got 1.4.0 and am trying to build it. I can build 1.3.9 just fine,
> but 1.4.0 gives me this trouble.
>
> wonko@zaphod$ cc -V
> cc: Sun C 5.8 2005/10/13
> wonko@zaphod$ uname -a
> SunOS zaphod.4amlunch.net 5.10 Generic_118822-27 sun4u sparc SUNW,Ultra-80
>
> My configure that I use:
>
> ./configure --with-apxs=/usr/local/apache2/bin/apxs
> --with-apr=/usr/local/apr/bin/apr-1-config
> --with-apr-util=/usr/local/apr/bin/apu-1-config
> --with-berkeley-db=/usr/local/BerkeleyDB.4.4 --with-ssl
>
> goes just fine, but then when I try to run make, it grinds away for a
> while, and then I get:
>
> /bin/bash /usr/home/wonko/software/subversion-1.4.0/libtool --tag=CC --silent --mode=compile cc -fast -xarch=v9a -xcode=abs64 -KPIC -I/usr/local/include -I/usr/local/ssl/include -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -fast -xarch=v9a -xcode=abs64 -KPIC -I/usr/local/include -I/usr/local/ssl/include -I./subversion/include -I./subversion -I/usr/local/include/neon -I/usr/local/apr/include/apr-1 -I/usr/local/apr/include/apr-1 -I/usr/local/BerkeleyDB.4.4/include -I/usr/local/include -o subversion/libsvn_subr/cmdline.lo -c subversion/libsvn_subr/cmdline.c
> "./subversion/include/svn_dso.h", line 65: syntax error before or at: *
> "./subversion/include/svn_dso.h", line 65: warning: undefined or missing type for: const
> cc: acomp failed for subversion/libsvn_subr/cmdline.c
> gmake: *** [subversion/libsvn_subr/cmdline.lo] Error 1
>
> any clues as to what the solution is to this problem?

That is likely a bug in 1.4.0 that's been fixed but we haven't rolled
a release yet. I suspect you're on a platform that doesn't have DSO
support in APR (although it's odd that you'd get that on solaris, but
whatever). If you wrap that line in ifdefs, like this:

#if 0
svn_error_t *svn_dso_load(apr_dso_handle_t **dso, const char *libname);
#endif

And recompile does it work?

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 2 15:39:15 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.