編譯php 在suse 9.1上
我在suse9.1上要安裝mysql 4.1+php+apache
php 須要modules
--enable-sockets
--with-freetype-dir
--with-gd
--with-gdbm
--with-gettext
--with-zlib-dir
--with-iconv
--with-jpeg-dir=
--with-openssl
--with-png--dir
--with-xpm
--with-mysql
--with-mysql-sock=/var/lib/mysql/
--with-xml
--with-ttf
--with-curl
下載了php-4.3.10RC1
./configure --prefix=/usr/php --enable-sockets \
--with-config-file-path=/etc --enable-force-cgi-redirect \
--disable-debug --with-freetype-dir=/usr --with-gd \
--with-gdbm --with-gettext --with-zlib-dir=/usr \
--with-iconv --with-jpeg-dir=/usr --with-openssl \
--with-png--dir=/usr --with-curl --with-xpm \
--with-mysql --with-mysql-sock=/var/lib/mysql/ \
--with-xml --with-ttf --with-apxs2=/usr/sbin/apxs2
make
ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam':
/home/cim/php-4.3.10RC1/ext/mysql/libmysql/my_tempnam.c:115: warning:
the use of `tempnam' is dangerous, better use `mkstemp'
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
沒有產生mysql.so
請問要如何解決這個問題
--
夫兵者不祥之器物或惡之故有道者不處君子居則貴左用兵則貴右兵者不祥之器非君子
之器不得已BLOG http://www.wretch.cc/blog 安西教練 我想寫日記 嗚嗚o志於天下
矣吉事尚左凶事尚右偏將軍居左上將軍居右言以喪禮處之殺人之眾以哀悲泣之戰勝以
喪禮處之道常無名樸雖小天下莫能臣侯王若能守之萬物將自賓天地相合以降甘露民莫
之令而自均始制有名名亦既有夫亦將知止知止可以不殆譬道之在天下163.17.12.95海
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章