PHP+mysqli on OBSD wont compile

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
defect
Forum Newbie
Posts: 8
Joined: Wed Jun 14, 2006 2:59 pm
Location: Stockholm, Sweden

PHP+mysqli on OBSD wont compile

Post by defect »

hi,

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/lib
the three first; fastcgi, discard-path and force-redirect is because i run lighttpd.
this 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.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Looks like it doesn't want to compile using your version of the compiler or you are missing some files or have a path set incorrectly. I would try either downloading a newer or older version of the source code and either updating or downgrading your compiler. I'm not a Linux expert so it's hard to say from looking at the errors.
Post Reply