Sorry not to get back on this sooner. Not easy debugging on slave machine
so didn't do that. I worked around the problem using
--enable-netaccessor-socket as a configure option.

Thanks for your reply,
Eddie

On Thu, Feb 27, 2020 at 1:43 PM Roger Leigh <rle...@codelibre.net> wrote:

> Hi Eddie,
>
>
> configure did detect curl/curl.h, so should have been fine.
>
> Where exactly on this build slave is curl.h located?  Is it in some
> non-default location?
>
> There may possibly be a gap in the autotools support for that location.
>
>
> Kind regards,
>
> Roger
>
>
> On 27/02/2020 16:33, Eddie Epstein wrote:
> > configure reports:
> >
> > checking for curl-config... /usr/bin/curl-config
> > checking curl/curl.h usability... yes
> > checking curl/curl.h presence... yes
> > checking for curl/curl.h... yes
> > checking for curl_multi_init in -lcurl... yes
> > checking for socket in -lsocket... no
> > checking for gethostbyname in -lnsl... yes
> > checking whether we can support the libcurl-based NetAccessor... yes
> > checking whether we can support the sockets-based NetAccessor... yes
> > checking for which NetAccessor to use (choices: -curl- -socket-)... curl
> >
> > but the compile fails at:
> >
> > CXX      xercesc/util/NetAccessors/Curl/CurlNetAccessor.lo
> > In file included from
> xercesc/util/NetAccessors/Curl/CurlNetAccessor.cpp:26:0:
> > ./xercesc/util/NetAccessors/Curl/CurlURLInputStream.hpp:25:10: fatal
> > error: curl/curl.h: No such file or directory
> >   #include <curl/curl.h>
> >            ^~~~~~~~~~~~~
> >
> > The full console log is at ...
> > https://builds.apache.org/view/All/job/UIMA-CPP-SDK/32/console
> >
> > Any idea why this would happen? Thanks,
> >
> > Eddie
> >
>

Reply via email to