Advertisement:

Author Topic: support for zlib / Solved.  (Read 3400 times)

Offline Seg

  • Semi-Newbie
  • *
  • Posts: 50
  • Gender: Male
  • OMGWTFSOUP!!!
support for zlib / Solved.
« 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:
Code: [Select]
./configure --shared --prefix=/usr/local
Compiled php5 using the following options:
Code: [Select]
./configure  --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-zlib --with-zlib-dir=/usr/include
Now it works.
« Last Edit: August 19, 2006, 05:13:12 PM by Seg »
"If you feed us cans, do we not bleat?"