Hi, all I am trying to compile subversion 1.6.16. autogen.sh does not report any problem. I then run configure:
# ./configure --with-apxs=$APACHE/bin/apxs --with-apr=$APACHE/bin/ --with-apr-util=$APACHE/bin/ --with-zlib=/usr/local ..... checking whether to look for SASL... yes configure: Looking in default locations checking sasl/sasl.h usability... no checking sasl/sasl.h presence... yes configure: WARNING: sasl/sasl.h: present but cannot be compiled configure: WARNING: sasl/sasl.h: check for missing prerequisite headers? configure: WARNING: sasl/sasl.h: see the Autoconf documentation configure: WARNING: sasl/sasl.h: section "Present But Cannot Be Compiled" configure: WARNING: sasl/sasl.h: proceeding with the compiler's result configure: WARNING: ## -------------------------------------------- ## configure: WARNING: ## Report this to http://subversion.tigris.org/ ## configure: WARNING: ## -------------------------------------------- ## checking for sasl/sasl.h... no checking for sasl/sasl.h... (cached) no checking for availability of Cyrus SASL v2... no checking for Mac OS KeyChain Services... no checking whether APR has support for DSOs... yes checking whether to look for GNOME Keyring... no checking for msgfmt... /usr/local/bin/msgfmt checking for msgmerge... /usr/local/bin/msgmerge checking for xgettext... /usr/local/bin/xgettext checking for library containing bindtextdomain... no checking for library containing bindtextdomain... no configure: WARNING: bindtextdomain() not found. Disabling NLS. checking whether to look for KWallet... no checking for ANSI C header files... (cached) no checking for an ANSI C-conforming const... no checking for size_t... no checking for working memcmp... no checking for vprintf... no checking for symlink... no checking for readlink... no configure: zlib library configuration checking zlib.h usability... no checking zlib.h presence... yes configure: WARNING: zlib.h: present but cannot be compiled configure: WARNING: zlib.h: check for missing prerequisite headers? configure: WARNING: zlib.h: see the Autoconf documentation configure: WARNING: zlib.h: section "Present But Cannot Be Compiled" configure: WARNING: zlib.h: proceeding with the compiler's result configure: WARNING: ## -------------------------------------------- ## configure: WARNING: ## Report this to http://subversion.tigris.org/ ## configure: WARNING: ## -------------------------------------------- ## checking for zlib.h... no configure: error: subversion requires zlib The SASL (v2.1.23) and zlib (v1.2.5) are installed at default location (/usr/local). I read the "autoconf" document at mentioned web site but don't know how to make a header file change. Can anyone help me? Thanks in advance. Ryan Jiang This message (including any attachments) is intended solely for the specific individual(s) or entity(ies) named above, and may contain legally privileged and confidential information. If you are not the intended recipient, please notify the sender immediately by replying to this message and then delete it. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, by other than the intended recipient, is strictly prohibited.