Phalcon 설치가 우분투에서 오류를 발생시킵니다.

Phalcon 설치가 우분투에서 오류를 발생시킵니다.

아래 명령을 사용하여 우분투 14.04에 phalcon을 설치하려고 합니다.

자식 클론https://github.com/phalcon/cphalcon.git

CD cphalcon/빌드

sudo ./설치

그리고 이런 오류가 발생합니다

/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory
#include "pcre.h"
          ^
compilation terminated.

그런 다음 Google에서 오류를 검색하고 설치로 해결책을 찾았습니다.

sudo apt-get 설치 libpcre3-dev

내가 그렇게하려고하면 다음과 같은 오류가 발생합니다

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libpcre3-dev : Depends: libpcre3 (= 1:8.31-2ubuntu2) but 1:8.31-       2ubuntu2.1 is to be installed
        Depends: libpcrecpp0 (= 1:8.31-2ubuntu2) but 1:8.31-2ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.

이것 좀 도와주세요...

답변1

오류를 수정하는 방법을 모르겠습니다. 하지만 공식 문서를 따라야 합니다.

    $ curl -s "https://packagecloud.io/install/repos..." | sudo bash

    $  sudo apt-get install php7.0-phalcon

이제 특정 Linux 배포판(예: mint)에서는 오류가 발생할 수 있습니다. 나는 이것을 찾았다 동영상해당 오류를 제거하려면. /etc/apt/sources.list.d/phalcon_stable.list 파일에서 Linux 버전을 변경하기만 하면 됩니다. 예를 "/mint/ tessa"들어 "/debian/ stretch". 시청하세요동영상아직도 혼란스럽다면.

관련 정보