syntax error running configure

Ken Galle <ken-IsoIhgp/[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
Hello, when attempting to build dar, I get this error during configure:

checking whether make supports nested variables... yes
./configure: 3598: ./configure: Syntax error: word unexpected (expecting 
")")

This resolved when I installed gettext and gettext-devel.

I move on to the next error:

checking for librsync.h... yes
./configure: 24066: ./configure: Syntax error: word unexpected 
(expecting ")")

I installed pkg-config, that didn't help.  Area around that line in 
configure:


# Check whether --enable-libcurl-linking was given.
if test "${enable_libcurl_linking+set}" = set; then :
   enableval=$enable_libcurl_linking;  local_libcurl="no"
else

                   PKG_CHECK_EXISTS(libcurl,
                          PKG_CHECK_MODULES(LIBCURL, libcurl, [], 
[AC_MSG_ERROR([libcurl not found, but reported to exist !?!])])
                           AC_DEFINE(HAVE_LIBCURL, 1, [Libcurl library 
availability])
                         ,

                           AC_CHECK_LIB(curl, [curl_global_init], [], 
[AC_MSG_WARN([libcurl library not found])])
                           AC_DEFINE(HAVE_LIBCURL, 1, [Libcurl library 
availability])
                         )


Any suggestions?

I am using the latest git revision (bea0655b6) on branch_2.6.x.

I am running Void linux.  Some versions that may help:

autoconf-2.69_7

gcc-9.2.0_3

glibc-devel-2.30_1

libcurl-devel-7.68.0_1

librsync-devel-2.2.1_1

linux-5.4_1

m4-1.4.18_2

make-4.3_1

pkg-config-0.29.2_2


Thanks,

Ken




_______________________________________________
Dar-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dar-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.