看板FreeBSD
标 题编译php 在suse 9.1上
发信站无名小站 (Thu Nov 25 10:50:37 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!wretch
我在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海