...谢大哥指点 我的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 --w...
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 能否解决下?
... 看代码: [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 sed that does not truncate output... /bin/sed ...
奇怪,运行不成功? 我在/home/zz/libcws下编译了libscws.a 然后执行gcc -o test -I/home/zz/libscws -L/home/zz/libcws test.c -lscws 提示: /usr/bin/ld: cannot find -lscws collect2: ld returned 1 exit status 是什么地方出错了?
...] [b]执行:[/b] [code][root@localhost phpext]# ./configure --with-scws=/usr/local/scws --with-php-config=/opt/lampp/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed ch...
...提示? Confirm the installation directory 请确认安装目录:/usr/local/xunsearch [Y/n]y Checking scws ... 1.1.8 Checking scws dict ... ok Checking libuuid ... yes: /usr Checking xapian-core-scws ... no Installing xapian-core-scws (1.2.7) ... Extracting xapian-core-scws package ....
...程出错,下面是setup.log checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for ...
...个情况,不知是否有有关系,我安装了SCWS-1.0.x后,运行/usr/local/scws/bin/scws -h 是不能运行的,只好在/etc/ld.so.conf中加入scws的lib路径才可以运行,但test.c测试程序无法编译,错误信息: test.c:1:10: #include expects "FILENAME" or test.c: In f...