小编Mar*_*osé的帖子

致命错误:libxml/tree.h:没有这样的文件或目录 libxml/tree.h。在赛勒斯 imapd 中

当我运行cyrus-imapd-2.4.17-caldav-beta9的 make 时出现以下错误:

In file included from httpd.c:68:0:
httpd.h:48:25: fatal error: libxml/tree.h: No such file or directory
compilation terminated.
Run Code Online (Sandbox Code Playgroud)

我正在尝试安装这个支持日历的测试版。

我已经安装了 libxml2-dev。

apt-get install libxml2-dev
Run Code Online (Sandbox Code Playgroud)

我的操作系统是 Debian 7。

我忘记了什么?

谢谢。

c debian

2
推荐指数
1
解决办法
9299
查看次数

匿名函数,添加参数

我在我的Ajax.Request中使用我的jsp.(原型)

不知怎的,我可以在匿名函数onComplete中传递额外的参数?

例如,

function save() {
    var pars = "param1=date";
    new Ajax.Request('algo.ctr', {
        parameters: pars,
        onComplete: f,
    });
}
var f = function (e) {
    alert(e.status);
}
Run Code Online (Sandbox Code Playgroud)

我想使用参数e而且还要使用其他参数.

我不想使用全局变量.

这个想法是运行多个并发请求,并且当每个请求完成使用我放置的元素完成某些操作时.

javascript ajax prototypejs

1
推荐指数
1
解决办法
390
查看次数

CFLAGS and assign more than one reference?

I'm not used to working with C or C++ and I'm trying to let the compiler where to find references losses.

I have a configuration file called configure which creates the makefile.

Then to create the makefile I run:

CFLAGS=-I/usr/include/libxml2 ./configure  --enable-murder
Run Code Online (Sandbox Code Playgroud)

As I run this line but given two references in CFLAGS?.

To be clear mais, compiling want to point to the references:

  • /usr/include/libxml2
  • /usr/include/libical

in CFLAGS.

This is because I can not edit the makefile and I want …

c c++ makefile

0
推荐指数
1
解决办法
2963
查看次数

标签 统计

c ×2

ajax ×1

c++ ×1

debian ×1

javascript ×1

makefile ×1

prototypejs ×1