yhp050 发表于 2013-11-12 16:25

freebsd8.4 port安装phpmyadmin报错,求救!

各位大神,如题,错误信息如下:
Build complete.
Don't forget to run 'make test'.
===>Installing for php5-ctype-5.4.13
===>   php5-ctype-5.4.13 depends on file: /usr/local/include/php/main/php.h - found
===>   Generating temporary packing list
===>Checking if textproc/php5-ctype already installed
===>   php5-ctype-5.4.13 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of textproc/php5-ctype
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/textproc/php5-ctype.
*** Error code 1

Stop in /usr/ports/databases/phpmyadmin.
*** Error code 1

Stop in /usr/ports/databases/phpmyadmin.
请问这是咋回事呀?

ykklle 发表于 2013-11-12 17:34

首先,你编译成功了
其次,你安装失败
    因为你的原来软件包已经安装
      不能在没卸载的时候再安装
            根据提示的命令行先卸载,再安装
            下次可以用包管理工具代替`make install clean`操作,比如portmaster, 或者portupgrade

yhp050 发表于 2013-11-13 09:11

谢谢楼上的,用portmaster安装成功了,但是在打开phpmyadmin的时候又报错了,
The session extension is missing. Please check your PHP configuration.
这个该怎么解决呀?:lol

yhp050 发表于 2013-11-13 10:24

呵呵,重新安装了php之后就ok了,谢谢
页: [1]
查看完整版本: freebsd8.4 port安装phpmyadmin报错,求救!