2012-11-28 2 views
2

1을 발견 폰트 포지 우분투 12.04은 내가 그것을 말한다 ./configure를 하려고 할 때 설치 :없음 패키지 'ZLIB가'

checking for ZLIB... configure: error: Package requirements (zlib) were not met: 

No package 'zlib' found 

Consider adjusting the PKG_CONFIG_PATH environment variable if you 
installed software in a non-standard prefix. 

Alternatively, you may set the environment variables ZLIB_CFLAGS 
and ZLIB_LIBS to avoid the need to call pkg-config. 
See the pkg-config man page for more details. 

2, 내가 그것을

을 말한다 ZLIB 사용 적성을 설치하려고

3

packages contain "zlib" in their name: 
    libio-compress-zlib-perl libcompress-raw-zlib-perl libcompress-zlib-perl 
    gambas2-gb-compress-zlib libghc6-zlib-dev libghc6-zlib-doc libzlib-ruby 
    zlibc zlib-bin libghc6-zlib-prof zlib-gst gambas2-gb-compress-bzlib2 
    haskell-zlib-doc libio-zlib-perl zlib1g-dbg zlib1g-dev 
    libghc6-zlib-prof-0.5.2.0-b96bd zlib1g libzlib-ruby1.8 libjzlib-java 
    libghc6-zlib-dev-0.5.2.0-b96bd 
No packages will be installed, upgraded, or removed. 
0 packages upgraded, 0 newly installed, 0 to remove and 69 not upgraded. 
Need to get 0B of archives. After unpacking 0B will be used. 
Writing extended state information... Done 
Reading package lists... Done    
Building dependency tree  
Reading state information... Done 
Reading extended state information  
Initializing package states... Done 
는, 마지막으로 내가 zlib1g를 설치하지만, 폰트 포지의 구성은을 ZLIB를 너무 찾을 수 없습니다때 dpkg -l zlib1g

Desired=Unknown/Install/Remove/Purge/Hold 
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend 
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) 
||/ Name   Version  Description 
+++-==============-==============-============================================ 
ii zlib1g   1:1.2.3.3.dfsg compression library - runtime 

가 어떻게 환경 변수 ZLIB_CFLAGS 및 ZLIB_LIBS 을 config (설정) 할 필요가 있습니까?

답변

5

소스에서 무언가를 컴파일하므로 사용 가능한 헤더가 필요하며 항상 -dev 패키지 즉 zlib1g-dev에 있습니다.