{"action":"created","issue":{"url":"https://api.github.com/repos/haiwen/ccnet/issues/106","repository_url":"https://api.github.com/repos/haiwen/ccnet","labels_url":"https://api.github.com/repos/haiwen/ccnet/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/haiwen/ccnet/issues/106/comments","events_url":"https://api.github.com/repos/haiwen/ccnet/issues/106/events","html_url":"https://github.com/haiwen/ccnet/issues/106","id":139560530,"number":106,"title":"Can't compile cnnet: fatal error: searpc-signature.h: No such file or directory","user":{"login":"bxdpxndx","id":6361739,"avatar_url":"https://avatars.githubusercontent.com/u/6361739?v=3","gravatar_id":"","url":"https://api.github.com/users/bxdpxndx","html_url":"https://github.com/bxdpxndx","followers_url":"https://api.github.com/users/bxdpxndx/followers","following_url":"https://api.github.com/users/bxdpxndx/following{/other_user}","gists_url":"https://api.github.com/users/bxdpxndx/gists{/gist_id}","starred_url":"https://api.github.com/users/bxdpxndx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bxdpxndx/subscriptions","organizations_url":"https://api.github.com/users/bxdpxndx/orgs","repos_url":"https://api.github.com/users/bxdpxndx/repos","events_url":"https://api.github.com/users/bxdpxndx/events{/privacy}","received_events_url":"https://api.github.com/users/bxdpxndx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-09T12:14:07Z","updated_at":"2016-06-26T16:33:12Z","closed_at":null,"body":"I'm trying to compile the seafile desktop clients on fedora 23. To do that, I am installing `ccnet v5.0.6` from source. I installed all the dependencies to the point `./autogen.sh` and `./configure` succeed, but when building ccnet, the following error appears:\r\n\r\n```../common/rpc-service.c:40:30: fatal error: searpc-signature.h: No such file or directory```\r\n\r\nI installed `libsearpc v3.0.7` from source and following the hack detailed [here](https://groups.google.com/forum/#!msg/seafile/vO7CCdsMwxE/PxCTDv4XotwJ), copied the files from libsearpc to ccnet, and now the error is:\r\n```\r\nrpc-service.o: In function `ccnet_start_rpc':\r\n/ccnet/net/daemon/../common/rpc-service.c:63: undefined reference to `searpc_signature_string__void'\r\n/ccnet/net/daemon/../common/rpc-service.c:68: undefined reference to `searpc_signature_objlist__void'\r\n/ccnet/net/daemon/../common/rpc-service.c:73: undefined reference to `searpc_signature_objlist__string'\r\n... more undefined references\r\n```\r\n\r\nI'm guessing this is because the versions don't match. I also tried v4.4.2, the closest by release date to `libsearpc v3.0.7`\r\n\r\nIs there any way I can build ccnet v5.0.6 from source? Or should I be using another version of libsearpc/ccnet?"},"comment":{"url":"https://api.github.com/repos/haiwen/ccnet/issues/comments/228609730","html_url":"https://github.com/haiwen/ccnet/issues/106#issuecomment-228609730","issue_url":"https://api.github.com/repos/haiwen/ccnet/issues/106","id":228609730,"user":{"login":"YetAnotherMinion","id":8005290,"avatar_url":"https://avatars.githubusercontent.com/u/8005290?v=3","gravatar_id":"","url":"https://api.github.com/users/YetAnotherMinion","html_url":"https://github.com/YetAnotherMinion","followers_url":"https://api.github.com/users/YetAnotherMinion/followers","following_url":"https://api.github.com/users/YetAnotherMinion/following{/other_user}","gists_url":"https://api.github.com/users/YetAnotherMinion/gists{/gist_id}","starred_url":"https://api.github.com/users/YetAnotherMinion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YetAnotherMinion/subscriptions","organizations_url":"https://api.github.com/users/YetAnotherMinion/orgs","repos_url":"https://api.github.com/users/YetAnotherMinion/repos","events_url":"https://api.github.com/users/YetAnotherMinion/events{/privacy}","received_events_url":"https://api.github.com/users/YetAnotherMinion/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T16:33:12Z","updated_at":"2016-06-26T16:33:12Z","body":"Looking at the code, the make target that generates the `searpc-signature.h`  file is `gensource`\r\n\r\nIf you start from a clean tree, and do\r\n```shell\r\n./autogen.sh\r\nexport PKG_CONFIG_PATH=/usr/local/lib/pkgconfig\r\n./configure --disable-client --enable-server\r\ncd lib/\r\nmake gensource\r\n```\r\n\r\nThen I get an error that is silently dropped by the rest of the build\r\n```\r\n[libsearpc]: generating rpc header files\r\n/usr/bin/python `which searpc-codegen/py` ../lib/rpc_table.py\r\n/bin/sh: which: command not found\r\n[libsearpc]: done\r\n```"}}
{"actor":{"display_login":"YetAnotherMinion"}}