Hi Nathan,
Thank you for your suggestion. I have tried to configure as you told, please find the logs below.
root_at_LCNAS:~# apt-file search libsvn_ra_serf
libsvn-dev: /usr/lib/arm-linux-gnueabi/libsvn_ra_serf-1.a
libsvn1: /usr/lib/arm-linux-gnueabi/libsvn_ra_serf-1.so.1
libsvn1: /usr/lib/arm-linux-gnueabi/libsvn_ra_serf-1.so.1.0.0
subversion-dbg: /usr/lib/debug/usr/lib/arm-linux-gnueabi/libsvn_ra_serf-1.so.1.0.0
Not sure /path/to/serf is correct..
root_at_LCNAS:~/subversion-1.10.6# ./configure --with-serf=/usr/lib/arm-linux-gnueabi/ --with-lz4=internal --with-utf8proc=internal
configure: Configuring Subversion 1.10.6
configure: creating config.nice
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking if gcc accepts -std=c90... yes
checking if gcc accepts -w... yes
checking if gcc accepts -Werror=unknown-warning-option... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking if g++ accepts -std=c++98... yes
checking if g++ accepts -w... yes
checking if g++ accepts -Werror=unknown-warning-option... no
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking target system type... armv7l-unknown-linux-gnueabi
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 1.5.1
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... yes
checking APRUTIL version... 1.5.4
checking for pkg-config... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
configure: serf library configuration via pkg-config
configure: serf library configuration via prefix
checking was serf enabled... no
An appropriate version of serf could not be found, so libsvn_ra_serf
will not be built. If you want to build libsvn_ra_serf, please
install serf 1.3.4 or newer.
configure: error: Serf was explicitly enabled but an appropriate version was not found.
root_at_LCNAS:~/subversion-1.10.6#
So tried without ‘serf’; but ‘utf8proc as’ internal.
root_at_LCNAS:~/subversion-1.10.6# ./configure --with-lz4=internal --with-utf8proc=internal
configure: Configuring Subversion 1.10.6
configure: creating config.nice
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking if gcc accepts -std=c90... yes
checking if gcc accepts -w... yes
checking if gcc accepts -Werror=unknown-warning-option... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking if g++ accepts -std=c++98... yes
checking if g++ accepts -w... yes
checking if g++ accepts -Werror=unknown-warning-option... no
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking target system type... armv7l-unknown-linux-gnueabi
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 1.5.1
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... yes
checking APRUTIL version... 1.5.4
checking for pkg-config... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
configure: serf library configuration via pkg-config
checking was serf enabled... no
An appropriate version of serf could not be found, so libsvn_ra_serf
will not be built. If you want to build libsvn_ra_serf, please
install serf 1.3.4 or newer.
configure: looking for apr_memcache as part of apr-util
checking apr_memcache.h usability... yes
checking apr_memcache.h presence... yes
checking for apr_memcache.h... yes
checking for apr_memcache_create in -laprutil-1... yes
checking for Apache module support via DSO through APXS... no
==================================================================
WARNING: skipping the build of mod_dav_svn
try using --with-apxs
==================================================================
configure: checking sqlite library
checking sqlite amalgamation... no
checking sqlite amalgamation... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sqlite library version (via header)... okay
checking for sqlite3_close in -lsqlite3... yes
checking whether the compiler provides atomic builtins... yes
configure: configuring libtool now
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabi file names to armv7l-unknown-linux-gnueabi format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabi file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... mawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: building both shared and static libraries
checking whether libtool needs -no-undefined... no
checking for trang... none
checking for doxygen... none
checking for Expat... yes
checking for socket in -lsocket... no
checking for availability of Berkeley DB... no
checking whether to look for SASL... yes
configure: Looking in default locations
checking sasl/sasl.h usability... no
checking sasl/sasl.h presence... no
checking for sasl/sasl.h... no
checking for sasl/sasl.h... (cached) no
checking for availability of Cyrus SASL v2... no
checking for Mach-O dynamic module iteration functions... no
checking for Mac OS property list utilities... no
checking for Mac OS KeyChain Services... no
checking whether APR has support for DSOs... yes
checking whether to support GPG-Agent... yes
checking whether to look for old GNOME Keyring... no
checking whether to look for GNOME Keyring... yes
checking for GNOME Keyring... no
checking whether use Googlemock... yes
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for library containing bindtextdomain... none required
checking for bind_textdomain_codeset... yes
checking if we are using GNU gettext... yes
checking magic.h usability... no
checking magic.h presence... no
checking for magic.h... no
checking whether to look for KWallet... no
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for symlink... yes
checking for readlink... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for uname... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for -Wl,--no-undefined... yes
configure: C compiler flags: -g -O2 -pthread
configure: user-defined:
configure: maintainer-mode:
configure: C++ compiler flags: -g -O2
configure: user-defined:
configure: maintainer-mode:
configure: zlib library configuration via pkg-config
configure: zlib library configuration
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
configure: using internal lz4
configure: using internal utf8proc
configure: WARNING: Python 2.7 or later is required to run the testsuite
configure: WARNING: or to use the Subversion Python bindings
configure: WARNING:
configure: WARNING: If you have a suitable Python installed, but not on the
configure: WARNING: PATH, set the environment variable PYTHON to the full path
configure: WARNING: to the Python executable, and re-run configure
checking for ... no
checking for JDK... no
checking for perl... /usr/bin/perl
checking for ruby... no
checking for ruby1... no
checking for ruby1.8... no
checking for ruby18... no
checking for ruby1.9... no
checking for ruby19... no
checking for ruby1.9.3... no
checking for ruby193... no
checking for ruby2... no
checking for ruby2.0... no
checking for ruby20... no
checking for ruby2.1... no
checking for ruby21... no
checking for ruby2.2... no
checking for ruby22... no
checking for ruby2.3... no
checking for ruby23... no
checking for ruby2.4... no
checking for ruby24... no
checking for swig... none
checking perl version... 5020002
checking for ctypesgen.py... none
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating subversion/libsvn_auth_gnome_keyring/libsvn_auth_gnome_keyring.pc
config.status: creating subversion/libsvn_auth_kwallet/libsvn_auth_kwallet.pc
config.status: creating subversion/libsvn_client/libsvn_client.pc
config.status: creating subversion/libsvn_delta/libsvn_delta.pc
config.status: creating subversion/libsvn_diff/libsvn_diff.pc
config.status: creating subversion/libsvn_fs/libsvn_fs.pc
config.status: creating subversion/libsvn_fs_base/libsvn_fs_base.pc
config.status: creating subversion/libsvn_fs_fs/libsvn_fs_fs.pc
config.status: creating subversion/libsvn_fs_util/libsvn_fs_util.pc
config.status: creating subversion/libsvn_fs_x/libsvn_fs_x.pc
config.status: creating subversion/libsvn_ra/libsvn_ra.pc
config.status: creating subversion/libsvn_ra_local/libsvn_ra_local.pc
config.status: creating subversion/libsvn_ra_serf/libsvn_ra_serf.pc
config.status: creating subversion/libsvn_ra_svn/libsvn_ra_svn.pc
config.status: creating subversion/libsvn_repos/libsvn_repos.pc
config.status: creating subversion/libsvn_subr/libsvn_subr.pc
config.status: creating subversion/libsvn_wc/libsvn_wc.pc
config.status: creating tools/backup/hot-backup.py
config.status: creating tools/hook-scripts/commit-access-control.pl
config.status: creating subversion/bindings/swig/perl/native/Makefile.PL
config.status: creating subversion/svn_private_config.h.tmp
config.status: executing libtool commands
config.status: executing svn_private_config.h.tmp commands
root_at_LCNAS:~/subversion-1.10.6# make
cd subversion/svnsync && /bin/bash "/root/subversion-1.10.6/libtool" --tag=CC --silent --mode=link gcc -g -O2 -pthread -rpath /usr/local/lib -o svnsync svnsync.lo sync.lo ../../subversion/libsvn_ra/libsvn_ra-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/lib/arm-linux-gnueabi -lapr-1
gcc: error: .libs/sync.o: No such file or directory
build-outputs.mk:999: recipe for target 'subversion/svnsync/svnsync' failed
make: *** [subversion/svnsync/svnsync] Error 1
root_at_LCNAS:~/subversion-1.10.6#
Thanks,
Sanad MM
From: Nathan Hartman <hartman.nathan_at_gmail.com>
Sent: Wednesday, 24 June, 2020 10:16 PM
To: Sanad Majid <sanad.majid_at_LumaCyte.com>
Cc: users_at_subversion.apache.org
Subject: Re: Subversion Build Issues - 1.10.6
WARNING: This message originated from an external sender.
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
On Wed, Jun 24, 2020 at 9:13 AM Sanad Majid <sanad.majid_at_lumacyte.com<mailto:sanad.majid_at_lumacyte.com>> wrote:
I am trying to build Subverion 1.10.6 on our NAS (Netgear ReadyNAS 104), but got following issues. Could anyone help me to resolve this issue? Logs are given below.
(snip)
Q1. How to resolve serf issue?
Q2. I couldn’t locate apxs script, but mod_dav_svn.so is present in /usr/lib/apache2/modules. (for trying ./configure --with-apxs=/usr/local/apache2/bin/apxs)
Q3. How to resolve UTF8PROC Issues?
Have you tried:
./configure --with-serf=/path/to/serf --with-lz4=internal --with-utf8proc=internal
That should help with Q1 and Q3. Not sure about Q2. There might be some other option(s) needed for configure, but let's try these first.
Nathan
Received on 2020-06-25 16:53:14 CEST