News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

support for zlib / Solved.

Started by Seg, August 19, 2006, 03:43:04 PM

Previous topic - Next topic

Seg

SMF 1.1 RC2
FreeBSD 6.1-RELEASE

I FINALLY solved the problem of php (and thus SMF) not seeing zlib. For many this might be a simple fix, but for my system it was a headless-chicken-dance to compile with the right options.
I added FreeeBSD packages:
Quote
m4-1.4.4
bison-2.1_1
lemon-1.33
re2c-0.9.12

Downloaded zlib from zlib.org and compiled with the following options:
./configure --shared --prefix=/usr/local


Compiled php5 using the following options:
./configure  --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-zlib --with-zlib-dir=/usr/include


Now it works.
"If you feed us cans, do we not bleat?"

Advertisement: