- 论坛徽章:
- 0
|
本帖最后由 wojuexingle 于 2015-08-29 16:41 编辑
错误信息:
ext/standard/.libs/rand.o(.text+0x4a4): In function `php_rand':
/home/php-5.5.13/ext/standard/rand.c:74: warning: random() may return deterministic values, is that what you want?
main/.libs/php_sprintf.o(.text+0x38 ): In function `php_sprintf':
/home/php-5.5.13/main/php_sprintf.c:38: warning: vsprintf() is often misused, please use vsnprintf()
/usr/local/mysql/lib/libmysqlclient.so.18.0: warning: stpcpy() is dangerous; do not use it
ext/ereg/regex/.libs/regcomp.o(.text+0xa3c): In function `p_bracket':
/home/php-5.5.13/ext/ereg/regex/regcomp.c:1170: warning: strcpy() is almost always misused, please use strlcpy()
ext/mbstring/oniguruma/.libs/regerror.o(.text+0x4a7): In function `onig_snprintf_with_pattern':
/home/php-5.5.13/ext/mbstring/oniguruma/regerror.c:342: warning: strcat() is almost always misused, please use strlcat()
ext/mbstring/oniguruma/.libs/regerror.o(.text+0x40a): In function `sprint_byte_with_x':
/home/php-5.5.13/ext/mbstring/oniguruma/regerror.c:192: warning: sprintf() is often misused, please use snprintf()
ext/openssl/.libs/openssl.o(.text+0x2b48 ): In function `php_openssl_generate_private_key':
/home/php-5.5.13/ext/openssl/openssl.c:917: undefined reference to `RAND_egd'
collect2: ld returned 1 exit status
*** Error 1 in /home/php-5.5.13 (Makefile:272 'sapi/cli/php')
编译选项:
./configure \
--prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/etc \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-mysql-sock=/tmp/mysql.sock \
--with-gd \
--with-iconv-dir \
--with-zlib \
--enable-xml \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--enable-inline-optimization \
--enable-mbregex \
--enable-fpm \
--enable-mbstring \
--enable-ftp\
--enable-gd-native-ttf \
--with-openssl \
--enable-pcntl \
--enable-sockets \
--with-xmlrpc \
--enable-zip \
--enable-soap \
--without-pear \
--with-gettext \
--enable-session \
--with-mcrypt \
--with-curl
pkg_info情况:
autoconf-2.59p4 automatically configure source code on many Un*x platforms
autoconf-2.69p1 automatically configure source code on many Un*x platforms
automake-1.9.6p11 GNU Standards-compliant Makefile generator
bzip2-1.0.6p1 block-sorting file compressor, unencumbered
cmake-3.1.3 portable build system
curl-7.40.0 get files from FTP, Gopher, HTTP or HTTPS servers
cyrus-sasl-2.1.26p12 RFC 2222 SASL (Simple Authentication and Security Layer)
femail-1.0p0 simple SMTP client
femail-chroot-1.0p0 simple SMTP client for chrooted web servers
freetype-1.3.1p3 free and portable TrueType font rendering engine
freetype-doc-1.3.1 documentation for FreeType
gd-2.1.0 library for dynamic creation of images
gettext-0.19.4 GNU gettext
glib2-2.42.1p0 general-purpose utility library
glib2mm-2.42.0p0 C++ interface for glib2
gmake-4.1p0 GNU make
icon-interp-9.5.1 programming language with generators, X11 and more
icon-lib-9.5.1 useful and interesting programs for Icon
icu4c-54.1p3 International Components for Unicode
jpeg-9a IJG's JPEG compression utilities
libarchive-3.0.4p0 multi-format archive and compression library
libelf-0.8.13p2 read, modify, create ELF files on any arch
libevent-2.0.22 event notification library
libffi-3.0.13 Foreign Function Interface
libiconv-1.14p1 character set conversion library
libidn-1.29p0 internationalized string handling
libltdl-2.4.2p0 GNU libtool system independent dlopen wrapper
libmcrypt-2.5.8p1 interface to access block/stream encryption algorithms
libpqxx-4.0.1 C++ client API for PostgreSQL
libsigc++-2.4.0 callback framework for C++
libtool-2.4.2p0 generic shared library support script
libvpx-1.3.0p1 Google VP8/VP9 video codec
libxml++-2.36.0p1 C++ wrapper for the libxml XML parser library
libxml-2.9.2p0 XML parsing library
mcrypt-2.6.8p4 extendable encryption program that supports many ciphers
metaauto-1.0p1 wrapper for gnu auto*
mhash-0.9.9.9 strong hash library
openldap-client-2.4.40 open-source LDAP software (client)
openldap-server-2.3.43p15 open-source LDAP software (server, legacy version)
openssl-1.0.1k TLS/SSL library and tools
p5-Clone-0.37 recursively copy Perl datatypes
p5-DBI-1.633 unified perl interface for database access
p5-FreezeThaw-0.5001 module for converting structures to strings and back
p5-MLDBM-2.05 store multi-level hash structure in single-level tied hash
p5-Net-Daemon-0.48p0 extension for portable daemons
p5-Params-Util-1.07p0 utility to make parameter checking easier
p5-PlRPC-0.2018p2 module for writing rpc servers and clients
p5-SQL-Statement-1.405 sql parsing and processing
partial-php-5.5.22 server-side HTML-embedded scripting language
pcre-8.35 perl-compatible regular expression library
png-1.6.16 library for manipulating PNG images
postgresql-client-9.4.1 PostgreSQL RDBMS (client)
python-2.7.9p0 interpreted object-oriented programming language
quirks-2.54 exceptions to pkg_add rules
spawn-fcgi-1.6.3p0 spawn FastCGI processes
t1lib-5.1.2 Type 1 rasterizer library for UNIX/X11
tiff-4.0.3p2 tools and library routines for working with TIFF images
wget-1.16.1 retrieve files from the web via HTTP, HTTPS and FTP
xmlrpc-c-1.06.35 XML-RPC C/C++ client-server implementation
xz-5.2.0 LZMA compression and decompression tools
去掉 --with-openssl后又出现如下错误:
ext/standard/.libs/rand.o(.text+0x4a4): In function `php_rand':
/home/php-5.5.13/ext/standard/rand.c:74: warning: random() may return deterministic values, is that what you want?
main/.libs/php_sprintf.o(.text+0x3 : In function `php_sprintf':
/home/php-5.5.13/main/php_sprintf.c:38: warning: vsprintf() is often misused, please use vsnprintf()
/usr/local/mysql/lib/libmysqlclient.so.18.0: warning: stpcpy() is dangerous; do not use it
ext/ereg/regex/.libs/regcomp.o(.text+0xa3c): In function `p_bracket':
/home/php-5.5.13/ext/ereg/regex/regcomp.c:1170: warning: strcpy() is almost always misused, please use strlcpy()
ext/mbstring/oniguruma/.libs/regerror.o(.text+0x4a7): In function `onig_snprintf_with_pattern':
/home/php-5.5.13/ext/mbstring/oniguruma/regerror.c:342: warning: strcat() is almost always misused, please use strlcat()
ext/mbstring/oniguruma/.libs/regerror.o(.text+0x40a): In function `sprint_byte_with_x':
/home/php-5.5.13/ext/mbstring/oniguruma/regerror.c:192: warning: sprintf() is often misused, please use snprintf()
make: don't know how to make cgi (prerequisite of: install)
Stop in /home/php-5.5.13
各位大神,怎么办,网上没资料 |
|