Gentoo Archives: gentoo-server

From: Christopher Schwerdt <Chris.Schwerdt@×××××××××××××××.com>
To: gentoo-server@l.g.o
Subject: RE: [gentoo-server] Need help installing Apache with PHP on our server
Date: Fri, 10 Feb 2006 00:40:21
Message-Id: CED6FEF5591A904AB06F318A5E7502AF1A4A33@exchangenew.psi-cu-software.com
1 > In file included from
2 > /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:37:
3 > /var/tmp/portage/php-4.4.1-r3/work/php-
4 > 4.4.1/ext/odbc/php_odbc_includes.h:185:21:
5 > WINDOWS.H: No such file or directory
6 > /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c: In
7 > function `zif_odbc_execute':
8 > /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:977:
9 > warning: dereferencing type-punned pointer will break strict-aliasing
10 > rules
11 > /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c: In
12 > function `odbc_do_connect':
13 > /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2212:
14 > error: `ODBC_TYPE' undeclared (first use in this function)
15 > /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2212:
16 > error: (Each undeclared identifier is reported only once
17 > /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2212:
18 > error: for each function it appears in.)
19 > /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2226:
20 > warning: dereferencing type-punned pointer will break strict-aliasing
21 > rules
22 > /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2296:
23 > warning: dereferencing type-punned pointer will break strict-aliasing
24 > rules
25 > make: *** [ext/odbc/php_odbc.lo] Error 1
26
27 I'm not very familiar w/ ODBC on *NIX but it appears that for some reason the ODBC extension is looking for WINDOWS.H and can't find it. If you don't need ODBC support (if you do, you'll know it) then I'd disable that USE flag and try compiling again.
28
29 -Chris
30
31
32 --
33 gentoo-server@g.o mailing list