{"action":"created","issue":{"url":"https://api.github.com/repos/openvenues/libpostal/issues/76","repository_url":"https://api.github.com/repos/openvenues/libpostal","labels_url":"https://api.github.com/repos/openvenues/libpostal/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/openvenues/libpostal/issues/76/comments","events_url":"https://api.github.com/repos/openvenues/libpostal/issues/76/events","html_url":"https://github.com/openvenues/libpostal/issues/76","id":163271025,"number":76,"title":"centos - configure can't find snappy","user":{"login":"krustyfur","id":58047,"avatar_url":"https://avatars.githubusercontent.com/u/58047?v=3","gravatar_id":"","url":"https://api.github.com/users/krustyfur","html_url":"https://github.com/krustyfur","followers_url":"https://api.github.com/users/krustyfur/followers","following_url":"https://api.github.com/users/krustyfur/following{/other_user}","gists_url":"https://api.github.com/users/krustyfur/gists{/gist_id}","starred_url":"https://api.github.com/users/krustyfur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krustyfur/subscriptions","organizations_url":"https://api.github.com/users/krustyfur/orgs","repos_url":"https://api.github.com/users/krustyfur/repos","events_url":"https://api.github.com/users/krustyfur/events{/privacy}","received_events_url":"https://api.github.com/users/krustyfur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-30T21:27:34Z","updated_at":"2016-07-01T16:01:45Z","closed_at":"2016-07-01T16:01:45Z","body":"Running CentOS 6.5, having to tweak the install instructions a bit due to differences between CentOS and Ubuntu. The configure script is failing to find snappy even when I specify the lib path it installed at to configure.\r\n\r\n```\r\n$ yum install curl snappy autoconf automake libtool pkgconfig\r\n$ yum info snappy\r\nInstalled Packages\r\nName        : snappy\r\nArch        : x86_64\r\nVersion     : 1.1.0\r\nRelease     : 1.el6\r\n[snip]\r\n\r\n$ find / -name \"*snappy*\" -print\r\n/var/lib/yum/yumdb/s/24a470a41217f3d9c27ea2db0e760fc18375531c-snappy-1.1.0-1.el6-x86_64\r\n/usr/share/doc/snappy-1.1.0\r\n/usr/lib64/libsnappy.so.1.1.4\r\n/usr/lib64/libsnappy.so.1\r\n\r\n$ git clone https://github.com/openvenues/libpostal\r\nInitialized empty Git repository in /root/libpostal/.git/\r\nremote: Counting objects: 13397, done.\r\nremote: Total 13397 (delta 0), reused 0 (delta 0), pack-reused 13397\r\nReceiving objects: 100% (13397/13397), 30.15 MiB | 5.91 MiB/s, done.\r\nResolving deltas: 100% (8304/8304), done.\r\n\r\n$ cd libpostal/\r\n$ ./bootstrap.sh \r\nlibtoolize: putting auxiliary files in `.'.\r\nlibtoolize: copying file `./ltmain.sh'\r\nlibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and\r\nlibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.\r\nlibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.\r\nconfigure.ac:8: installing `./config.guess'\r\nconfigure.ac:8: installing `./config.sub'\r\nconfigure.ac:6: installing `./install-sh'\r\nconfigure.ac:6: installing `./missing'\r\nsrc/Makefile.am: installing `./depcomp'\r\n\r\n$ ./configure LDFLAGS=-L/usr/lib64 --datadir=/var/lib/libpostal\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... /bin/mkdir -p\r\nchecking for gawk... gawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking build system type... x86_64-unknown-linux-gnu\r\nchecking host system type... x86_64-unknown-linux-gnu\r\nchecking for style of include used by make... GNU\r\nchecking for gcc... gcc\r\nchecking for C compiler default output file name... a.out\r\nchecking whether the C compiler works... yes\r\nchecking whether we are cross compiling... no\r\nchecking for suffix of executables... \r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking dependency style of gcc... gcc3\r\nchecking for a sed that does not truncate output... /bin/sed\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for fgrep... /bin/grep -F\r\nchecking for ld used by gcc... /usr/bin/ld\r\nchecking if the linker (/usr/bin/ld) is GNU ld... yes\r\nchecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B\r\nchecking the name lister (/usr/bin/nm -B) interface... BSD nm\r\nchecking whether ln -s works... yes\r\nchecking the maximum length of command line arguments... 1966080\r\nchecking whether the shell understands some XSI constructs... yes\r\nchecking whether the shell understands \"+=\"... yes\r\nchecking for /usr/bin/ld option to reload object files... -r\r\nchecking for objdump... objdump\r\nchecking how to recognize dependent libraries... pass_all\r\nchecking for ar... ar\r\nchecking for strip... strip\r\nchecking for ranlib... ranlib\r\nchecking command to parse /usr/bin/nm -B output from gcc object... ok\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking for dlfcn.h... yes\r\nchecking for objdir... .libs\r\nchecking if gcc supports -fno-rtti -fno-exceptions... no\r\nchecking for gcc option to produce PIC... -fPIC -DPIC\r\nchecking if gcc PIC flag -fPIC -DPIC works... yes\r\nchecking if gcc static flag -static works... no\r\nchecking if gcc supports -c -o file.o... yes\r\nchecking if gcc supports -c -o file.o... (cached) yes\r\nchecking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes\r\nchecking whether -lc should be explicitly linked in... no\r\nchecking dynamic linker characteristics... GNU/Linux ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking whether stripping libraries is possible... yes\r\nchecking if libtool supports shared libraries... yes\r\nchecking whether to build shared libraries... yes\r\nchecking whether to build static libraries... yes\r\nchecking for gcc option to accept ISO C99... -std=gnu99\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking for library containing snappy_compress... no\r\nconfigure: error: Could not find snappy\r\n```\r\n\r\nLooking in config.log I found\r\n```\r\nconfigure:11358: checking for library containing snappy_compress\r\nconfigure:11399: gcc -std=gnu99 -o conftest -g -O2  -L/usr/lib64 -L/usr/local/lib conftest.c  >&5\r\n/tmp/ccgFENMe.o: In function `main':\r\n/root/libpostal/conftest.c:33: undefined reference to `snappy_compress'\r\n```\r\n\r\nso it looks like the env variable is getting picked up, but it's just not finding snappy. How do I install this on Centos please?"},"comment":{"url":"https://api.github.com/repos/openvenues/libpostal/issues/comments/229984458","html_url":"https://github.com/openvenues/libpostal/issues/76#issuecomment-229984458","issue_url":"https://api.github.com/repos/openvenues/libpostal/issues/76","id":229984458,"user":{"login":"krustyfur","id":58047,"avatar_url":"https://avatars.githubusercontent.com/u/58047?v=3","gravatar_id":"","url":"https://api.github.com/users/krustyfur","html_url":"https://github.com/krustyfur","followers_url":"https://api.github.com/users/krustyfur/followers","following_url":"https://api.github.com/users/krustyfur/following{/other_user}","gists_url":"https://api.github.com/users/krustyfur/gists{/gist_id}","starred_url":"https://api.github.com/users/krustyfur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krustyfur/subscriptions","organizations_url":"https://api.github.com/users/krustyfur/orgs","repos_url":"https://api.github.com/users/krustyfur/repos","events_url":"https://api.github.com/users/krustyfur/events{/privacy}","received_events_url":"https://api.github.com/users/krustyfur/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T16:01:45Z","updated_at":"2016-07-01T16:01:45Z","body":"Thanks, that got me past that step. On to jpostal issues."}}
{"actor":{"display_login":"krustyfur"}}