You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2009/11/10 08:51:27 UTC
[jira] Closed: (XERCESC-1853) configure incorrectly detects curl in
cross-compile build
[ https://issues.apache.org/jira/browse/XERCESC-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov closed XERCESC-1853.
------------------------------------
Resolution: Duplicate
Duplicate of XERCESC-1892
> configure incorrectly detects curl in cross-compile build
> ---------------------------------------------------------
>
> Key: XERCESC-1853
> URL: https://issues.apache.org/jira/browse/XERCESC-1853
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.0.0
> Environment: Linux 2.6.27-gentoo-r8 #1 SMP PREEMPT Tue Jan 27 11:07:48 CET 2009 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux
> Reporter: Miroslav Kes
> Fix For: 3.1.0
>
>
> I' trying to cross-compile xerces-c for ARM/Xscale. Build host Linux x86, target platform Xcale BE.
> The configure script detects presence of curl as the NetAccessor candidate based on presence of /usr/include/curl/* on the build host not in the cross-compile toolchain.
> Example:
> My cross compile toolchain is installed under /opt/clfs/armv5teb-softfloat-linux-gnueabi so when invoking configure scripte like
> ~/tmp/xerces-c-3.0.0 $ ./configure --host=armv5teb-softfloat-linux-gnueabi
> I get this output:
> ...
> checking for libcurl... /usr
> 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
> ...
> The configure script should check headers and libraries under /opt/clfs/armv5teb-softfloat-linux-gnueabi/usr/include resp. /opt/clfs/armv5teb-softfloat-linux-gnueabi/usr/lib. In my case there is no curl directory under /opt/clfs/armv5teb-softfloat-linux-gnueabi/usr/include but the configure script detects curl as installed chooses it as the preferred NetAccessor.
> Instead, it likely checks the /usr/include of the build host because If I rename it to let's say /usr/include/curl.bak the .configure script doesn't find curl and uses socket as the preferred NetAccessor.
> There is a workaround to use the --disable-netaccessor-curl option but the configure script should work correctly with default settings.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org