From: "T. Onoma" Date: 2003-11-30T04:23:25+09:00 Subject: Re: Syck install on Debian Standard (Ruby 1.6.7) Knew this would happen. The Ruby part of Syck installed. But the PHP bindings still fail. Appearently a syntax error? I looked at the line. Maybe a comma missing. Thought it best to run it past here to be sure though and let others know about it. Here's the report from the sys admin: OK, that fixed the ext/ruby problem, but I still can't configure ext/php: (debian woody) -------------------- [/home/transami/lib/syck-0.42/ext/php] sh make_module.sh aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used autoconf: Undefined macros: ***BUG in Autoconf--please report*** AC_DEFINE configure.in:17: � �AC_MSG_ERROR(Cannot find php-config. Please use --with-php-config=PATH) creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc �) works... yes checking whether the C compiler (gcc �) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php4 -I/usr/include/php4/main -I/ usr/include/php4/Zend -I/usr/include/php4/TSRM checking for PHP extension directory... /usr/lib/php4/20010901 checking for syck support... yes, shared ./configure: line 1121: syntax error near unexpected token `PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,' ./configure: line 1121: ` �PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,' make: *** No targets specified and no makefile found. �Stop. make: *** No rule to make target `install'. �Stop. --------------------- And here's that line, starting at 1121: --------------------- PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL, PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $SYCK_DIR/lib, SYCK_SHARED_LIBADD) AC_DEFINE(HAVE_SYCKLIB,1,[ ]) , AC_MSG_ERROR([wrong syck lib version or lib not found]) , -L$SYCK_DIR/lib ) --------------------- -t0