Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: Seg on August 19, 2006, 03:43:04 PM

Title: support for zlib / Solved.
Post by: Seg on August 19, 2006, 03:43:04 PM
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.