The best way to solve these apxs/apr-config problems is to edit the Makefile in ds/mod_* to use --with-apxs=/path/to/apxs2 and --with-apr-config=/path/to/apr-config or apr-config2 or whatever it's called on your system. Ulli Horlacher wrote: >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 > Does this last directory exist? If not, is there a directory with a similar but slightly different name? >-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. > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3178 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20051214/6137fd7d/attachment.bin