httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Problems Compiling Apache 1.3.27 on Solaris 5.7
Date Tue, 01 Apr 2003 16:05:28 GMT
>-----Original Message-----
>From: Albert E. Whale, CISSP [mailto:aewhale@ABS-CompTech.com]

>
>I am installing from Source on a Sun Solaris 2.7 Sun Sparc Server.  I
>have to re-install in order to support the PHP Software for the
>platform.
>
>While compiling the software, I encounter the following errors:
>
>
>gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=270 -DEAPI
>`../../apaci` -fPIC -DSHARED_MODULE mod_auth_db.c && mv mod_auth_db.o

What is your ./configure line like? You shouldn't need to hack the
source, it is more likely just a configuration problem.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


>mod_auth_db.lo
>mod_auth_db.c: In function `get_db_pw':
>mod_auth_db.c:175: warning: passing arg 2 of pointer to function from
>incompatible pointer type
>mod_auth_db.c:175: warning: passing arg 4 of pointer to function makes
>pointer from integer without a cast
>mod_auth_db.c:175: too few arguments to function
>make[4]: *** [mod_auth_db.so] Error 1
>make[3]: *** [all] Error 1
>make[2]: *** [subdirs] Error 1
>make[2]: Leaving directory `/usr/share/src/apache_1.3.27/src'
>make[1]: *** [build-std] Error 2
>make[1]: Leaving directory `/usr/share/src/apache_1.3.27'
>make: *** [build] Error 2
>
>The file mod_auth_db, lines 173-180 contain the following:
>
>#if defined(DB3) || defined(DB4)
>    if (   db_create(&f, NULL, 0) != 0
>        || f->open(f, auth_dbpwfile, NULL, DB_HASH, DB_RDONLY, 0664) !=
>0) {
>#elif defined(DB2)
>    if (db_open(auth_dbpwfile, DB_HASH, DB_RDONLY, 0664, NULL, 
>NULL, &f)
>!= 0) {#else
>    if (!(f = dbopen(auth_dbpwfile, O_RDONLY, 0664, DB_HASH, NULL))) {
>#endif
>
>
>What should this clause be?
>
>
>
>-- 
>Albert E. Whale, CISSP
>http://www.abs-comptech.com
>----------------------------------------------------------------------
>ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
>Sr. Security, Network, and Systems Consultant
>Founding Board of Directors of Pittsburgh FBI - InfraGard
>
>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message