php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4539 --with-mod-dav fails to compile
Submitted: 2000-05-22 07:18 UTC Modified: 2000-05-22 10:08 UTC
From: rolf at suse dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 2 OS: SuSE Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rolf at suse dot de
New email:
PHP Version: OS:

 

 [2000-05-22 07:18 UTC] rolf at suse dot de
Hello,

php-4.0.0 fails to compile when using the --with-mod-dav feature on SuSE Linux. Here?s the full configure line:

CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ucd-snmp -I/usr/include/gd"  \
	LDFLAGS="" \
	./configure \
%ifarch i386  
         --with-adabas=/usr/lib/adabas \
%endif
	--with-pgsql=/usr/lib/pgsql \
	--with-mysql=yes \
	--with-tiff-dir \
	--with-jpeg-dir \
	--with-png-dir \
	--with-ldap=yes \
	--with-imap=yes \
	--with-gd=yes \
	--with-zlib=yes \
	--with-xml \
	--with-ttf \
	--with-ftp \
	--with-db3 \
	--with-dbm \
	--with-ndbm \
	--with-gdbm \
	--with-snmp \
	--with-mm \
	--with-gettext \
        --with-config-file-path=%{apache_sysconfdir} \
	--with-apxs="`which apxs`" \
        --with-exec-dir=%{apache_libexecdir}/bin \
	--enable-versioning \
	--enable-yp \
	--enable-trans-sid \
	--enable-inline-optimization \
	--enable-track-vars \
	--enable-magic-quotes \
	--enable-safe-mode \
	--enable-sysvsem \
	--enable-sysvshm \
	--enable-bcmath \
	--enable-memory-limit \
	--enable-wddx \
	--with-readline \
	--with-mod-dav=%{apache_includedir} \
        $OPENSSL %{_target_cpu}-suse-linux-gnu ; 

mod_dav is installed: rpm -q mod_dav ; rpm -ql mod_dav
mod_dav-0.9.14-71
/usr/include/apache/mod_dav.h
/usr/lib/apache/libdav.so
/usr/share/doc/packages/mod_dav
/usr/share/doc/packages/mod_dav/CHANGES
/usr/share/doc/packages/mod_dav/INSTALL
/usr/share/doc/packages/mod_dav/LICENSE.html
/usr/share/doc/packages/mod_dav/README

Here is the compile failure:

Making all in dav
make[2]: Entering directory `/usr/src/packages/BUILD/php-4.0.0/ext/dav'
make[3]: Entering directory `/usr/src/packages/BUILD/php-4.0.0/ext/dav'
/bin/sh /usr/src/packages/BUILD/php-4.0.0/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/src/packages/BUILD/php-4.0.0/ext/dav -I/usr/src/packages/BUILD/php-4.0.0 -I/usr/include/apache -I/usr/src/packages/BUILD/php-4.0.0/Zend -I/usr/src/packages/BUILD/php-4.0.0 -I/usr/include/apache -I/usr/include/freetype -I/usr/local/include -I/usr/include/imap -I/usr/src/packages/BUILD/php-4.0.0/ext/mysql/libmysql -I/usr/include/ucd-snmp -I/usr/src/packages/BUILD/php-4.0.0/ext/xml/expat/xmltok -I/usr/src/packages/BUILD/php-4.0.0/ext/xml/expat/xmlparse  -DEAPI=1 -I/usr/local/include -DXML_BYTE_ORDER=12 -O2 -I/usr/include/ucd-snmp -I/usr/include/gd -DHAVE_MOD_DAV -I/usr/include/apache -g -Wall  -c dav.c
In file included from dav.c:30:
php_dav.h:46: parse error before `*'
dav.c:161: parse error before `{'
dav.c:163: parse error before `2'
dav.c:163: warning: type defaults to `int' in declaration of `php_info_print_table_row'
dav.c:163: conflicting types for `php_info_print_table_row'
/usr/src/packages/BUILD/php-4.0.0/ext/standard/info.h:71: previous declaration of `php_info_print_table_row'
dav.c:163: warning: data definition has no type or storage class
dav.c:164: warning: type defaults to `int' in declaration of `php_info_print_table_end'
dav.c:164: conflicting types for `php_info_print_table_end'
/usr/src/packages/BUILD/php-4.0.0/ext/standard/info.h:73: previous declaration of `php_info_print_table_end'
dav.c:164: warning: data definition has no type or storage class
dav.c:165: parse error before `}'
dav.c: In function `dav_set_handler':
dav.c:178: warning: implicit declaration of function `php3i_pval_strdup'
dav.c:178: warning: assignment makes pointer from integer without a cast
dav.c: In function `dav_call_handler':
dav.c:198: warning: implicit declaration of function `php3i_string_pval'
dav.c:198: warning: assignment makes pointer from integer without a cast
dav.c:200: warning: implicit declaration of function `php3i_get_function_table'
dav.c:200: warning: assignment makes pointer from integer without a cast
dav.c:202: warning: implicit declaration of function `php3tls_pval_destructor'
dav.c: In function `phpdav_mkcol_test_handler':
dav.c:229: warning: assignment makes pointer from integer without a cast
dav.c: In function `phpdav_mkcol_create_handler':
dav.c:240: warning: assignment makes pointer from integer without a cast
make[3]: *** [dav.lo] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/php-4.0.0/ext/dav'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/php-4.0.0/ext/dav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/php-4.0.0/ext'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.83971 (%build)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-22 10:08 UTC] rasmus at cvs dot php dot net
Yes, the dav module is not fully baked yet and probably won't be for a while.  Ignore it for now.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 04 11:01:37 2025 UTC