Primeiro, você tem certeza que precisa construir o PCRE a partir do código-fonte? A versão 8.31 de libpcre3
e pcregrep
estão disponíveis no repositório 14.04.
Seu erro é o uso de sudo
no comando
sudo ./configure && make && make install
Isso executa o script configure
como raiz (resultando em arquivos de saída de propriedade da raiz) e, em seguida, tenta executar make
e make install
como usuário normal. A etapa make
está falhando devido aos arquivos .deps/
de propriedade da raiz.
Não há um bom motivo para usar sudo
ao configurar e criar software a partir do código-fonte em seu próprio diretório inicial: em vez disso, execute
./configure
make
e, depois de confirmar que o software foi criado com êxito, use sudo
para o% finalmake install
- que faz requer privilégios de root, pelo menos para o local de instalação padrão
sudo make install
Para corrigir a propriedade agora, você precisará executar
sudo chown ashley:ashley /home/ashley/Downloads/pcre-8.37
ou remova todo o diretório e comece novamente com um tarball recém descompactado.