Subject: compiling www/ap-php3 on -current
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 04/02/2000 20:01:58
am I the only one to see this:
...
cc -O2 -I/usr/pkg/include -DPIC -fPIC -DPHP_INTERNAL_FUNCS -I. -I.
-I/usr/pkg/include/httpd -c functions/mysql.c -o functions/mysql.o
In file included from /usr/include/netinet/in.h:371,
from functions/mysql.c:68:
/usr/include/netinet6/in6.h:141: syntax error before `u_char'
/usr/include/netinet6/in6.h:422: syntax error before `u_int'
/usr/include/netinet6/in6.h:430: syntax error before `u_int'
*** Error code 1
Aside that I think that our headers should be fixed, I don't understand
why it happens. I've tried to look into it, but didn't find a better
solutioon other than adding a "#include <sys/types.h>" at the very start
of functions/mysql.c, although this file _should_ be pulled in.
Can someone please have a second look?
I do have mysql-client-3.22.32, postgresql-6.5.3, php-3.0.7 and
php-pgsql-3.0.7 installed, for what's it worth.
- Hubert
--
Microsoft: "Where do you want to go today?"
Linux: "Where do you want to be tomorrow?"
BSD: "Are you guys coming, or what?"