这样设置后 ./configure --with-scws=/usr/local/scws --with-php-config=/usr/local/php/bin/php-config 然后还是出错 不加--with-php-config=/usr/local/php/bin/php-config不会出错,但是PHP无法加载 # make /bin/sh /niran/fenci/scws-1.1.2/phpext/libtool --mode=compile gcc -I...
.../include -I/niran/fenci/scws/phpext/main -I/niran/fenci/scws/phpext -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/scws/include ...
...版本的安装步骤,却发现出错了: 看代码: [code] [root@localhost phpext]# ./configure --with-scws=/usr/local/scws/ --with-php-config=/usr/local/php5/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a s...
既然这样你编译的scws应当是要给自己安装的 /usr/local/php 使用的对吧?如果你编译的结果是给另一个版本的php用,则应当用/usr/bin/php-config 及 phpize 确认一下扩展编译步骤(在 scws-1.1.5/phpext/ 目录下运行以下): /usr/local/php/bin/phpi...
gcc -o test -I/usr/local/scws/include/scws -L /usr/local/scws/lib test.c -lscws -Wl,--rpath -Wl, /usr/local/scws/lib /usr/bin/ld: cannot find /usr/local/scws/lib: File format not recognized collect2: ld returned 1 exit status Hightman 能否解决下?
...php-config路径去安装. 看你发的URL PHP应该是被安装在 /usr/local/php 下,那么你编译 scws 应该按以下步骤: 1. /usr/local/php/bin/phpize --clean 2. /usr/local/bin/bin/phpize 3 ./configure --with-scws=/usr/local/scws --with-php-config=/usr/local/php/bin/php-config 4. mak...
...指定安装目录 (默认为中括号内的值) [/root/xunsearch]:/usr/local/xunsearch Confirm the installation directory 请确认安装目录:/usr/local/xunsearch [Y/n]y Checking scws ... 1.2.3-dev Checking scws dict ... ok Checking libuuid ... yes: /usr/local/xunsearch Checking xapi...
...哥指点 我的php编译大致是这样的 ./configure --prefix=/usr/local/php51 --with-config-file-path=/usr/local/php51/etc --with-mysql=/usr/local/mysql51 --with-mysqli=/usr/local/mysql51/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zl...
...也不能判断系统中是否装有两个php。我手动把php装在 /usr/local/php 中,是编译安装的,我用 find 令命搜索的结果是: find / -name php -print /home/www/yj/fckeditor/editor/filemanager/connectors/php #这个是网页文件 /home/soft/php-5.3.4/sapi/cli/php #这...
... tar jxvf scws-1.1.7.tar.bz2 cd scws-1.1.7 ./configure --prefix=/usr/local/scws-1.1.7 make make install ls -al /usr/local/scws-1.1.7/lib/libscws.la /usr/local/scws-1.1.7/bin/scws -h #两外我将字典文件放入了 /usr/local/scws-1.1.7/etc 下面 /opt/php-5.2.17/bin/phpize #说...