From owner-freebsd-questions Thu Jun 4 09:33:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09854 for freebsd-questions-outgoing; Thu, 4 Jun 1998 09:33:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ars.dorms.spbu.ru (ars@ars.dorms.spbu.ru [195.19.252.194]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09832 for ; Thu, 4 Jun 1998 09:33:06 -0700 (PDT) (envelope-from ars@ars.ml.org) Received: from localhost (ars@localhost) by ars.dorms.spbu.ru (8.9.0/8.8.8) with SMTP id UAA09305 for ; Thu, 4 Jun 1998 20:35:26 +0400 Date: Thu, 4 Jun 1998 20:35:22 +0400 (MSD) From: Alex Osokin X-Sender: ars@ars To: freebsd-questions@FreeBSD.ORG Subject: problem with PHP 3.0 and Apache (?) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! Does anybody knows how to install PHP 3.0 as apache-module with apache 1.2.6 on 2.2.6 system? I can't do that yet :( When I type make (or gmake, no differences) I receive errors as follows: ... In file included from functions/mysql.c:58: /usr/include/netinet/in.h:212: parse error before `u_long' /usr/include/netinet/in.h:212: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:263: parse error before `u_char' /usr/include/netinet/in.h:263: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:264: warning: data definition has no type or storage class /usr/include/netinet/in.h:265: parse error before `sin_port' /usr/include/netinet/in.h:265: warning: data definition has no type or storage class /usr/include/netinet/in.h:268: parse error before `}' /usr/include/netinet/in.h:278: field `ip_dst' has incomplete type /usr/include/netinet/in.h:325: field `imr_multiaddr' has incomplete type /usr/include/netinet/in.h:326: field `imr_interface' has incomplete type In file included from /home/ars/db/apache_1.2.6rusPL22.2/src/conf.h:580, from /home/ars/db/apache_1.2.6rusPL22.2/src/httpd.h:59, from php.h:182, from functions/mysql.c:61: /usr/include/arpa/inet.h:71: warning: parameter has incomplete type /usr/include/arpa/inet.h:74: warning: parameter has incomplete type /usr/include/arpa/inet.h:78: warning: parameter has incomplete type In file included from php.h:182, from functions/mysql.c:61: /home/ars/db/apache_1.2.6rusPL22.2/src/httpd.h:577: field `local_addr' has incomplete type /home/ars/db/apache_1.2.6rusPL22.2/src/httpd.h:578: field `remote_addr' has incomplete type /home/ars/db/apache_1.2.6rusPL22.2/src/httpd.h:609: field `host_addr' has incomplete type /home/ars/db/apache_1.2.6rusPL22.2/src/httpd.h:665: field `local_addr' has incomplete type /usr/include/netinet/in.h:266: storage size of `sin_addr' isn't known *** Error code 1 And here make stops. Thanks for any suggestion! P.S. I'm use Apache distribution with russian patch. Also I tried to use "clear" Apache distribution do build PhP and received the same errors. Sources for 2.2.6 were cvsuped and world was rebuilt about 3 weeks ago. Regards, Alex Osokin mailto:ars@ars.ml.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message