Сборка libpuzzle из исходников по официальной инструкции вызывает следующую ошибку:
$ wget http://download.pureftpd.org/pub/pure-ftpd/misc/libpuzzle/releases/libpuzzle-0.11.tar.gz $ tar xzvpf libpuzzle-0.11.tar.gz $ cd libpuzzle-0.11/php/libpuzzle $ phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 $ ./configure --with-libpuzzle checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /home/travis/.phpenv/versions/5.4.28 checking for PHP includes... -I/home/travis/.phpenv/versions/5.4.28/include/php -I/home/travis/.phpenv/versions/5.4.28/include/php/main -I/home/travis/.phpenv/versions/5.4.28/include/php/TSRM -I/home/travis/.phpenv/versions/5.4.28/include/php/Zend -I/home/travis/.phpenv/versions/5.4.28/include/php/ext -I/home/travis/.phpenv/versions/5.4.28/include/php/ext/date/lib checking for PHP extension directory... /home/travis/.phpenv/versions/5.4.28/lib/php/extensions/no-debug-zts-20100525 checking for PHP installed headers prefix... /home/travis/.phpenv/versions/5.4.28/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking for libpuzzle support... yes, shared ./configure: line 4088: --ldflags: command not found ./configure: line 4089: --cflags: command not found checking for libpuzzle files in default path... not found configure: error: Please reinstall the libpuzzle distribution