[Fedora-directory-users] Re: Installing FDS on SuSE 10.0

Ulli Horlacher horlacher at belwue.de
Wed Dec 14 14:35:24 UTC 2005


On Wed 2005-12-14 (09:09), Rob Crittenden wrote:
> Missing mpm.h is really strange. That is provided in a default Apache 
> 2.0 install.

I run into a similar problem:
SuSEs apache2 comes with apxs2 but not with apxs as searched by dsbuild:

make[1]: Entering directory `/opt/src/dsbuild/ds/mod_nss'
[===== NOW BUILDING:     mod_nss-1.0    =====]
        [fetch] complete for mod_nss.
        [checksum] complete for mod_nss.
        [extract] complete for mod_nss.
        [patch] complete for mod_nss.
 ==> Running configure in work/mod_nss-1.0
(...)
configure: checking for apxs...
checking for --with-apxs... no
checking for apxs in /usr/local/apache/sbin and /usr/sbin... no
checking for apxs in your PATH... checking for apxs... no
configure: error: apxs was not found. use --with-apxs to specifiy it.
make[1]: *** [configure-work/mod_nss-1.0/configure] Error 1
make[1]: Leaving directory `/opt/src/dsbuild/ds/mod_nss'
make: *** [dep-../../ds/mod_nss] Error 2


My workaround then was:

lanldap2:/usr/local/bin# ln -s /usr/sbin/apxs2 apxs

but now the dsbuild terminates with:

make[2]: Entering directory `/opt/src/dsbuild/ds/mod_nss/work/mod_nss-1.0'
source='mod_nss.c' object='mod_nss.lo' libtool=yes \
depfile='.deps/mod_nss.Plo' tmpdepfile='.deps/mod_nss.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_nss\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1  -I. -I. -I -I/opt/src/dsbuild/ds/mozilla/work/mozilla/dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I/opt/src/dsbuild/ds/mozilla/work/mozilla/dist/public/nss  -I/usr/include/apache2   -I/tmp/fedora-ds-build/include -I/tmp/fedora-ds-build/include -I/tmp/fedora-ds-build/include -DWANT_SSL2 -I/tmp/fedora-ds-build/include -L/tmp/fedora-ds-build/lib -O2 -pipe -I/tmp/fedora-ds-build/include -L/tmp/fedora-ds-build/lib -O2 -pipe -I/tmp/fedora-ds-build/include -L/tmp/fedora-ds-build/lib -O2 -pipe -c -o mod_nss.lo `test -f 'mod_nss.c' || echo './'`mod_nss.c
rm -f .libs/mod_nss.lo
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_nss\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -I. -I. -I -I/opt/src/dsbuild/ds/mozilla/work/mozilla/dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I/opt/src/dsbuild/ds/mozilla/work/mozilla/dist/public/nss -I/usr/include/apache2 -I/tmp/fedora-ds-build/include -I/tmp/fedora-ds-build/include -I/tmp/fedora-ds-build/include -DWANT_SSL2 -I/tmp/fedora-ds-build/include -L/tmp/fedora-ds-build/lib -O2 -pipe -I/tmp/fedora-ds-build/include -L/tmp/fedora-ds-build/lib -O2 -pipe -I/tmp/fedora-ds-build/include -L/tmp/fedora-ds-build/lib -O2 -pipe -c mod_nss.c -MT mod_nss.lo -MD -MP -MF .deps/mod_nss.TPlo  -fPIC -DPIC -o .libs/mod_nss.lo
In file included from mod_nss.c:16:
mod_nss.h:48:18: nspr.h: No such file or directory
mod_nss.h:49:21: prerror.h: No such file or directory
mod_nss.h:50:21: prnetdb.h: No such file or directory
In file included from mod_nss.h:54,
                 from mod_nss.c:16:
/opt/src/dsbuild/ds/mozilla/work/mozilla/dist/public/nss/pk11func.h:39:21: plarena.h: No such file or directory


the missing include-files are in
/opt/src/dsbuild/ds/mozilla/work/mozilla/nsprpub/pr/include/
but I do not know why dsbuild cannot locate them.

-- 
-- Ullrich Horlacher, BelWue Coordination ------- mailto:framstag at belwue.de --
   Computing Centre Universitaet Stuttgart (RUS)   
   Allmandring 30, 70550 Stuttgart, Germany          fax: +49 711 678 8363
-- saft://saft.belwue.de/framstag ----------------- http://www.belwue.de/ ----




More information about the Fedora-directory-users mailing list