On Mon, Oct 02, 2006 at 09:38:39AM -0400, Garrett Rooney wrote:
> 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?
Yes, that does get me past it, but then after chewing through a couple
more files, it gets this:
/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/dso.lo -c subversion/libsvn_subr/dso.c
"subversion/libsvn_subr/dso.c", line 60: syntax error before or at: *
"subversion/libsvn_subr/dso.c", line 60: warning: undefined or missing type for: const
"subversion/libsvn_subr/dso.c", line 73: undefined symbol: dso
"subversion/libsvn_subr/dso.c", line 73: cannot dereference non-pointer type
"subversion/libsvn_subr/dso.c", line 73: undefined symbol: fname
"subversion/libsvn_subr/dso.c", line 73: warning: improper pointer/integer combination: arg #2
"subversion/libsvn_subr/dso.c", line 73: warning: improper pointer/integer combination: op "="
"subversion/libsvn_subr/dso.c", line 78: cannot dereference non-pointer type
"subversion/libsvn_subr/dso.c", line 78: warning: improper pointer/integer combination: op "=="
"subversion/libsvn_subr/dso.c", line 80: cannot dereference non-pointer type
"subversion/libsvn_subr/dso.c", line 90: cannot dereference non-pointer type
"subversion/libsvn_subr/dso.c", line 92: warning: implicit function declaration: apr_dso_load
"subversion/libsvn_subr/dso.c", line 95: cannot dereference non-pointer type
"subversion/libsvn_subr/dso.c", line 99: warning: improper pointer/integer combination: arg #2
"subversion/libsvn_subr/dso.c", line 113: warning: improper pointer/integer combination: arg #2
"subversion/libsvn_subr/dso.c", line 115: cannot dereference non-pointer type
"subversion/libsvn_subr/dso.c", line 115: warning: improper pointer/integer combination: arg #4
cc: acomp failed for subversion/libsvn_subr/dso.c
gmake: *** [subversion/libsvn_subr/dso.lo] Error 1
Should I maybe try to rebuild apr with DSO support?
-brian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 2 16:13:54 2006