#23697 [Fbk->Opn]: When compiling php4.3.2RC3 with apache2, it fails other failure than prior ver.

From: Date: Mon, 19 May 2003 14:25:42 +0000
Subject: #23697 [Fbk->Opn]: When compiling php4.3.2RC3 with apache2, it fails other failure than prior ver.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39961@lists.php.net to get a copy of this message
ID: 23697 User updated by: php-bugs at liwing dot de Reported By: php-bugs at liwing dot de -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: FreeBSD 4-STABLE PHP Version: 4.3.2RC3 New Comment: PHP: ./configure --with-apxs2=/usr/local/sbin/apxs --with-tsrm-pth --with-config-file-path=/usr/local/etc --enable-versioning --with-regex=system --without-gd --without-mysql --with-gd=/usr/local --enable-gd-native-ttf --with-freetype-dir=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib --with-bz2=/usr --with-mcrypt=/usr/local --with-mhash=/usr/local --with-mysql=/usr/local --with-interbase=/usr/local/firebird --with-pgsql=/usr/local --with-ldap=/usr/local --with-expat-dir=/usr/local --with-dom=/usr/local --with-dom-xslt=/usr/local --with-dom-exslt=/usr/local --with-xmlrpc --enable-xslt --with-xslt-sablot=/usr/local --with-gettext=/usr/local --with-iconv=/usr/local --enable-sockets --enable-sysvsem --enable-sysvshm --with-openssl=/usr --prefix=/usr/local i386-portbld-freebsd4.8 Apache2: /configure --prefix=/usr/local --enable-layout=FreeBSD --with-perl=/usr/bin/perl5.6.1 --enable-so --with-mpm=prefork --with-port=80 --with-expat=/usr/local --libdir=/usr/local/lib/apache2 --includedir=/usr/local/include/apache2 --enable-v4-mapped --with-ssl=/usr --enable-mods-shared=all cgid deflate ext_filter proxy proxy-connect proxy-ftp proxy-http ssl i386-portbld-freebsd4.8 installed-ports: Sablot-0.98 XML toolkit implementing XSLT 1.0, XPath 1.0 and DOM Level2 XFree86-clients-4.3.0_2 XFree86-4 client programs and related files XFree86-libraries-4.3.0_5 XFree86-4 libraries and headers Xft-2.1.2 A client-sided font API for X applications apache-2.0.45 Version 2 of the extremely popular Apache http server apr-0.9.3 The Apache Group's Portability Library autoconf-2.53_1 Automatically configure source code on many Un*x platforms autoconf213-2.13.000227_5 Automatically configure source code on many Un*x platforms automake-1.5,1 GNU Standards-compliant Makefile generator automake14-1.4.5_9 GNU Standards-compliant Makefile generator (legacy version bash-2.05b.004 The GNU Bourne Again Shell bind9-9.2.2 Completely new version of the BIND DNS server bonnie++-1.93.03 Performance Test of Filesystem I/O cdrdao-1.1.7_2 Record CD-R[W]s in disk-at-once mode cdrtools-2.0 Cdrecord, mkisofs and several other programs to record CD-R cups-1.1.18.0_5 The Common UNIX Printing System: Metaport to install comple cups-base-1.1.18.0_5 The Common UNIX Printing System: headers, libs, & daemons cups-lpr-1.1.18.0_5 The CUPS BSD and system V compatibility binaries (lp* comma cups-pstoraster-7.05.6 GNU Postscript interpreter for CUPS printing to non-PS prin cvsup-without-gui-16.1h General network file distribution system optimized for CVS db3-3.3.11,1 The Berkeley DB package, revision 3 db4-4.0.14_1,1 The Berkeley DB package, revision 4 diffutils-2.7 The GNU diff utilities expat-1.95.6_1 XML 1.0 parser written in C ezm3-1.1 Easier, more portable Modula-3 distribution for building CV firebird-1.0.2 The open-source InterBase(tm) 6.0 spin-off (Classic version fontconfig-2.2.0 An XML-based font configuration API for X Windows freetype2-2.1.4_1 A free and portable TrueType font rendering engine gd-1.8.4_6 A graphics library for fast image creation gd-2.0.11 A graphics library for fast creation of images gettext-0.11.5_1 GNU gettext package ghostscript-gnu-7.06 GNU Postscript interpreter glib-1.2.10_9 Some useful routines of C programming (previous stable vers glib-2.2.1_1 Some useful routines of C programming (current stable versi gmake-3.80 GNU version of 'make' utility gtk-1.2.10_9 Gimp Toolkit for X11 GUI (previous stable version) help2man-1.29 Automatically generating simple manual pages from program o id3lib-3.8.2 Library for manipulating ID3v1/v1.1 and ID3v2 tags id3v2-0.1.9 Command line id3v2 tag editor imake-4.3.0 Imake and other utilities from XFree86 isc-dhcp3-3.0.1.r11_1 ISC Dynamic Host Configuration Protocol client and server c javavmwrapper-1.4 Wrapper script for various Java Virtual Machines jdk-1.3.1p8_2 Java Development Kit 1.3 jigdo-0.6.8 An utility used to retrieve very large files over the Inter jpeg-6b_1 IJG's jpeg compression utilities lame-3.93.1 ISO code based fast MP3 encoder kit libgnugetopt-1.2 GNU getopt library libiconv-1.8_2 A character set conversion library libmcrypt-2.5.7 Multi-cipher cryptographic library (used in PHP3) libslang-1.4.8 Routines for rapid alpha-numeric terminal applications deve libtool-1.3.4_4 Generic shared library support script libwww-5.4.0 The W3C Reference Library libxml2-2.5.7_1 Xml parser library for GNOME libxslt-1.0.30 The XSLT C library for GNOME links-0.98,1 Lynx-like text WWW browser lynx-ssl-2.8.4.1c A non-graphical, text-based World-Wide Web client with SSL m4-1.4_1 GNU m4 mc-4.6.0_2 Midnight Commander, a free Norton Commander Clone mhash-0.8.17 "Library provides an easy way to access strong hashes such mkisofs-2.0 Create iso9660/Rock Ridge/Joliet filesystems mmv-1.01b Move/copy/append/link multiple files with sophisticated wil mod_perl2-1.99r08 Embeds a Perl interpreter in the Apache2 server mod_php4-4.3.1 PHP4 module for Apache mplayer-fonts-0.50 A font pack for the mplayer OSD and SUB mplayer-gtk-0.90.0.110_2 High performance media player/encoder supporting many forma mplayer-skins-1.0.5_1 Skins for MPlayer's Graphical User Interface (GUI) mysql-client-3.23.56 Multithreaded SQL database (client) nasm-0.98.35,1 General-purpose multi-platform x86 assembler neon-0.23.9 An HTTP and WebDAV client library for Unix systems nspr-4.3_1 A platform-neutral API for system level and libc like funct open-motif-2.2.2_1 Motif X11 Toolkit (industry standard GUI (IEEE 1295)) openldap20-2.0.25_4 Open source LDAP client and server software p5-Authen-PAM-0.14 A Perl interface to the PAM library p5-CGI-Cache-1.21 Perl extension to cache output of time-intensive CGI script p5-CGI.pm-2.91,1 Simple Common Gateway Interface Class for Perl p5-Cache-Cache-1.01 Cache::Cache -- Perl Cache interface p5-Carp-Assert-0.17 Executable comments like the ANSI C library assert.h p5-Convert-ASN1-0.16 Perl5 module to encode and decode ASN.1 data structures p5-DBD-Pg-1.21 Provides access to PostgreSQL databases through the DBI p5-DBI-1.37 The perl5 Database Interface. Required for DBD::* modules p5-DBIx-Recordset-0.24 Perl module for abstraction and simplification of database p5-DelimMatch-1.05 Perl extension to find regexp delimited strings with proper p5-Digest-MD5-2.22 Perl5 interface to the MD5 algorithm p5-Digest-SHA1-2.02 Perl interface to the SHA-1 Algorithm p5-Error-0.15 Perl module to provide Error/exception support for perl: Er p5-File-Cache-0.16 Perl module implementing a persistent object store p5-HTML-Parser-3.27 Perl5 module for parse HTML tag p5-HTML-Tagset-3.03 Some useful data table in parsing HTML p5-HTML-Template-2.6 Perl module to use HTML Templates from CGI scripts p5-HTML-Tree-3.17 A collection of modules to manupulate HTML syntax trees p5-IO-Socket-SSL-0.92 Perl5 interface to SSL sockets p5-IPC-ShareLite-0.08 A simple interface to access shared memory p5-Locale-PGetText-0.16 Pure perl implementation of GNU gettext p5-MIME-Base64-2.20 Perl5 module for Base64 and Quoted-Printable encodings p5-Net-Daemon-0.36 Perl5 extension for portable daemons p5-Net-SSLeay-1.17 Perl5 interface to SSL p5-PDF-Create-0.01 A perl script to convert text files to PDF files p5-PlRPC-0.2016 Perl module for writing RPC servers and clients p5-Storable-2.06 Persistency for perl data structures p5-Test-Harness-2.26 Run perl standard test scripts with statistics p5-Test-Simple-0.47_1 Basic utilities for writing tests in perl p5-Time-HiRes-1.46,1 A perl5 module implementing High resolution time, sleep, an p5-URI-1.23 Perl5 interface to Uniform Resource Identifier (URI) refere p5-WWWdb-0.8.3 A Perl based generic WWW DB interface / frontend p5-XML-Parser-2.31_1 Perl extension interface to James Clark's XML parser, expat p5-perl-ldap-0.27.01 A Client interface to LDAP servers pdflib-4.0.3_1 A C library for dynamically generating PDF perl-5.6.1_13 Practical Extraction and Report Language php-dbg-2.11.5_1 Debugger for PHP4 pkgconfig-0.15.0 An utility used to retrieve information about installed lib png-1.2.5_2 Library for manipulating PNG images portupgrade-20030427 FreeBSD ports/packages administration and management tool s postgresql-7.3.2_1 The most advanced open-source database available anywhere pth-2.0.0 GNU Portable Threads python-2.2.2_2 An interpreted object-oriented programming language ruby-1.6.8.2003.04.19 An object-oriented interpreted scripting language ruby-bdb1-0.1.9 Ruby interface to Berkeley DB revision 1.8x with full featu ruby-rdoc-0.0.0.b2 Documentation from Ruby source files ruby-shim-ruby18-1.8.0.p2.2003.04.19 A set of Ruby modules to provide Ruby 1.8 functionalities samba-2.2.8a A free SMB and CIFS client and server for UNIX subversion-0.22.1 Version control system tcl-8.2.3_3 Tool Command Language tiff-3.5.7 Tools and library routines for working with TIFF images tk-8.2.3_2 Graphical toolkit for TCL unzip-5.50 List, test and extract compressed files in a ZIP archive urwfonts-1.0 Another font package for X vigor-0.016 A vi clone inspired by the userfriendly comic strip webmin-1.090 Web-based interface for system administration for Unix wget-1.8.2_3 Retrieve files from the Net via HTTP and FTP win32-codecs-011002.2.0.90.p7 Huge compilation of Win32 binary codecs, including MPEG-4(D xinetd-2.3.11 Replacement for inetd with better control and logging xskat-3.4 Play the card game Skat zip-2.3_1 Create/update ZIP files compatible with pkzip Previous Comments: ------------------------------------------------------------------------ [2003-05-19 09:15:38] sniper@php.net What were the configure lines for both Apache2 and PHP you have used here? ------------------------------------------------------------------------ [2003-05-19 08:32:34] php-bugs at liwing dot de /bin/sh /usr/ports/www/mod_php4/work/php-4.3.2RC3/libtool --silent --preserve-dup-deps --mode=compile cc -Isapi/apache2handler/ -I/usr/ports/www/mod_php4/work/ php-4.3.2RC3/sapi/apache2handler/ -DPHP_ATOM_INC -I/usr/ports/www/mod_php4/work/php-4.3.2RC3/include -I/usr/ports/www/mod_php4/work/php-4.3.2RC3/main -I/usr/por ts/www/mod_php4/work/php-4.3.2RC3 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.3.2RC3/Zend -I/usr/local/include/libxml2 -I/usr/local/includ e -I/usr/local/include/mysql -I/usr/ports/www/mod_php4/work/php-4.3.2RC3/TSRM -O -pipe -march=k6 -I/usr/local/include -pthread -prefer-pic -c /usr/ports/www/ mod_php4/work/php-4.3.2RC3/sapi/apache2handler/sapi_apache2.c -o sapi/apache2handler/sapi_apache2.lo In file included from /usr/local/include/apache2/httpd.h:86, from /usr/local/include/apache2/util_filter.h:61, from /usr/ports/www/mod_php4/work/php-4.3.2RC3/sapi/apache2handler/sapi_apache2.c:40: /usr/local/include/apache2/pcreposix.h:26: warning: `REG_ICASE' redefined /usr/include/regex.h:63: warning: this is the location of the previous definition /usr/local/include/apache2/pcreposix.h:27: warning: `REG_NEWLINE' redefined /usr/include/regex.h:65: warning: this is the location of the previous definition /usr/local/include/apache2/pcreposix.h:28: warning: `REG_NOTBOL' redefined /usr/include/regex.h:91: warning: this is the location of the previous definition /usr/local/include/apache2/pcreposix.h:29: warning: `REG_NOTEOL' redefined /usr/include/regex.h:92: warning: this is the location of the previous definition /usr/local/include/apache2/pcreposix.h:34: warning: `REG_EXTENDED' redefined /usr/include/regex.h:62: warning: this is the location of the previous definition /usr/local/include/apache2/pcreposix.h:35: warning: `REG_NOSUB' redefined /usr/include/regex.h:64: warning: this is the location of the previous definition In file included from /usr/local/include/apache2/httpd.h:86, from /usr/local/include/apache2/util_filter.h:61, from /usr/ports/www/mod_php4/work/php-4.3.2RC3/sapi/apache2handler/sapi_apache2.c:40: /usr/local/include/apache2/pcreposix.h:40: syntax error before `15' /usr/local/include/apache2/pcreposix.h:53: syntax error before `12' /usr/local/include/apache2/pcreposix.h:66: conflicting types for `regex_t' /usr/include/regex.h:53: previous declaration of `regex_t' /usr/local/include/apache2/pcreposix.h:70: conflicting types for `regoff_t' /usr/include/regex.h:46: previous declaration of `regoff_t' /usr/local/include/apache2/pcreposix.h:75: conflicting types for `regmatch_t' /usr/include/regex.h:58: previous declaration of `regmatch_t' /usr/local/include/apache2/pcreposix.h:79: conflicting types for `regcomp' /usr/include/regex.h:99: previous declaration of `regcomp' /usr/local/include/apache2/pcreposix.h:80: conflicting types for `regexec' /usr/include/regex.h:102: previous declaration of `regexec' /usr/local/include/apache2/pcreposix.h:81: conflicting types for `regerror' /usr/include/regex.h:100: previous declaration of `regerror' /usr/local/include/apache2/pcreposix.h:82: conflicting types for `regfree' /usr/include/regex.h:103: previous declaration of `regfree' *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.3.2RC3. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. root@fozzie # exit Script done on Mon May 19 13:19:57 2003 I can upload the entire log to a webserver, if required. Jens ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23697&edit=1

« previous php.bugs (#39961) next »