>> i'm gonna guess you're gonna ask me to reinstall php4.0.6. Will do if
>> required...
>Not quite yet. mod_midgard segfaulting while PHP isn't loaded is not
>related, so let's fix that first.
wow...hang on there...i don't know if that's exactly correct. if
mod_midgard is enabled, php is completely taken out, apache starts.
Ofcourse because php is disabled, php isn't recognised (ie. <? phpinfo(); ?>
gives <? phpinfo(); ?> as output). midgard-php4 doesn't come into the
picture at all, since php.ini isn't read when php4 is commented out.
Nontheless:
ok...reinstalled from latest cvs. Just so you know everything, here is
exactly what i did. There were a bunch of clock skew warnings during lib...
[root@oddjob midgard]# ./bootstrap
Bootstrapping lib
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
Bootstrapping mod
configure.in:124: warning: Cannot check for file existence when cross
compiling
[root@oddjob midgard]# cd lib
[root@oddjob lib]# ./configure --prefix=/apps/midgard
--with-mysql=/apps/mysql
--with-sitegroups --with-expat=/apps/expat
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
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 for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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 if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for glib-config... /usr/bin/glib-config
checking for library containing crypt... -lcrypt
checking for zlib.h... yes
checking for crypt.h... yes
checking for library containing compress... -lz
checking for library containing gzopen... none required
checking for library containing g_string_new... none required
checking for library containing floor... -lm
checking whether to use libuuid to generate GUIDS... no
checking for library containing gethostbyname... none required
checking for library containing htonl... none required
checking for iconv... yes
checking for location of iconv headers and libraries... /usr
checking whether to enable SiteGroups... yes
checking whether to enable PageLinks (experimental)... no
checking MySQL location... /apps/mysql
checking Expat location... /apps/expat
checking Repligard binary owner... mysql
checking for library containing mysql_connect... none required
checking for library containing XML_ParserCreate... -lexpat
checking for errmsg.h... yes
checking for mysql.h... yes
checking whether work around the PHP request_config bug... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating midgard/Makefile
creating midgard/midgard.h
creating src/Makefile
creating src/iconvxml.c
creating repligard/Makefile
creating repligard/repligard.conf
creating repligard/main.c
creating test/Makefile
creating SPECS/midgard-lib.spec.RedHat
creating midgard-config
[root@oddjob lib]#make clean
<bunch of output>
this is interesting...at end have:
make[1]: Leaving directory `/apps/midgard/midgard/lib/midgard'
make: warning: Clock skew detected. Your build may be incomplete.
[root@oddjob lib]#make
compilation output....again, interesting ending:
make[1]: Leaving directory `/apps/midgard/midgard/lib'
make[1]: Entering directory `/apps/midgard/midgard/lib'
make[1]: *** Warning: File `midgard-config.in' has modification time in the
futu
re (2001-07-19 06:03:31 > 2001-07-18 20:12:50)
cd . && CONFIG_FILES=midgard-config CONFIG_HEADERS= /bin/sh ./config.status
creating midgard-config
make[1]: Nothing to be done for `all-am'.
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/apps/midgard/midgard/lib'
make: warning: Clock skew detected. Your build may be incomplete.
[root@oddjob lib]#make install
bunch of output, ending again with same interesting result:
make[2]: *** Warning: File `midgard-config.in' has modification time in the
futu
re (2001-07-19 06:03:31 > 2001-07-18 20:14:18)
cd . && CONFIG_FILES=midgard-config CONFIG_HEADERS= /bin/sh ./config.status
creating midgard-config
/bin/sh ./mkinstalldirs /apps/midgard/bin
/usr/bin/install -c midgard-config /apps/midgard/bin/midgard-config
make[2]: Nothing to be done for `install-data-am'.
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Leaving directory `/apps/midgard/midgard/lib'
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/apps/midgard/midgard/lib'
make: warning: Clock skew detected. Your build may be incomplete.
[root@oddjob lib]#
[root@oddjob mod]# PATH=$PATH:/apps/midgard/bin
[root@oddjob mod]# ./configure --with-apxs=/usr/sbin/apxs
--with-midgard=/apps/
midgard --with-mysql=/apps/mysql --with-expat=/apps/expat
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking for static Apache module build... no
checking for apxs... /usr/sbin/apxs
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 for /etc/mandrake-release... no
checking for midgard-config... /apps/midgard/bin/midgard-config
checking for glib-config... /usr/bin/glib-config
checking for library containing g_string_new... none required
checking for library containing crypt... none required
checking for mgd_connect in -lmidgard... yes
checking how to run the C preprocessor... gcc -E
checking for midgard/midgard.h... yes
checking for working const... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating SPECS/mod_midgard.spec.RedHat
[root@oddjob mod]# make clean
rm -f mod_midgard.o
rm -f mod_midgard.so
[root@oddjob mod]# make
bunch of output...nothing abnormal
[root@oddjob mod]# make install
bunch of output...nothing abnormal
[root@oddjob php4]# PATH=$PATH:/usr/sbin
[root@oddjob php4]# ./mkall /apps/midgard
bunch of output...nothing abnormal
ofcourse, when i say nothing abnormal, i mean no errors!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]