On Wed, Jun 24, 2009 at 03:38:18PM +0100, Giulio Troccoli wrote:
> I'm trying to compile Subversion 1.6.3 on a SunOS 5.6 (Solaris 6) platform.
>
Please don't cross-post to users@ and dev@
What you are seeing is a problem with SQlite, not Subversion.
Please ask them how to fix this: www.sqlite.org
Thanks,
Stefan
> I have downloaded both subversion and the dependencies kits. I run configure as
>
> ./configure --prefix=/user/dev/local --without-serf --disable-shared --enable-static --enable-all-static
>
> but make fails with
>
> /bin/ksh /user/dev/subversion-1.6.3/libtool --tag=CC --silent --mode=compile gcc -DSOLARIS2=6 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/user/dev/subversion-1.6.3/apr/include -I/user/dev/subversion-1.6.3/apr-util/include -g -O2 -g -O2 -pthreads -D_LARGEFILE64_SOURCE -DNE_LFS -I./subversion/include -I./subversion -I/user/dev/subversion-1.6.3/apr/include -I/user/dev/subversion-1.6.3/apr-util/include -I/user/dev/subversion-1.6.3/neon/src -I/user/dev/local/include/neon -I/user/dev/subversion-1.6.3/sqlite-amalgamation -o subversion/libsvn_subr/sqlite.lo -c subversion/libsvn_subr/sqlite.c
> In file included from subversion/libsvn_subr/sqlite.c:35:
> /user/dev/subversion-1.6.3/sqlite-amalgamation/sqlite3.c: In function `pthreadMutexAlloc':
> /user/dev/subversion-1.6.3/sqlite-amalgamation/sqlite3.c:14508: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
> /user/dev/subversion-1.6.3/sqlite-amalgamation/sqlite3.c:14508: (Each undeclared identifier is reported only once
> /user/dev/subversion-1.6.3/sqlite-amalgamation/sqlite3.c:14508: for each function it appears in.)
> make: *** [subversion/libsvn_subr/sqlite.lo] Error 1
>
> Googling this I have found this document: http://www.sun.com/software/whitepapers/solaris9/multithread.pdf
>
> In there they say that
>
> "Solaris 7 software (October, 1998) added two new types of mutex lock for the Pthreads programmer:
> - PTHREAD_MUTEX_ERRORCHECK
> - PTHREAD_MUTEX_RECURSIVE"
>
> So I guess that it will not compile on Solaris 6.
>
> Can anybody with more experience confirm this? Is there any way I can compile SVN 1.6.3 on Solaris 6?
>
> Thanks
> Giulio
>
>
> 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
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2364947
Received on 2009-06-24 16:45:47 CEST