ive been trying to compile PHP with mysqli-support on my openbsd-box for some time now, but i cant seem to get it right. this is the configure-line i try to use:
Code: Select all
./configure --enable-fastcgi --enable-discard-path --enable-force-redirect --with-mysqli=/usr/local/mysql/bin/mysql_config --with-gd --enable-freetype --with-config-file-path=/etc/php.ini --with-zlib-dir=/usr/local/lib --with-png-dir=/usr/local/include/libpng/ --with-jpeg-dir=/usr/local/libthis works perfectly but when i try to run 'make' i get quite a few errors.
i don't want to paste the whole thing here so ive uploaded it to a txt-file here (mysql 4.1 with php 5.1.3)
ive tried a lot of different combinations between mysql-version and php-version. ive tried mysql 4.1, 5.0 and 5.1 with php 5.1.3 and 5.1.4 but i always get the same thing.
ive also tried googling and looking in the php mailing lists for my error but i cant seem to find it.
thankful for any help.