I'm rebuilding our Subversion server, getting it up to date after a fair period of neglect.
I'm finding that 1.41.1 has a problem somewhere in its SQLite code and fails at the make stage. 1.10.7 succeeds with exactly the same build process and dependencies.
I'm using CentOS 7, but with Apache 2.4.8, APR 1.7.0, APR-util 1.6.1 and SQLite 3.36.0.
cd subversion-1.14.1
unzip ../sqlite-amalgamation-3360000.zip
mv sqlite-amalgamation-3360000.zip sqlite-amalgamation
./configure --prefix=/local/software/subversion-1.14.1 \
--with-lz4=internal \
--with-utf8proc=internal \
--with-apxs=/local/software/httpd/bin/apxs \
--with-apr=/local/software/bin \
--with-apr-util=/local/software/bin
make
…
In file included from subversion/libsvn_subr/sqlite3wrapper.c:63:0:
/home/liam/downloads/subversion-1.14.1/sqlite-amalgamation/sqlite3.c:38012:12: warning: ‘unixFcntlExternalReader’ used but never defined [enabled by default]
static int unixFcntlExternalReader(unixFile*, int*);
…
.libs/sqlite3wrapper.o: In function `unixFileControl':
/home/liam/downloads/subversion-1.14.1/sqlite-amalgamation/sqlite3.c:38131: undefined reference to `unixFcntlExternalReader'
/usr/bin/ld: .libs/sqlite3wrapper.o: relocation R_X86_64_PC32 against undefined symbol `unixFcntlExternalReader' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
Any idea what I can do to get past this?
Thanks,
Liam