Hia,
I thought I'd report this error when using debian/unstable:
This is what happens when I run /mkall:
>> PHP VERSION "4.1.0RC1" <<
make[1]: Entering directory `/usr/src/apt/midgard-php4-1.4-CVS200108190202'
make[1]: Nothing to be done for `distclean-p'.
make[1]: Leaving directory `/usr/src/apt/midgard-php4-1.4-CVS200108190202'
rm -f midgard.la *.lo *.slo *.la *.o
rm -rf .libs
rm -f config.cache config.log config.status config_vars.mk libtool \
config.h stamp-h Makefile build-defs.h php4.spec libphp4.module
aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used
You should update your `aclocal.m4' by running aclocal.
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php4 -I/usr/include/php4/main
-I/usr/include/php4/Zend -I/usr/include/php4/TSRM
checking for PHP extension directory... /usr/lib/php4/20010901
checking for bison... bison -y
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for flex... (cached) flex
checking for midgard support... yes, shared
checking for apxs... /usr/bin/apxs
checking for midgard-config... /usr/bin/midgard-config
checking for midgard experimental functions support... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for working mkdir -p... yes
creating config_vars.mk
creating Makefile
updating cache ./config.cache
creating ./config.status
creating config.h
make[1]: Entering directory `/usr/src/apt/midgard-php4-1.4-CVS200108190202'
/bin/sh /usr/src/apt/midgard-php4-1.4-CVS200108190202/libtool --mode=compile gcc
-I. -I/usr/src/apt/midgard-php4-1.4-CVS200108190202/
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202/main
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202 -I/usr/include/php4
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
-I/usr/include/apache-1.3 -DHAVE_CONFIG_H -prefer-pic -ggdb -Wall
`/usr/bin/midgard-config --cppflags` -c mgd_errno.c && touch mgd_errno.slo
gcc -I. -I/usr/src/apt/midgard-php4-1.4-CVS200108190202/
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202/main
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202 -I/usr/include/php4
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
-I/usr/include/apache-1.3 -DHAVE_CONFIG_H -ggdb -Wall -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/mysql -I/usr/include/midgard -c
mgd_errno.c -fPIC -DPIC -o mgd_errno.lo
/bin/sh /usr/src/apt/midgard-php4-1.4-CVS200108190202/libtool --mode=compile gcc
-I. -I/usr/src/apt/midgard-php4-1.4-CVS200108190202/
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202/main
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202 -I/usr/include/php4
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
-I/usr/include/apache-1.3 -DHAVE_CONFIG_H -prefer-pic -ggdb -Wall
`/usr/bin/midgard-config --cppflags` -c midgard.c && touch midgard.slo
gcc -I. -I/usr/src/apt/midgard-php4-1.4-CVS200108190202/
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202/main
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202 -I/usr/include/php4
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
-I/usr/include/apache-1.3 -DHAVE_CONFIG_H -ggdb -Wall -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/mysql -I/usr/include/midgard -c
midgard.c -fPIC -DPIC -o midgard.lo
In file included from /usr/include/apache-1.3/httpd.h:72,
from /usr/include/midgard/apache.h:25,
from php_midgard.h:34,
from midgard.c:24:
/usr/include/apache-1.3/ap_config.h:1374: warning: `XtOffsetOf' redefined
/usr/include/php4/main/php.h:342: warning: this is the location of the previous
definition
midgard.c:303: warning: initialization makes integer from pointer without a cast
midgard.c:303: initializer element is not computable at load time
midgard.c:303: (near initialization for `midgard_module_entry.size')
midgard.c:304: warning: initialization makes integer from pointer without a cast
midgard.c:305: warning: initialization makes integer from pointer without a cast
midgard.c:305: initializer element is not computable at load time
midgard.c:305: (near initialization for `midgard_module_entry.zend_debug')
midgard.c:306: warning: initialization makes integer from pointer without a cast
midgard.c:306: initializer element is not computable at load time
midgard.c:306: (near initialization for `midgard_module_entry.zts')
midgard.c:307: warning: initialization from incompatible pointer type
midgard.c:308: warning: initialization from incompatible pointer type
midgard.c:309: warning: initialization from incompatible pointer type
make[1]: *** [midgard.slo] Error 1
make[1]: Leaving directory `/usr/src/apt/midgard-php4-1.4-CVS200108190202'
make: *** [all-recursive] Error 1
make[1]: Entering directory `/usr/src/apt/midgard-php4-1.4-CVS200108190202'
/bin/sh /usr/src/apt/midgard-php4-1.4-CVS200108190202/libtool --mode=compile gcc
-I. -I/usr/src/apt/midgard-php4-1.4-CVS200108190202/
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202/main
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202 -I/usr/include/php4
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
-I/usr/include/apache-1.3 -DHAVE_CONFIG_H -prefer-pic -ggdb -Wall
`/usr/bin/midgard-config --cppflags` -c midgard.c && touch midgard.slo
gcc -I. -I/usr/src/apt/midgard-php4-1.4-CVS200108190202/
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202/main
-I/usr/src/apt/midgard-php4-1.4-CVS200108190202 -I/usr/include/php4
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
-I/usr/include/apache-1.3 -DHAVE_CONFIG_H -ggdb -Wall -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/mysql -I/usr/include/midgard -c
midgard.c -fPIC -DPIC -o midgard.lo
In file included from /usr/include/apache-1.3/httpd.h:72,
from /usr/include/midgard/apache.h:25,
from php_midgard.h:34,
from midgard.c:24:
/usr/include/apache-1.3/ap_config.h:1374: warning: `XtOffsetOf' redefined
/usr/include/php4/main/php.h:342: warning: this is the location of the previous
definition
midgard.c:303: warning: initialization makes integer from pointer without a cast
midgard.c:303: initializer element is not computable at load time
midgard.c:303: (near initialization for `midgard_module_entry.size')
midgard.c:304: warning: initialization makes integer from pointer without a cast
midgard.c:305: warning: initialization makes integer from pointer without a cast
midgard.c:305: initializer element is not computable at load time
midgard.c:305: (near initialization for `midgard_module_entry.zend_debug')
midgard.c:306: warning: initialization makes integer from pointer without a cast
midgard.c:306: initializer element is not computable at load time
midgard.c:306: (near initialization for `midgard_module_entry.zts')
midgard.c:307: warning: initialization from incompatible pointer type
midgard.c:308: warning: initialization from incompatible pointer type
midgard.c:309: warning: initialization from incompatible pointer type
make[1]: *** [midgard.slo] Error 1
make[1]: Leaving directory `/usr/src/apt/midgard-php4-1.4-CVS200108190202'
make: *** [install-recursive] Error 1
The funny part is that I have no trouble running mkall on my redhat system (7.1)
so this might be debian spesific.
PS: I've also tried the debs, but they decided that I should have trouble with
the php4 part too, so I guess this isn't done ;(
Tarjei
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]