{"comment":{"created_at":"2011-10-13T18:18:53Z","body":"Cool. I think this is Gentoo-related, I found it on their forums.","updated_at":"2011-10-13T18:18:53Z","url":"https://api.github.com/repos/nicolasff/phpredis/issues/comments/2398095","id":2398095,"user":{"avatar_url":"https://secure.gravatar.com/avatar/52bfb33c135632c6b6c2f6645247ace5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"52bfb33c135632c6b6c2f6645247ace5","url":"https://api.github.com/users/nicolasff","id":7276,"login":"nicolasff"}},"action":"created","issue":{"number":60,"created_at":"2011-10-12T20:49:01Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I'm kind of a n00b when it comes to libtool and brothers but I'd like to know if there's something I can do to fix this (other version of a certain tool), or that it's better to wait for a fix. If more info is needed, I will be glad to help.\r\n\r\n<b>$ phpize:</b>\r\n<pre>\r\nConfiguring for:\r\nPHP Api Version:         20090626\r\nZend Module Api No:      20090626\r\nZend Extension Api No:   220090626\r\nconfigure.in:3: warning: prefer named diversions\r\nconfigure.in:3: warning: prefer named diversions\r\n</pre>\r\n<b>$ ./configure</b>\r\n<pre>\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for a sed that does not truncate output... /bin/sed\r\nchecking for cc... cc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether cc accepts -g... yes\r\nchecking for cc option to accept ISO C89... none needed\r\nchecking how to run the C preprocessor... cc -E\r\nchecking for icc... no\r\nchecking for suncc... no\r\nchecking whether cc understands -c and -o together... yes\r\nchecking for system library directory... lib\r\nchecking if compiler supports -R... no\r\nchecking if compiler supports -Wl,-rpath,... yes\r\nchecking build system type... x86_64-unknown-linux-gnu\r\nchecking host system type... x86_64-unknown-linux-gnu\r\nchecking target system type... x86_64-unknown-linux-gnu\r\nchecking for PHP prefix... /usr/lib64/php5.3\r\nchecking for PHP includes... -I/usr/lib64/php5.3/include/php -I/usr/lib64/php5.3/include/php/main -I/usr/lib64/php5.3/include/php/TSRM -I/usr/lib64/php5.3/include/php/Zend -I/usr/lib64/php5.3/include/php/ext -I/usr/lib64/php5.3/include/php/ext/date/lib\r\nchecking for PHP extension directory... /usr/lib64/php5.3/lib/extensions/no-debug-zts-20090626\r\nchecking for PHP installed headers prefix... /usr/lib64/php5.3/include/php\r\nchecking if debug is enabled... no\r\nchecking if zts is enabled... no\r\nchecking for re2c... no\r\nconfigure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.\r\nchecking for gawk... gawk\r\nchecking whether to enable redis support... yes, shared\r\nchecking whether to enable sessions... yes\r\nchecking for ld used by cc... /usr/x86_64-pc-linux-gnu/bin/ld\r\nchecking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes\r\nchecking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r\r\nchecking for BSD-compatible nm... /usr/bin/nm -B\r\nchecking whether ln -s works... yes\r\nchecking how to recognize dependent libraries... pass_all\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 dlfcn.h usability... yes\r\nchecking dlfcn.h presence... yes\r\nchecking for dlfcn.h... yes\r\nchecking the maximum length of command line arguments... 1572864\r\nchecking command to parse /usr/bin/nm -B output from cc object... ok\r\nchecking for objdir... .libs\r\nchecking for ar... ar\r\nchecking for ranlib... ranlib\r\nchecking for strip... strip\r\nchecking if cc supports -fno-rtti -fno-exceptions... no\r\nchecking for cc option to produce PIC... -fPIC\r\nchecking if cc PIC flag -fPIC works... yes\r\nchecking if cc static flag -static works... yes\r\nchecking if cc supports -c -o file.o... yes\r\nchecking whether the cc linker (/usr/x86_64-pc-linux-gnu/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... no\r\n\r\ncreating libtool\r\nappending configuration tag \"CXX\" to libtool\r\nconfigure: creating ./config.status\r\nconfig.status: creating config.h\r\nconfig.status: config.h is unchanged\r\n</pre>\r\n\r\n<b>$ make</b>\r\n<pre>\r\n/bin/sh /home/sju/phpredis/libtool --mode=compile cc  -I. -I/home/sju/phpredis -DPHP_ATOM_INC -I/home/sju/phpredis/include -I/home/sju/phpredis/main -I/home/sju/phpredis -I/usr/lib64/php5.3/include/php -I/usr/lib64/php5.3/include/php/main -I/usr/lib64/php5.3/include/php/TSRM -I/usr/lib64/php5.3/include/php/Zend -I/usr/lib64/php5.3/include/php/ext -I/usr/lib64/php5.3/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/sju/phpredis/redis.c -o redis.lo \r\n/home/sju/phpredis/libtool: line 481: CDPATH: command not found\r\nlibtool: Version mismatch error.  This is libtool 2.4, but the\r\nlibtool: definition of this LT_INIT comes from an older release.\r\nlibtool: You should recreate aclocal.m4 with macros from libtool 2.4\r\nlibtool: and run autoconf again.\r\nmake: *** [redis.lo] Error 63\r\n\r\n\r\n</pre>\r\n\r\n<b>System:</b>\r\n<pre>\r\n$ uname -a\r\nLinux 2.6.38-gentoo-r6 #1 SMP Fri Jul 15 12:49:09 CEST 2011 x86_64\r\n\r\n$ libtool --version\r\nlibtool (GNU libtool) 2.4\r\n\r\n$ gcc --version\r\ngcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5\r\n\r\n$ autoconf --version\r\nautoconf (GNU Autoconf) 2.68\r\n\r\n$ automake --version\r\nautomake (GNU automake) 1.11.1\r\n\r\n$ php --version\r\nPHP 5.3.8-pl0-gentoo (cli) (built: Aug 31 2011 20:55:30) \r\nCopyright (c) 1997-2011 The PHP Group\r\nZend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies\r\n    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans\r\n\r\n</pre>\r\n","comments":3,"title":"make failes on Gentoo","updated_at":"2011-10-13T18:18:53Z","url":"https://api.github.com/repos/nicolasff/phpredis/issues/60","id":1893389,"assignee":null,"milestone":null,"closed_at":"2011-10-13T18:18:53Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/cebe388ba6ae7a2cd2954cb501b496e7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"cebe388ba6ae7a2cd2954cb501b496e7","url":"https://api.github.com/users/sju","id":1123553,"login":"sju"},"html_url":"https://github.com/nicolasff/phpredis/issues/60","labels":[{"name":"need feedback","url":"https://api.github.com/repos/nicolasff/phpredis/labels/need+feedback","color":"9340bd"}],"state":"closed"},"legacy":{"issue_id":1893389,"comment_id":2398095}}