[Users] error: xmlrpc.h: No such file or directory

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri May 4 18:29:08 CEST 2007


Hi,

maybe a better approach is to install from source the right version of 
xmlrpl-c (0.9.10) :
    
http://sourceforge.net/project/showfiles.php?group_id=16847&package_id=13374

regards,
bogdan

Henning Westerholt wrote:
> On Donnerstag, 3. Mai 2007, CSB wrote:
>   
>>> Is this file present on your system in the /usr/include/xmlrpc-c path?
>>> Otherwise you'll need to install an additional devel rpm.
>>>       
>> ls /usr/include/xmlrpc-c
>> xmlrpc-c         XmlRpcCpp.h            xmlrpc_server.h
>> xmlrpc_cgi.h     xmlrpc.h               xmlrpc_server_w32httpsys.h
>> xmlrpc_client.h  xmlrpc_server_abyss.h
>>
>> rpm -q xmlrpc-c-devel
>> xmlrpc-c-devel-1.04-1.fc4
>>
>> So I have xmlrpc_server_abyss.h but not xmlrpc_abyss.h.
>>     
>
> This file gets renamed some time ago. Unfortunally xmlrpc-c don't provide a 
> version #define that can be checked from our include directive.
>
> Could you try the attached patch if at least compiles on your system with the 
> newer lib?
>
> Cheers,
>
> Henning
>
>   
> ------------------------------------------------------------------------
>
> Index: xr_server.c
> ===================================================================
> --- xr_server.c	(Revision 2128)
> +++ xr_server.c	(Arbeitskopie)
> @@ -38,7 +38,7 @@
>  #include "xr_parser.h"
>  #include "mi_xmlrpc.h"
>  #include "xr_server.h"
> -#include <xmlrpc_abyss.h>
> +#include <xmlrpc_server_abyss.h>
>  
>  gen_lock_t *xr_lock;
>  
> Index: mi_xmlrpc.c
> ===================================================================
> --- mi_xmlrpc.c	(Revision 2128)
> +++ mi_xmlrpc.c	(Arbeitskopie)
> @@ -41,7 +41,7 @@
>  #include "xr_server.h"
>  #define XMLRPC_SERVER_WANT_ABYSS_HANDLERS
>  #include "abyss.h"
> -#include <xmlrpc_abyss.h>
> +#include <xmlrpc_server_abyss.h>
>  #include "../../sr_module.h"
>  #include "../../str.h"
>  #include "../../mem/mem.h"
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   





More information about the sr-users mailing list