os diretórios do Freetype não estão criando, dizendo que o compilador C não está disponível

0
FreeType build system -- automatic system detection

The following settings are used:

  platform                    unix
  compiler                    cc
  configuration directory     ./builds/unix
  configuration rules         ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
'config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type 'make' again to build the library,
or 'make refdoc' to build the API reference (the latter needs python).

cd builds/unix; /bin/sh ./configure  '--build=i686-pc-linux-gnu' 'CFLAGS=-m32CXXFLAGS=-m32LDFLAGS=-m32'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in '/home/vr/vv/freetype-2.4.12/builds/unix':
configure: error: C compiler cannot create executables
See 'config.log' for more details
builds/unix/detect.mk:86: recipe for target 'setup' failed
make: *** [setup] Error 77
    
por vishal raut 01.02.2018 / 06:54

1 resposta

0

No primeiro freetype é empacotado .

Se você precisar compilá-lo, deverá ativar os repositórios de código-fonte em Software & amp; Atualizações ( software-properties-gtk ) e, em seguida, instale as dependências de compilação build-essential package e freetype com:

sudo apt-get install build-essential
sudo apt-get build-dep freetype

Você pode verificar se ele é compilado com sucesso com

apt-get source freetype --compile

Se você estiver tentando compilar pacotes para o sistema embarcado, pode consultar a documentação do sistema de compilação e da cadeia de ferramentas. Se você está tentando compilar bibliotecas de 32 bits no sistema de 64 bits - será mais simples se você usar o debootstrap do schroot.

    
por N0rbert 01.02.2018 / 20:49