You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/03/15 23:44:28 UTC

DO NOT REPLY [Bug 38991] New: - Can't compile with --enable-authnz-ldap; can compile without it

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991

           Summary: Can't compile with --enable-authnz-ldap; can compile
                    without it
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_authn_ldap
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: pjohanneson@gmail.com


./configure --prefix=/usr/local/apache2 --enable-authnz-ldap --with-ldap
--with-ldap-lib=/usr/local/novell/lib/
--with-ldap-include=/usr/local/novell/include/ --enable-ldap --enable-auth-ldap

gets me 

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to " -g -O2 -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE"
  setting LDFLAGS to " "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
configure: Configuring PCRE regular expression library
configuring package in srclib/pcre now
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pcre.h
config.status: creating pcre-config
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
srclib/pcre configured properly
  setting AP_LIBS to "/tmp/apache2/httpd-2.2.0/srclib/pcre/libpcre.la"
  setting INCLUDES to "-I$(top_builddir)/srclib/pcre"

Configuring Apache httpd ...

  adding "-I." to INCLUDES
  adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES
  adding "-I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME)" to INCLUDES
  adding "-I$(top_srcdir)/modules/http" to INCLUDES
  adding "-I$(top_srcdir)/modules/filters" to INCLUDES
  adding "-I$(top_srcdir)/modules/proxy" to INCLUDES
  adding "-I$(top_srcdir)/include" to INCLUDES
  adding "-I$(top_srcdir)/modules/generators" to INCLUDES
  adding "-I$(top_srcdir)/modules/mappers" to INCLUDES
  adding "-I$(top_srcdir)/modules/database" to INCLUDES
  adding "-I/usr/local/apache2/include" to INCLUDES

Applying OS-specific hints for httpd ...

  forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"
  forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1"
checking for rm... /bin/rm
checking for pkg-config... /usr/bin/pkg-config
checking for rsync... no
checking for gawk... gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for lynx... lynx
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for APR version 1.2.0 or later... yes
checking for APR-util version 1.2.0 or later... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for library containing sqrt... -lm
checking for getpwnam... yes
checking for getgrnam... yes
checking for initgroups... yes
checking for bindprocessor... no
checking for prctl... yes
checking for timegm... yes
checking for void pointer length... no
checking for tm_gmtoff in struct tm... yes
checking whether to enable mod_authn_file... yes (default)
checking whether to enable mod_authn_dbm... no
checking whether to enable mod_authn_anon... no
checking whether to enable mod_authn_dbd... no
checking whether to enable mod_authn_default... yes (default)
checking whether to enable mod_authn_alias... no
checking whether to enable mod_authz_host... yes (default)
checking whether to enable mod_authz_groupfile... yes (default)
checking whether to enable mod_authz_user... yes (default)
checking whether to enable mod_authz_dbm... no
checking whether to enable mod_authz_owner... no
checking whether to enable mod_authnz_ldap... yes (default)
checking whether to enable mod_authz_default... yes (default)
checking whether to enable mod_auth_basic... yes (default)
checking whether to enable mod_auth_digest... no
checking whether to enable mod_isapi... no
checking whether to enable mod_file_cache... no
checking whether to enable mod_cache... no
checking whether to enable mod_disk_cache... no
checking whether to enable mod_mem_cache... no
checking whether to enable mod_dbd... no
checking whether to enable mod_bucketeer... no
checking whether to enable mod_dumpio... no
checking whether to enable mod_echo... no
checking whether to enable mod_example... no
checking whether to enable mod_case_filter... no
checking whether to enable mod_case_filter_in... no
checking whether to enable mod_ext_filter... no
checking whether to enable mod_include... yes (default)
checking whether to enable mod_filter... yes (default)
checking whether to enable mod_charset_lite... no
checking whether to enable mod_deflate... no
checking whether to enable mod_ldap... yes (default)
checking whether to enable mod_log_config... yes (default)
checking whether to enable mod_log_forensic... no
checking whether to enable mod_logio... no
checking whether to enable mod_env... yes (default)
checking whether to enable mod_mime_magic... no
checking whether to enable mod_cern_meta... no
checking whether to enable mod_expires... no
checking whether to enable mod_headers... no
checking whether to enable mod_ident... no
checking whether to enable mod_usertrack... no
checking whether to enable mod_unique_id... no
checking whether to enable mod_setenvif... yes (default)
checking whether to enable mod_version... no
checking whether to enable mod_proxy... no
checking whether to enable mod_proxy_connect... no
checking whether to enable mod_proxy_ftp... no
checking whether to enable mod_proxy_http... no
checking whether to enable mod_proxy_ajp... no
checking whether to enable mod_proxy_balancer... no
  adding "-I$(top_srcdir)/modules/proxy/../generators" to INCLUDES
checking whether to enable mod_ssl... no
  adding "-I$(top_srcdir)/modules/ssl" to INCLUDES
checking whether to enable mod_optional_hook_export... no
checking whether to enable mod_optional_hook_import... no
checking whether to enable mod_optional_fn_import... no
checking whether to enable mod_optional_fn_export... no
checking for target platform... unix
checking for rlim_t... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/sem.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for setsid... yes
checking for killpg... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for unistd.h... (cached) yes
checking for syslog... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for times... yes
checking which MPM to use... prefork
checking whether to enable mod_http... yes
checking whether to enable mod_mime... yes (default)
checking for extra modules... none
checking whether to enable mod_dav... no
  adding "-I$(top_srcdir)/modules/dav/main" to INCLUDES
checking whether to enable mod_status... yes (default)
checking whether to enable mod_autoindex... yes (default)
checking whether to enable mod_asis... yes (default)
checking whether to enable mod_info... no
checking whether to enable mod_suexec... no
checking whether to enable mod_cgi... yes (default)
checking whether to enable mod_cgid... no
checking whether to enable mod_dav_fs... no
checking whether to enable mod_dav_lock... no
checking whether to enable mod_vhost_alias... no
checking whether to enable mod_negotiation... yes (default)
checking whether to enable mod_dir... yes (default)
checking whether to enable mod_imagemap... no
checking whether to enable mod_actions... yes (default)
checking whether to enable mod_speling... no
checking whether to enable mod_userdir... yes (default)
checking whether to enable mod_alias... yes (default)
checking whether to enable mod_rewrite... no
  setting HTTPD_LDFLAGS to "-export-dynamic"
checking whether to enable mod_so... yes

Restore user-defined environment settings...

  restoring CPPFLAGS to ""
  setting EXTRA_CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE"
  restoring CFLAGS to ""
  setting EXTRA_CFLAGS to " -g -O2 -pthread"
  restoring CXXFLAGS to ""
  setting EXTRA_CXXFLAGS to ""
  restoring LDFLAGS to ""
  setting EXTRA_LDFLAGS to " "
  restoring LIBS to ""
  setting EXTRA_LIBS to "-lm "
  restoring INCLUDES to ""
  setting EXTRA_INCLUDES to "-I$(top_builddir)/srclib/pcre -I.
-I$(top_srcdir)/os/$(OS_DIR) -I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_
NAME) -I$(top_srcdir)/modules/http -I$(top_srcdir)/modules/filters
-I$(top_srcdir)/modules/proxy -I$(top_srcdir)/include -I$(top_src
dir)/modules/generators -I$(top_srcdir)/modules/mappers
-I$(top_srcdir)/modules/database -I/usr/local/apache2/include -I$(top_srcdir
)/modules/proxy/../generators -I$(top_srcdir)/modules/ssl
-I$(top_srcdir)/modules/dav/main"

Construct makefiles and header files...

creating config_vars.mk
configure: creating ./config.status
creating modules/aaa/Makefile
creating modules/arch/win32/Makefile
creating modules/cache/Makefile
creating modules/database/Makefile
creating modules/debug/Makefile
creating modules/echo/Makefile
creating modules/experimental/Makefile
creating modules/filters/Makefile
creating modules/ldap/Makefile
creating modules/loggers/Makefile
creating modules/metadata/Makefile
creating modules/proxy/Makefile
creating modules/ssl/Makefile
creating modules/test/Makefile
creating os/unix/Makefile
creating server/mpm/Makefile
creating server/mpm/prefork/Makefile
creating modules/http/Makefile
creating modules/dav/main/Makefile
creating modules/generators/Makefile
creating modules/dav/fs/Makefile
creating modules/dav/lock/Makefile
creating modules/mappers/Makefile
creating Makefile
creating modules/Makefile
creating srclib/Makefile
creating os/Makefile
creating server/Makefile
creating support/Makefile
creating srclib/pcre/Makefile
creating test/Makefile
config.status: creating docs/conf/httpd.conf
config.status: creating docs/conf/extra/httpd-autoindex.conf
config.status: creating docs/conf/extra/httpd-dav.conf
config.status: creating docs/conf/extra/httpd-default.conf
config.status: creating docs/conf/extra/httpd-info.conf
config.status: creating docs/conf/extra/httpd-languages.conf
config.status: creating docs/conf/extra/httpd-manual.conf
config.status: creating docs/conf/extra/httpd-mpm.conf
config.status: creating docs/conf/extra/httpd-multilang-errordoc.conf
config.status: creating docs/conf/extra/httpd-ssl.conf
config.status: creating docs/conf/extra/httpd-userdir.conf
config.status: creating docs/conf/extra/httpd-vhosts.conf
config.status: creating include/ap_config_layout.h
config.status: creating support/apxs
config.status: creating support/apachectl
config.status: creating support/dbmmanage
config.status: creating support/envvars-std
config.status: creating support/log_server_status
config.status: creating support/logresolve.pl
config.status: creating support/phf_abuse_log.cgi
config.status: creating support/split-logfile
config.status: creating build/rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating build/config_vars.sh
config.status: creating include/ap_config_auto.h
config.status: include/ap_config_auto.h is unchanged
config.status: executing default commands

make

gets me 

Making all in srclib
make[1]: Entering directory `/tmp/apache2/httpd-2.2.0/srclib'
Making all in pcre
make[2]: Entering directory `/tmp/apache2/httpd-2.2.0/srclib/pcre'
make[3]: Entering directory `/tmp/apache2/httpd-2.2.0/srclib/pcre'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/tmp/apache2/httpd-2.2.0/srclib/pcre'
make[2]: Leaving directory `/tmp/apache2/httpd-2.2.0/srclib/pcre'
make[1]: Leaving directory `/tmp/apache2/httpd-2.2.0/srclib'
Making all in os
make[1]: Entering directory `/tmp/apache2/httpd-2.2.0/os'
Making all in unix
make[2]: Entering directory `/tmp/apache2/httpd-2.2.0/os/unix'
make[3]: Entering directory `/tmp/apache2/httpd-2.2.0/os/unix'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/tmp/apache2/httpd-2.2.0/os/unix'
make[2]: Leaving directory `/tmp/apache2/httpd-2.2.0/os/unix'
make[1]: Leaving directory `/tmp/apache2/httpd-2.2.0/os'
Making all in server
make[1]: Entering directory `/tmp/apache2/httpd-2.2.0/server'
Making all in mpm
make[2]: Entering directory `/tmp/apache2/httpd-2.2.0/server/mpm'
Making all in prefork
make[3]: Entering directory `/tmp/apache2/httpd-2.2.0/server/mpm/prefork'
make[4]: Entering directory `/tmp/apache2/httpd-2.2.0/server/mpm/prefork'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/tmp/apache2/httpd-2.2.0/server/mpm/prefork'
make[3]: Leaving directory `/tmp/apache2/httpd-2.2.0/server/mpm/prefork'
make[2]: Leaving directory `/tmp/apache2/httpd-2.2.0/server/mpm'
make[2]: Entering directory `/tmp/apache2/httpd-2.2.0/server'
Found newer headers. Will rebuild exports.c.name... a.out
rm -f exports.c export_filesler works... yes
tmp=export_files_unsorted.txt; \mpiling... no
rm -f $tmp && touch $tmp; \utables...
for dir in /tmp/apache2/httpd-2.2.0/include /tmp/apache2/httpd-2.2.0/os/unix
/tmp/apache2/httpd-2.2.0/modules/http; do \
    ls $dir/*.h >> $tmp; \ing the GNU C compiler... yes
done; \g whether gcc accepts -g... yes
for dir in /usr/local/apache2/include /usr/local/apache2/include; do \
    ls $dir/ap[ru].h >> $tmp; \ocessor... gcc -E
    ls $dir/ap[ru]_*.h >> $tmp; \ar expression library
done; \ring package in srclib/pcre now
sort -u $tmp > export_files; \
rm -f $tmpor C compiler default output file name... a.out
gawk -f /tmp/apache2/httpd-2.2.0/build/make_exports.awk `cat export_files` >
exports.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -g -O2 -pthread   
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_
SOURCE    -I/tmp/apache2/httpd-2.2.0/srclib/pcre -I.
-I/tmp/apache2/httpd-2.2.0/os/unix -I/tmp/apache2/httpd-2.2.0/server/mpm/prefor
k -I/tmp/apache2/httpd-2.2.0/modules/http
-I/tmp/apache2/httpd-2.2.0/modules/filters
-I/tmp/apache2/httpd-2.2.0/modules/proxy -I/tmp
/apache2/httpd-2.2.0/include -I/tmp/apache2/httpd-2.2.0/modules/generators
-I/tmp/apache2/httpd-2.2.0/modules/mappers -I/tmp/apache2
/httpd-2.2.0/modules/database -I/usr/local/apache2/include
-I/tmp/apache2/httpd-2.2.0/modules/proxy/../generators -I/tmp/apache2/htt
pd-2.2.0/modules/ssl -I/tmp/apache2/httpd-2.2.0/modules/dav/main 
-prefer-non-pic -static -c exports.c && touch exports.lo
rm: cannot remove `.libs/exports.o': Permission denied
rm: cannot remove `.libs/exports.o': Permission denied
Assembler messages: header files... yes
FATAL: can't create .libs/exports.o: Permission denied
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/tmp/apache2/httpd-2.2.0/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/apache2/httpd-2.2.0/server'
make: *** [all-recursive] Error 1

I've tried to glean information on the problem from other bug posts, but nothing
I've tried has cured my problem.  I've got some experience with pre-built Apache
servers, but I haven't ever tried to compile anything other than the default
install before.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38991] - Can't compile with --enable-authnz-ldap; can compile without it

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991


wrowe@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From wrowe@apache.org  2006-03-17 20:48 -------

  Delete your build tree (as root).  Clearly there are stale issues here.

  As yourself, unpack the tarball and start fresh all over again.  It seems
  you keep tripping over the previous (successful) bits of configuration,
  causing the full reconfigure and rebuild to fail.

  httpd tarballs include srclib/apr/ and srclib/apr-util/ and should configure
  those, unless you installed them independently into your system.  If that's
  the case you have to rerun those standalone configure/build steps to include
  your LDAP SDK.

  This really isn't reflecting any bugs in the packages, but numerous misconf
  snafus - I suggest you consult a users list (after attempting the steps
  above) for additional help about your particular environment.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38991] - Can't compile with --enable-authnz-ldap; can compile without it

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991





------- Additional Comments From rpluem@apache.org  2006-03-16 17:02 -------
> Ruediger Pluem:
> I'm running it in a "sudo" shell/container/whatever; would that not give me
> ample permissions?  If not, I can su to root.

Maybe I get things wrong, but I am currently talking about compiling httpd and
not running it. Do you even compile httpd in a sudo shell?
Anyway the question remains to me why we see the "permission denied" messages in
your output. It seems to be that this causes make to stop.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38991] - Can't compile with --enable-authnz-ldap; can compile without it

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991





------- Additional Comments From pjohanneson@gmail.com  2006-03-17 20:05 -------
Bear in mind that I've never compiled Apache before -- is apr-util part of the
default Apache compile?  If not, is it something that I have to install separately?

I've just tried again, with the openldap libraries and utilities, and I get
largely the same results.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38991] - Can't compile with --enable-authnz-ldap; can compile without it

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991





------- Additional Comments From rpluem@apache.org  2006-03-16 19:43 -------
Fine, the permission problem is now gone. I miss a lot of checks in your output
from "Configuring Apache Portable Runtime Utility library". Especially the
checks for the LDAP libraries are missing. I assume that apr-util does not
detect your LDAP SDK.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38991] - Can't compile with --enable-authnz-ldap; can compile without it

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991





------- Additional Comments From bnicholes@apache.org  2006-03-15 23:29 -------
Building against the Novell LDAP SDK on Linux has never been very well test 
nor is it necessary.  Try building against the OpenLDAP libraries.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38991] - Can't compile with --enable-authnz-ldap; can compile without it

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991


rpluem@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From rpluem@apache.org  2006-03-16 12:22 -------
That looks like a permission problem to me. Are you sure that you have the
correct file permissions set on /tmp/apache2/httpd-2.2.0 and all its subdirs
(including the hidden .libs dirs)?



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38991] - Can't compile with --enable-authnz-ldap; can compile without it

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991





------- Additional Comments From bnicholes@apache.org  2006-03-16 15:38 -------
(In reply to comment #3)
> bnicholes@apache.org:
> I'll try that.  I was using the Novell one since our LDAP stuff is on a 
Novell
> server.

Which backend LDAP server you are hitting doesn't make a difference on which 
LDAP client SDK that you use.  My backend LDAP server is also Novell LDAP 
running on a NetWare server.  When I build httpd for NetWare I use the NetWare 
LDAP client and when I build httpd for Linux I use OpenLDAP.  Both are able to 
access the NetWare LDAP server without any problem.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38991] - Can't compile with --enable-authnz-ldap; can compile without it

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991





------- Additional Comments From pjohanneson@gmail.com  2006-03-16 14:04 -------
bnicholes@apache.org:
I'll try that.  I was using the Novell one since our LDAP stuff is on a Novell
server.

Ruediger Pluem:
I'm running it in a "sudo" shell/container/whatever; would that not give me
ample permissions?  If not, I can su to root.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38991] - Can't compile with --enable-authnz-ldap; can compile without it

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38991





------- Additional Comments From pjohanneson@gmail.com  2006-03-16 17:37 -------
Here's the latest attempt.

Signed in as root:

# ./configure --prefix=/usr/local/apache2 --enable-authnz-ldap --with-ldap
--enable-ldap --enable-auth-ldap
--with-ldap-lib=/usr/local/novell/lib --with-ldap-include=/usr/local/novell/include/

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to " -g -O2 -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE"
  setting LDFLAGS to " "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
configure: Configuring PCRE regular expression library
configuring package in srclib/pcre now
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pcre.h
config.status: creating pcre-config
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
srclib/pcre configured properly
  setting AP_LIBS to "/tmp/apache2/httpd-2.2.0/srclib/pcre/libpcre.la"
  setting INCLUDES to "-I$(top_builddir)/srclib/pcre"

Configuring Apache httpd ...

  adding "-I." to INCLUDES
  adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES
  adding "-I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME)" to INCLUDES
  adding "-I$(top_srcdir)/modules/http" to INCLUDES
  adding "-I$(top_srcdir)/modules/filters" to INCLUDES
  adding "-I$(top_srcdir)/modules/proxy" to INCLUDES
  adding "-I$(top_srcdir)/include" to INCLUDES
  adding "-I$(top_srcdir)/modules/generators" to INCLUDES
  adding "-I$(top_srcdir)/modules/mappers" to INCLUDES
  adding "-I$(top_srcdir)/modules/database" to INCLUDES
  adding "-I/usr/local/apache2/include" to INCLUDES

Applying OS-specific hints for httpd ...

  forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"
  forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1"
checking for rm... /bin/rm
checking for pkg-config... /usr/bin/pkg-config
checking for rsync... no
checking for gawk... gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for lynx... lynx
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for APR version 1.2.0 or later... yes
checking for APR-util version 1.2.0 or later... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for library containing sqrt... -lm
checking for getpwnam... yes
checking for getgrnam... yes
checking for initgroups... yes
checking for bindprocessor... no
checking for prctl... yes
checking for timegm... yes
checking for void pointer length... no
checking for tm_gmtoff in struct tm... yes
checking whether to enable mod_authn_file... yes (default)
checking whether to enable mod_authn_dbm... no
checking whether to enable mod_authn_anon... no
checking whether to enable mod_authn_dbd... no
checking whether to enable mod_authn_default... yes (default)
checking whether to enable mod_authn_alias... no
checking whether to enable mod_authz_host... yes (default)
checking whether to enable mod_authz_groupfile... yes (default)
checking whether to enable mod_authz_user... yes (default)
checking whether to enable mod_authz_dbm... no
checking whether to enable mod_authz_owner... no
checking whether to enable mod_authnz_ldap... yes (default)
checking whether to enable mod_authz_default... yes (default)
checking whether to enable mod_auth_basic... yes (default)
checking whether to enable mod_auth_digest... no
checking whether to enable mod_isapi... no
checking whether to enable mod_file_cache... no
checking whether to enable mod_cache... no
checking whether to enable mod_disk_cache... no
checking whether to enable mod_mem_cache... no
checking whether to enable mod_dbd... no
checking whether to enable mod_bucketeer... no
checking whether to enable mod_dumpio... no
checking whether to enable mod_echo... no
checking whether to enable mod_example... no
checking whether to enable mod_case_filter... no
checking whether to enable mod_case_filter_in... no
checking whether to enable mod_ext_filter... no
checking whether to enable mod_include... yes (default)
checking whether to enable mod_filter... yes (default)
checking whether to enable mod_charset_lite... no
checking whether to enable mod_deflate... no
checking whether to enable mod_ldap... yes (default)
checking whether to enable mod_log_config... yes (default)
checking whether to enable mod_log_forensic... no
checking whether to enable mod_logio... no
checking whether to enable mod_env... yes (default)
checking whether to enable mod_mime_magic... no
checking whether to enable mod_cern_meta... no
checking whether to enable mod_expires... no
checking whether to enable mod_headers... no
checking whether to enable mod_ident... no
checking whether to enable mod_usertrack... no
checking whether to enable mod_unique_id... no
checking whether to enable mod_setenvif... yes (default)
checking whether to enable mod_version... no
checking whether to enable mod_proxy... no
checking whether to enable mod_proxy_connect... no
checking whether to enable mod_proxy_ftp... no
checking whether to enable mod_proxy_http... no
checking whether to enable mod_proxy_ajp... no
checking whether to enable mod_proxy_balancer... no
  adding "-I$(top_srcdir)/modules/proxy/../generators" to INCLUDES
checking whether to enable mod_ssl... no
  adding "-I$(top_srcdir)/modules/ssl" to INCLUDES
checking whether to enable mod_optional_hook_export... no
checking whether to enable mod_optional_hook_import... no
checking whether to enable mod_optional_fn_import... no
checking whether to enable mod_optional_fn_export... no
checking for target platform... unix
checking for rlim_t... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/sem.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for setsid... yes
checking for killpg... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for unistd.h... (cached) yes
checking for syslog... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for times... yes
checking which MPM to use... prefork
checking whether to enable mod_http... yes
checking whether to enable mod_mime... yes (default)
checking for extra modules... none
checking whether to enable mod_dav... no
  adding "-I$(top_srcdir)/modules/dav/main" to INCLUDES
checking whether to enable mod_status... yes (default)
checking whether to enable mod_autoindex... yes (default)
checking whether to enable mod_asis... yes (default)
checking whether to enable mod_info... no
checking whether to enable mod_suexec... no
checking whether to enable mod_cgi... yes (default)
checking whether to enable mod_cgid... no
checking whether to enable mod_dav_fs... no
checking whether to enable mod_dav_lock... no
checking whether to enable mod_vhost_alias... no
checking whether to enable mod_negotiation... yes (default)
checking whether to enable mod_dir... yes (default)
checking whether to enable mod_imagemap... no
checking whether to enable mod_actions... yes (default)
checking whether to enable mod_speling... no
checking whether to enable mod_userdir... yes (default)
checking whether to enable mod_alias... yes (default)
checking whether to enable mod_rewrite... no
  setting HTTPD_LDFLAGS to "-export-dynamic"
checking whether to enable mod_so... yes

Restore user-defined environment settings...

  restoring CPPFLAGS to ""
  setting EXTRA_CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE"
  restoring CFLAGS to ""
  setting EXTRA_CFLAGS to " -g -O2 -pthread"
  restoring CXXFLAGS to ""
  setting EXTRA_CXXFLAGS to ""
  restoring LDFLAGS to ""
  setting EXTRA_LDFLAGS to " "
  restoring LIBS to ""
  setting EXTRA_LIBS to "-lm "
  restoring INCLUDES to ""
  setting EXTRA_INCLUDES to "-I$(top_builddir)/srclib/pcre -I.
-I$(top_srcdir)/os/$(OS_DIR) -I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_
NAME) -I$(top_srcdir)/modules/http -I$(top_srcdir)/modules/filters
-I$(top_srcdir)/modules/proxy -I$(top_srcdir)/include -I$(top_src
dir)/modules/generators -I$(top_srcdir)/modules/mappers
-I$(top_srcdir)/modules/database -I/usr/local/apache2/include -I$(top_srcdir
)/modules/proxy/../generators -I$(top_srcdir)/modules/ssl
-I$(top_srcdir)/modules/dav/main"

Construct makefiles and header files...

creating config_vars.mk
configure: creating ./config.status
creating modules/aaa/Makefile
creating modules/arch/win32/Makefile
creating modules/cache/Makefile
creating modules/database/Makefile
creating modules/debug/Makefile
creating modules/echo/Makefile
creating modules/experimental/Makefile
creating modules/filters/Makefile
creating modules/ldap/Makefile
creating modules/loggers/Makefile
creating modules/metadata/Makefile
creating modules/proxy/Makefile
creating modules/ssl/Makefile
creating modules/test/Makefile
creating os/unix/Makefile
creating server/mpm/Makefile
creating server/mpm/prefork/Makefile
creating modules/http/Makefile
creating modules/dav/main/Makefile
creating modules/generators/Makefile
creating modules/dav/fs/Makefile
creating modules/dav/lock/Makefile
creating modules/mappers/Makefile
creating Makefile
creating modules/Makefile
creating srclib/Makefile
creating os/Makefile
creating server/Makefile
creating support/Makefile
creating srclib/pcre/Makefile
creating test/Makefile
config.status: creating docs/conf/httpd.conf
config.status: creating docs/conf/extra/httpd-autoindex.conf
config.status: creating docs/conf/extra/httpd-dav.conf
config.status: creating docs/conf/extra/httpd-default.conf
config.status: creating docs/conf/extra/httpd-info.conf
config.status: creating docs/conf/extra/httpd-languages.conf
config.status: creating docs/conf/extra/httpd-manual.conf
config.status: creating docs/conf/extra/httpd-mpm.conf
config.status: creating docs/conf/extra/httpd-multilang-errordoc.conf
config.status: creating docs/conf/extra/httpd-ssl.conf
config.status: creating docs/conf/extra/httpd-userdir.conf
config.status: creating docs/conf/extra/httpd-vhosts.conf
config.status: creating include/ap_config_layout.h
config.status: creating support/apxs
config.status: creating support/apachectl
config.status: creating support/dbmmanage
config.status: creating support/envvars-std
config.status: creating support/log_server_status
config.status: creating support/logresolve.pl
config.status: creating support/phf_abuse_log.cgi
config.status: creating support/split-logfile
config.status: creating build/rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating build/config_vars.sh
config.status: creating include/ap_config_auto.h
config.status: include/ap_config_auto.h is unchanged
config.status: executing default commands



# make

Making all in srclib
make[1]: Entering directory `/tmp/apache2/httpd-2.2.0/srclib'
Making all in pcre
make[2]: Entering directory `/tmp/apache2/httpd-2.2.0/srclib/pcre'
make[3]: Entering directory `/tmp/apache2/httpd-2.2.0/srclib/pcre'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/tmp/apache2/httpd-2.2.0/srclib/pcre'
make[2]: Leaving directory `/tmp/apache2/httpd-2.2.0/srclib/pcre'
make[1]: Leaving directory `/tmp/apache2/httpd-2.2.0/srclib'
Making all in os
make[1]: Entering directory `/tmp/apache2/httpd-2.2.0/os'
Making all in unix
make[2]: Entering directory `/tmp/apache2/httpd-2.2.0/os/unix'
make[3]: Entering directory `/tmp/apache2/httpd-2.2.0/os/unix'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/tmp/apache2/httpd-2.2.0/os/unix'
make[2]: Leaving directory `/tmp/apache2/httpd-2.2.0/os/unix'
make[1]: Leaving directory `/tmp/apache2/httpd-2.2.0/os'
Making all in server
make[1]: Entering directory `/tmp/apache2/httpd-2.2.0/server'
Making all in mpm
make[2]: Entering directory `/tmp/apache2/httpd-2.2.0/server/mpm'
Making all in prefork
make[3]: Entering directory `/tmp/apache2/httpd-2.2.0/server/mpm/prefork'
make[4]: Entering directory `/tmp/apache2/httpd-2.2.0/server/mpm/prefork'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/tmp/apache2/httpd-2.2.0/server/mpm/prefork'
make[3]: Leaving directory `/tmp/apache2/httpd-2.2.0/server/mpm/prefork'
make[2]: Leaving directory `/tmp/apache2/httpd-2.2.0/server/mpm'
make[2]: Entering directory `/tmp/apache2/httpd-2.2.0/server'
Found newer headers. Will rebuild exports.c.
rm -f exports.c export_files
tmp=export_files_unsorted.txt; \
rm -f $tmp && touch $tmp; \
for dir in /tmp/apache2/httpd-2.2.0/include /tmp/apache2/httpd-2.2.0/os/unix
/tmp/apache2/httpd-2.2.0/modules/http; do \
    ls $dir/*.h >> $tmp; \
done; \
for dir in /usr/local/apache2/include /usr/local/apache2/include; do \
    ls $dir/ap[ru].h >> $tmp; \
    ls $dir/ap[ru]_*.h >> $tmp; \
done; \
sort -u $tmp > export_files; \
rm -f $tmp
gawk -f /tmp/apache2/httpd-2.2.0/build/make_exports.awk `cat export_files` >
exports.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -g -O2 -pthread   
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_
SOURCE    -I/tmp/apache2/httpd-2.2.0/srclib/pcre -I.
-I/tmp/apache2/httpd-2.2.0/os/unix -I/tmp/apache2/httpd-2.2.0/server/mpm/prefor
k -I/tmp/apache2/httpd-2.2.0/modules/http
-I/tmp/apache2/httpd-2.2.0/modules/filters
-I/tmp/apache2/httpd-2.2.0/modules/proxy -I/tmp
/apache2/httpd-2.2.0/include -I/tmp/apache2/httpd-2.2.0/modules/generators
-I/tmp/apache2/httpd-2.2.0/modules/mappers -I/tmp/apache2
/httpd-2.2.0/modules/database -I/usr/local/apache2/include
-I/tmp/apache2/httpd-2.2.0/modules/proxy/../generators -I/tmp/apache2/htt
pd-2.2.0/modules/ssl -I/tmp/apache2/httpd-2.2.0/modules/dav/main 
-prefer-non-pic -static -c exports.c && touch exports.lo
/usr/local/apache2/build/libtool --silent --mode=link gcc -g -O2 -pthread      
 -o libmain.la -static  test_char.h config.lo log.lo
 main.lo vhost.lo util.lo util_script.lo util_md5.lo util_cfgtree.lo
util_ebcdic.lo util_time.lo connection.lo listen.lo mpm_common.
lo util_charset.lo util_debug.lo util_xml.lo util_filter.lo util_pcre.lo
exports.lo scoreboard.lo error_bucket.lo protocol.lo core.l
o request.lo provider.lo eoc_bucket.lo core_filters.lo
gawk -f /tmp/apache2/httpd-2.2.0/build/make_var_export.awk `cat export_files` >
export_vars.h
gcc -E  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   
-I/tmp/apache2/httpd-2.2.0/srclib/pcre -I. -I/tmp/apache2/http
d-2.2.0/os/unix -I/tmp/apache2/httpd-2.2.0/server/mpm/prefork
-I/tmp/apache2/httpd-2.2.0/modules/http -I/tmp/apache2/httpd-2.2.0/mod
ules/filters -I/tmp/apache2/httpd-2.2.0/modules/proxy
-I/tmp/apache2/httpd-2.2.0/include -I/tmp/apache2/httpd-2.2.0/modules/generato
rs -I/tmp/apache2/httpd-2.2.0/modules/mappers
-I/tmp/apache2/httpd-2.2.0/modules/database -I/usr/local/apache2/include
-I/tmp/apache
2/httpd-2.2.0/modules/proxy/../generators -I/tmp/apache2/httpd-2.2.0/modules/ssl
-I/tmp/apache2/httpd-2.2.0/modules/dav/main exports
.c | grep "ap_hack_" | grep -v apr_ | sed -e 's/^.*[)]\(.*\);$/\1/' >> httpd.exp
gcc -E  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   
-I/tmp/apache2/httpd-2.2.0/srclib/pcre -I. -I/tmp/apache2/http
d-2.2.0/os/unix -I/tmp/apache2/httpd-2.2.0/server/mpm/prefork
-I/tmp/apache2/httpd-2.2.0/modules/http -I/tmp/apache2/httpd-2.2.0/mod
ules/filters -I/tmp/apache2/httpd-2.2.0/modules/proxy
-I/tmp/apache2/httpd-2.2.0/include -I/tmp/apache2/httpd-2.2.0/modules/generato
rs -I/tmp/apache2/httpd-2.2.0/modules/mappers
-I/tmp/apache2/httpd-2.2.0/modules/database -I/usr/local/apache2/include
-I/tmp/apache
2/httpd-2.2.0/modules/proxy/../generators -I/tmp/apache2/httpd-2.2.0/modules/ssl
-I/tmp/apache2/httpd-2.2.0/modules/dav/main export_
vars.h | grep -v apr_ | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> httpd.exp
make[2]: Leaving directory `/tmp/apache2/httpd-2.2.0/server'
make[1]: Leaving directory `/tmp/apache2/httpd-2.2.0/server'
Making all in modules
make[1]: Entering directory `/tmp/apache2/httpd-2.2.0/modules'
Making all in aaa
make[2]: Entering directory `/tmp/apache2/httpd-2.2.0/modules/aaa'
make[3]: Entering directory `/tmp/apache2/httpd-2.2.0/modules/aaa'
/usr/local/apache2/build/libtool --silent --mode=compile gcc -g -O2 -pthread   
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_
SOURCE    -I/tmp/apache2/httpd-2.2.0/srclib/pcre -I.
-I/tmp/apache2/httpd-2.2.0/os/unix -I/tmp/apache2/httpd-2.2.0/server/mpm/prefor
k -I/tmp/apache2/httpd-2.2.0/modules/http
-I/tmp/apache2/httpd-2.2.0/modules/filters
-I/tmp/apache2/httpd-2.2.0/modules/proxy -I/tmp
/apache2/httpd-2.2.0/include -I/tmp/apache2/httpd-2.2.0/modules/generators
-I/tmp/apache2/httpd-2.2.0/modules/mappers -I/tmp/apache2
/httpd-2.2.0/modules/database -I/usr/local/apache2/include
-I/tmp/apache2/httpd-2.2.0/modules/proxy/../generators -I/tmp/apache2/htt
pd-2.2.0/modules/ssl -I/tmp/apache2/httpd-2.2.0/modules/dav/main 
-prefer-non-pic -static -c mod_authnz_ldap.c && touch mod_authnz_ldap.lo
mod_authnz_ldap.c:40:2: #error mod_authnz_ldap requires APR-util to have LDAP
support built in. To fix add --with-ldap to ./configure.
mod_authnz_ldap.c:62: error: parse error before "deref_options"
mod_authnz_ldap.c:62: warning: no semicolon at end of struct or union
mod_authnz_ldap.c:76: error: parse error before '}' token
mod_authnz_ldap.c:76: warning: data definition has no type or storage class
mod_authnz_ldap.c:92: error: parse error before '*' token
mod_authnz_ldap.c:92: warning: data definition has no type or storage class
mod_authnz_ldap.c:93: error: parse error before '*' token
mod_authnz_ldap.c:93: warning: data definition has no type or storage class
mod_authnz_ldap.c:94: error: parse error before '*' token
mod_authnz_ldap.c:94: warning: data definition has no type or storage class
mod_authnz_ldap.c:95: error: parse error before '*' token
mod_authnz_ldap.c:95: warning: data definition has no type or storage class
mod_authnz_ldap.c:96: error: parse error before '*' token
mod_authnz_ldap.c:96: warning: data definition has no type or storage class
mod_authnz_ldap.c:97: error: parse error before '*' token
mod_authnz_ldap.c:97: warning: data definition has no type or storage class
mod_authnz_ldap.c:98: error: parse error before '*' token
mod_authnz_ldap.c:98: warning: data definition has no type or storage class
mod_authnz_ldap.c:177: error: parse error before "authn_ldap_config_t"
mod_authnz_ldap.c: In function `authn_ldap_build_filter':
mod_authnz_ldap.c:186: error: `sent_user' undeclared (first use in this function)
mod_authnz_ldap.c:186: error: (Each undeclared identifier is reported only once
mod_authnz_ldap.c:186: error: for each function it appears in.)
mod_authnz_ldap.c:187: error: `r' undeclared (first use in this function)
mod_authnz_ldap.c:192: error: `sent_filter' undeclared (first use in this function)
mod_authnz_ldap.c:196: error: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:217: error: `filtbuf' undeclared (first use in this function)
mod_authnz_ldap.c: In function `create_authnz_ldap_dir_config':
mod_authnz_ldap.c:277: error: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:278: error: parse error before ')' token
mod_authnz_ldap.c:295: error: `always' undeclared (first use in this function)
mod_authnz_ldap.c: In function `authnz_ldap_cleanup_connection_close':
mod_authnz_ldap.c:313: error: `util_ldap_connection_t' undeclared (first use in
this function)
mod_authnz_ldap.c:313: error: `ldc' undeclared (first use in this function)
mod_authnz_ldap.c:314: error: called object is not a function
mod_authnz_ldap.c: In function `authn_ldap_check_password':
mod_authnz_ldap.c:335: error: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:336: error: parse error before ')' token
mod_authnz_ldap.c:338: error: `util_ldap_connection_t' undeclared (first use in
this function)
mod_authnz_ldap.c:338: error: `ldc' undeclared (first use in this function)
mod_authnz_ldap.c:365: error: called object is not a function
mod_authnz_ldap.c:380: error: called object is not a function
mod_authnz_ldap.c:387: error: called object is not a function
mod_authnz_ldap.c:396: error: called object is not a function
mod_authnz_ldap.c:397: error: called object is not a function
mod_authnz_ldap.c:400: error: `LDAP_SERVER_DOWN' undeclared (first use in this
function)
mod_authnz_ldap.c:407: error: `LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:413: error: `LDAP_NO_SUCH_OBJECT' undeclared (first use in
this function)
mod_authnz_ldap.c: In function `authz_ldap_check_user_access':
mod_authnz_ldap.c:472: error: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:473: error: parse error before ')' token
mod_authnz_ldap.c:475: error: `util_ldap_connection_t' undeclared (first use in
this function)
mod_authnz_ldap.c:475: error: `ldc' undeclared (first use in this function)
mod_authnz_ldap.c:503: error: called object is not a function
mod_authnz_ldap.c:560: error: called object is not a function
mod_authnz_ldap.c:563: error: `LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:599: error: called object is not a function
mod_authnz_ldap.c:601: error: `LDAP_COMPARE_TRUE' undeclared (first use in this
function)
mod_authnz_ldap.c:619: error: called object is not a function
mod_authnz_ldap.c:645: error: called object is not a function
mod_authnz_ldap.c:694: error: called object is not a function
mod_authnz_ldap.c:728: error: called object is not a function
mod_authnz_ldap.c:765: error: called object is not a function
mod_authnz_ldap.c:773: error: called object is not a function
mod_authnz_ldap.c:784: error: `LDAP_FILTER_ERROR' undeclared (first use in this
function)
mod_authnz_ldap.c: In function `mod_auth_ldap_parse_url':
mod_authnz_ldap.c:835: error: `apr_ldap_url_desc_t' undeclared (first use in
this function)
mod_authnz_ldap.c:835: error: `urld' undeclared (first use in this function)
mod_authnz_ldap.c:836: error: `apr_ldap_err_t' undeclared (first use in this
function)
mod_authnz_ldap.c:836: error: `result' undeclared (first use in this function)
mod_authnz_ldap.c:838: error: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:859: error: `LDAP_SCOPE_SUBTREE' undeclared (first use in this
function)
mod_authnz_ldap.c:860: error: `LDAP_SCOPE_BASE' undeclared (first use in this
function)
mod_authnz_ldap.c:861: error: `LDAP_SCOPE_ONELEVEL' undeclared (first use in
this function)
mod_authnz_ldap.c:916: error: `APR_LDAP_NONE' undeclared (first use in this
function)
mod_authnz_ldap.c:919: error: `APR_LDAP_SSL' undeclared (first use in this function)
mod_authnz_ldap.c:922: error: `APR_LDAP_STARTTLS' undeclared (first use in this
function)
mod_authnz_ldap.c:935: error: `LDAPS_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:941: error: `LDAP_PORT' undeclared (first use in this function)
mod_authnz_ldap.c: In function `mod_auth_ldap_set_deref':
mod_authnz_ldap.c:953: error: `sec' undeclared (first use in this function)
mod_authnz_ldap.c:956: error: `never' undeclared (first use in this function)
mod_authnz_ldap.c:959: error: `searching' undeclared (first use in this function)
mod_authnz_ldap.c:962: error: `finding' undeclared (first use in this function)
mod_authnz_ldap.c:965: error: `always' undeclared (first use in this function)
mod_authnz_ldap.c: In function `mod_auth_ldap_add_group_attribute':
mod_authnz_ldap.c:977: error: `sec' undeclared (first use in this function)
mod_authnz_ldap.c: At top level:
mod_authnz_ldap.c:1023: error: parse error before ')' token
mod_authnz_ldap.c:1023: error: initializer element is not constant
mod_authnz_ldap.c:1023: error: (near initialization for
`authnz_ldap_cmds[1].cmd_data')
mod_authnz_ldap.c:1023: error: initializer element is not constant
mod_authnz_ldap.c:1023: error: (near initialization for `authnz_ldap_cmds[1]')
mod_authnz_ldap.c:1027: error: initializer element is not constant
mod_authnz_ldap.c:1027: error: (near initialization for `authnz_ldap_cmds[2].func')
mod_authnz_ldap.c:1027: error: parse error before ')' token
mod_authnz_ldap.c:1027: error: initializer element is not constant
mod_authnz_ldap.c:1027: error: (near initialization for
`authnz_ldap_cmds[2].cmd_data')
mod_authnz_ldap.c:1027: error: initializer element is not constant
mod_authnz_ldap.c:1027: error: (near initialization for `authnz_ldap_cmds[2]')
mod_authnz_ldap.c:1033: error: initializer element is not constant
mod_authnz_ldap.c:1033: error: (near initialization for `authnz_ldap_cmds[3].func')
mod_authnz_ldap.c:1033: error: parse error before ')' token
mod_authnz_ldap.c:1033: error: initializer element is not constant
mod_authnz_ldap.c:1033: error: (near initialization for
`authnz_ldap_cmds[3].cmd_data')
mod_authnz_ldap.c:1033: error: initializer element is not constant
mod_authnz_ldap.c:1033: error: (near initialization for `authnz_ldap_cmds[3]')
mod_authnz_ldap.c:1038: error: initializer element is not constant
mod_authnz_ldap.c:1038: error: (near initialization for `authnz_ldap_cmds[4].func')
mod_authnz_ldap.c:1038: error: parse error before ')' token
mod_authnz_ldap.c:1038: error: initializer element is not constant
mod_authnz_ldap.c:1038: error: (near initialization for
`authnz_ldap_cmds[4].cmd_data')
mod_authnz_ldap.c:1038: error: initializer element is not constant
mod_authnz_ldap.c:1038: error: (near initialization for `authnz_ldap_cmds[4]')
mod_authnz_ldap.c:1045: error: initializer element is not constant
mod_authnz_ldap.c:1045: error: (near initialization for `authnz_ldap_cmds[5].func')
mod_authnz_ldap.c:1045: error: parse error before ')' token
mod_authnz_ldap.c:1045: error: initializer element is not constant
mod_authnz_ldap.c:1045: error: (near initialization for
`authnz_ldap_cmds[5].cmd_data')
mod_authnz_ldap.c:1045: error: initializer element is not constant
mod_authnz_ldap.c:1045: error: (near initialization for `authnz_ldap_cmds[5]')
mod_authnz_ldap.c:1049: error: initializer element is not constant
mod_authnz_ldap.c:1049: error: (near initialization for `authnz_ldap_cmds[6].func')
mod_authnz_ldap.c:1049: error: initializer element is not constant
mod_authnz_ldap.c:1049: error: (near initialization for `authnz_ldap_cmds[6]')
mod_authnz_ldap.c:1055: error: initializer element is not constant
mod_authnz_ldap.c:1055: error: (near initialization for `authnz_ldap_cmds[7].func')
mod_authnz_ldap.c:1055: error: parse error before ')' token
mod_authnz_ldap.c:1055: error: initializer element is not constant
mod_authnz_ldap.c:1055: error: (near initialization for
`authnz_ldap_cmds[7].cmd_data')
mod_authnz_ldap.c:1055: error: initializer element is not constant
mod_authnz_ldap.c:1055: error: (near initialization for `authnz_ldap_cmds[7]')
mod_authnz_ldap.c:1060: error: initializer element is not constant
mod_authnz_ldap.c:1060: error: (near initialization for `authnz_ldap_cmds[8].func')
mod_authnz_ldap.c:1060: error: initializer element is not constant
mod_authnz_ldap.c:1060: error: (near initialization for `authnz_ldap_cmds[8]')
mod_authnz_ldap.c:1070: error: initializer element is not constant
mod_authnz_ldap.c:1070: error: (near initialization for `authnz_ldap_cmds[9].func')
mod_authnz_ldap.c:1070: error: initializer element is not constant
mod_authnz_ldap.c:1070: error: (near initialization for `authnz_ldap_cmds[9]')
mod_authnz_ldap.c:1072: error: initializer element is not constant
mod_authnz_ldap.c:1072: error: (near initialization for `authnz_ldap_cmds[10]')
mod_authnz_ldap.c: In function `ImportULDAPOptFn':
mod_authnz_ldap.c:1165: error: `apr_OFN_uldap_connection_close_t' undeclared
(first use in this function)
mod_authnz_ldap.c:1165: error: parse error before ')' token
mod_authnz_ldap.c:1166: error: `apr_OFN_uldap_connection_find_t' undeclared
(first use in this function)
mod_authnz_ldap.c:1166: error: parse error before ')' token
mod_authnz_ldap.c:1167: error: `apr_OFN_uldap_cache_comparedn_t' undeclared
(first use in this function)
mod_authnz_ldap.c:1167: error: parse error before ')' token
mod_authnz_ldap.c:1168: error: `apr_OFN_uldap_cache_compare_t' undeclared (first
use in this function)
mod_authnz_ldap.c:1168: error: parse error before ')' token
mod_authnz_ldap.c:1169: error: `apr_OFN_uldap_cache_checkuserid_t' undeclared
(first use in this function)
mod_authnz_ldap.c:1169: error: parse error before ')' token
mod_authnz_ldap.c:1170: error: `apr_OFN_uldap_cache_getuserdn_t' undeclared
(first use in this function)
mod_authnz_ldap.c:1170: error: parse error before ')' token
mod_authnz_ldap.c:1171: error: `apr_OFN_uldap_ssl_supported_t' undeclared (first
use in this function)
mod_authnz_ldap.c:1171: error: parse error before ')' token
make[3]: *** [mod_authnz_ldap.lo] Error 1
make[3]: Leaving directory `/tmp/apache2/httpd-2.2.0/modules/aaa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/apache2/httpd-2.2.0/modules/aaa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/apache2/httpd-2.2.0/modules'
make: *** [all-recursive] Error 1





-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org