You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by John Howe <jo...@scn.org> on 1998/03/30 23:44:09 UTC

os-solaris/2020: Building PHP3.B6, PHP3RC w/MySQL 3.21.27 Gamma

>Number:         2020
>Category:       os-solaris
>Synopsis:       Building PHP3.B6, PHP3RC w/MySQL 3.21.27 Gamma
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Mar 30 13:50:01 PST 1998
>Last-Modified:
>Originator:     johnhowe@scn.org
>Organization:
apache
>Release:        1.3b5
>Environment:
uname -a = SunOS sabrina 5.6 Generic_105182-04 i86pc i386 i86pc
GNU GCC Version 2.8.1
GNU Bison version 1.25
GNU Make 3.76.1

Basic Hardware AMD K6 200 MHz, 128 M Ram
>Description:
When compiling PHP for Apache 1.3b5, compilation fails:

gcc -O2 -I.   -I/export/home/Dragon/apache_1.3b5/src/include -I/export/home/Dragon/apache_1.3b5/src/os/unix     -I/usr/local/include/mysql     -g -Wall     -c language-parser.tab.c -o language-parser.tab.o
In file included from /export/home/Dragon/apache_1.3b5/src/include/httpd.h:66,
                 from parser.h:140,
                 from language-parser.y:49:
/export/home/Dragon/apache_1.3b5/src/include/ap.h:64: conflicting types for `vsnprintf'
/usr/include/stdio.h:265: previous declaration of `vsnprintf'
make: *** [language-parser.tab.o] Error 1
>How-To-Repeat:
Build MySQL 3.21.27 -> /usr/local 
Extract PHP, Apache to common src directory

Configure PHP3RC with:
./configure --with-apache=../apache_1.3b5 --with-mysql
>Fix:
No, though I had no problems compiling with Apache 1.2.5 && PHP. Will try Apache 1.2.6 next. Will snoop the newsgroups and look for alternate entries in the Apache Bug Report DB, PHP Bug report DB
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]