Forum Moderators: bakedjake
When running pkg_info
apache-1.3.29_3
mysql-client-4.1.1_1
and much much more (dependencies)
I had PHP installed, but without MySQL support.
So I used pkg_delete, and got rid of it. I went into the ports tree to /usr/ports/www/mod_php5
I did a make clean to make sure that everything was clean (obviously!) and then ran make
Up comes a screen to select configuration options, to the default, I add FTP, GD, and MySQL.
It carries on spewing pages of information, everything appears copacetic until ... CATASTROPHE!
/usr/local/include/mysql/mysql.h:128: my_alloc.h: No such file or directory
In file included from /usr/ports/www/mod_php5/work/php-5.0.0a6/ext/mysql/php_mysql.c:57:
/usr/local/include/mysql/mysql.h:134: syntax error before `MEM_ROOT'
/usr/local/include/mysql/mysql.h:221: syntax error before `MEM_ROOT'
/usr/local/include/mysql/mysql.h:269: syntax error before `MEM_ROOT'
/usr/local/include/mysql/mysql.h:538: syntax error before `MEM_ROOT'
*** Error code 1Stop in /usr/ports/www/mod_php5/work/php-5.0.0a6.
*** Error code 1Stop in /usr/ports/www/mod_php5.
*** Error code 1Stop in /usr/ports/www/mod_php5.
What am I doing wrong?