Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 1998 20:35:22 +0400 (MSD)
From:      Alex Osokin <ars@ars.ml.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   problem with PHP 3.0 and Apache (?)
Message-ID:  <Pine.LNX.3.96.980604201711.9151B-100000@ars>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.980604201711.9151B-100000>