tag:blogger.com,1999:blog-7638694470910246382.post7092164707338548719..comments2024-01-04T11:42:08.211+01:00Comments on Trond Norbye's Weblog: Couchbase Server meets SmartOS!Anonymoushttp://www.blogger.com/profile/14981676567908297584noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-7638694470910246382.post-6592013225566134702013-08-08T09:59:57.140+02:002013-08-08T09:59:57.140+02:00Rockin!!Rockin!!Chaimhttps://www.blogger.com/profile/03228834455652028031noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-75270566826728459632013-08-05T12:55:36.191+02:002013-08-05T12:55:36.191+02:00Hi, I wrote a new blog post about the topic this m...Hi, I wrote a new blog post about the topic this morning. See http://goo.gl/DHjN9QAnonymoushttps://www.blogger.com/profile/14981676567908297584noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-57315437363474450502013-08-04T09:46:32.560+02:002013-08-04T09:46:32.560+02:00Thanks!!
For completeness here are some more deta...Thanks!!<br /><br />For completeness here are some more details:<br /><br />These are the dependencies that I installed:<br />pkgin -y in snappy erlang automake autoconf libevent<br /><br />This is the make command line that I am using:<br />make CXX="g++ -m64 -L/opt/local/lib --prefix=/opt/local" CC="gcc -m64 -std=gnu99 -L/opt/local/lib --prefix=/opt/local" LD_LIBRARY_PATH=/opt/local/lib:/usr/lib:/lib<br /><br />This is the error that I am getting during the compilation of moxi:<br /> CC moxi-solaris_priv.o<br />In file included from memcached.h:588:0,<br /> from solaris_priv.c:5:<br />util.h:69:10: warning: redundant redeclaration of 'ntohll' [-Wredundant-decls]<br />In file included from /usr/include/netinet/in.h:72:0,<br /> from /usr/include/sys/socket.h:49,<br /> from config_static.h:46,<br /> from config.h:403,<br /> from solaris_priv.c:1:<br />/usr/include/sys/byteorder.h:97:17: note: previous declaration of 'ntohll' was here<br />In file included from memcached.h:588:0,<br /> from solaris_priv.c:5:<br />util.h:70:10: warning: redundant redeclaration of 'htonll' [-Wredundant-decls]<br />In file included from /usr/include/netinet/in.h:72:0,<br /> from /usr/include/sys/socket.h:49,<br /> from config_static.h:46,<br /> from config.h:403,<br /> from solaris_priv.c:1:<br />/usr/include/sys/byteorder.h:96:17: note: previous declaration of 'htonll' was here<br /> CCLD moxi<br />Undefined first referenced<br /> symbol in file<br />vbucket_get_vbucket_by_key moxi-mcs.o<br />vbucket_compare moxi-mcs.o<br />vbucket_found_incorrect_master moxi-mcs.o<br />vbucket_config_parse_string moxi-mcs.o<br />vbucket_config_get_num_servers moxi-mcs.o<br />vbucket_config_get_password moxi-mcs.o<br />vbucket_get_error moxi-agent_config.o<br />vbucket_config_get_user moxi-mcs.o<br />vbucket_free_diff moxi-mcs.o<br />vbucket_config_destroy moxi-mcs.o<br />vbucket_get_master moxi-mcs.o<br />vbucket_config_get_server moxi-mcs.o<br />ld: fatal: symbol referencing errors. No output written to moxi<br />collect2: error: ld returned 1 exit status<br />make[3]: *** [moxi] Error 1<br />make[3]: Leaving directory `/root/couchbase-server_src/moxi'<br />make[2]: *** [install-recursive] Error 1<br />make[2]: Leaving directory `/root/couchbase-server_src/moxi'<br />make[1]: *** [install] Error 2<br />make[1]: Leaving directory `/root/couchbase-server_src/moxi'<br />make: *** [make-install-moxi] Error 2Chaimhttps://www.blogger.com/profile/03228834455652028031noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-69403125397767168382013-08-02T16:05:55.626+02:002013-08-02T16:05:55.626+02:00This comment has been removed by the author.Chaimhttps://www.blogger.com/profile/03228834455652028031noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-7234886848396746962013-08-01T13:52:48.073+02:002013-08-01T13:52:48.073+02:00Hi, Sorry for the late answer, but I've been o...Hi, Sorry for the late answer, but I've been on vacation for a couple of weeks :-) I'll try to see if I still have the vm where I built it on (if not I'll try to rebuild a setup next week(ish)Anonymoushttps://www.blogger.com/profile/14981676567908297584noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-65439587332101250832013-08-01T13:50:16.139+02:002013-08-01T13:50:16.139+02:00I was able to bypass the snappy problem by using t...I was able to bypass the snappy problem by using the "make" command line below:<br /><br />make CXX="g++ -m64 -L/opt/local/lib --prefix=/opt/local" CC="gcc -m64 -std=gnu99 -L/opt/local/lib --prefix=/opt/local" LD_LIBRARY_PATH=/opt/local/lib:/usr/lib:/lib<br /><br />Now I'm stuck on moxi not finding the header files that are in 'install/include/libvbucket/'. I'll report back if I resolve this.<br />Any pointers would be welcome.Chaimhttps://www.blogger.com/profile/03228834455652028031noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-8977469506596238922013-07-30T16:20:07.379+02:002013-07-30T16:20:07.379+02:00Hi,
Hi Trond,
I am trying to compile Couchbase 2...Hi,<br /><br />Hi Trond,<br /><br />I am trying to compile Couchbase 2.0.1 on SmartOS (Image: base64 1.9.1) and am getting the following error on 'make':<br /><br />checking for snappy-c.h... no<br />checking for netinet/in.h... yes<br />checking for inttypes.h... (cached) yes<br />checking for libsnappy... no<br />configure: error: Failed to locate snappy-c.h<br />make: *** [couchstore/Makefile] Error 1<br /><br />I have installed the snappy-1.0.5 package which includes /opt/local/include/snappy-c.h<br />Any idea how to overcome this? Do you have any other pointers that I'll need for completing the build?<br />You mentioned above that you needed to use the "CXX=" and "CC=" workarounds, where did you place those values?<br /><br />Thanks!<br />ChaimChaimhttps://www.blogger.com/profile/03228834455652028031noreply@blogger.com