2017-07-06 6 views
0

はoff_tだけで簡単な質問:私はPHP 7.1.6をコンパイルしたいとのconfigureスクリプトを実行中に次の問題に実行している:PHPのコンパイル:未定義

checking size of short... (cached) 2 
checking size of int... (cached) 4 
checking size of long... (cached) 8 
checking size of long long... (cached) 8 
checking size of off_t... 0 
configure: error: off_t undefined; check your library configuration 

これらは私のconfigureオプションは次のとおりです。

./configure --prefix=/usr/local/php --disable-all --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-pdo --with-pdo-mysql=/usr/local/mysql --with-zlib=/usr/local --with-zlib-dir=/usr/local --with-ldap=/usr/local --with-curl=/usr/local --with-openssl=/usr/local/ssl --with-libxml-dir=/usr/local --with-iconv=/usr/local --with-iconv-dir=/usr/local --with-pcre-regex=/usr/local --with-pcre-dir=/usr/local --enable-filter --disable-debug --enable-inline-optimization --disable-rpath --disable-static --enable-session --enable-dom --enable-json --enable-ctype --enable-hash --enable-tokenizer --enable-xmlreader --enable-shared --enable-xml --enable-libxml --enable-simplexml --with-pic --enable-bcmath --with-gd --with-freetype-dir=/usr/local --with-png-dir=/usr/local --with-jpeg-dir=/usr/local --enable-gd-native-ttf --enable-mbstring --enable-zip --enable-intl --enable-soap --enable-exif 

多分あなたの誰かが私のためにいくつかのヒントを持っていますか?

答えて

0

私の解決策は、libzipソースから/ usr/local/include /に "zipconf.h"をコピーすることでした!
このファイルはありませんでした。

関連する問題