jasonmc / forked-daapd

A re-write of the firefly media server (mt-daapd). It's released under GPLv2+. Please note that this git repository is a mirror of the official one at git://git.debian.org/~jblache/forked-daapd.git
http://blog.technologeek.org/2009/06/12/217
GNU General Public License v2.0
328 stars 45 forks source link

Zlib #44

Open arenstar opened 13 years ago

arenstar commented 13 years ago

For some strange reason.. i have installed zlib-devel (x64/i386) from YUM

however a ./configure

results in...

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

No package 'zlib' found

Any suggestions? How would i use the environmental variables?

leighman commented 12 years ago

Also having this problem on Ubuntu 10.04. Would appreciate some advice. Thanks.

ejurgensen commented 12 years ago

I had this problem too. I found out configure expects to find /usr/lib/pkgconfig/zlib.pc, which however is absent in some distributions. When it's there, zlib.pc contains something like this:

prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib sharedlibdir=${libdir} includedir=${prefix}/include

Name: zlib Description: zlib compression library Version: 1.2.5

Requires: Libs: -L${libdir} -L${sharedlibdir} -lz Cflags: -I${includedir}

sf666 commented 12 years ago

Thx. This helped!