RedHatAs5 installation and compilation apache Problems

Source: Internet
Author: User
Tags flock ldap
RedHatAs5 installation and compilation apache problems-general Linux technology-Linux technology and application information, the following is a detailed description. My environment is Linux AS5.3 x86_64

Now there is a problem when you install apache2.0.63 compilation.

Compile command :. /configure -- prefix =/usr/local/apache -- enable-so -- enable-cgi -- enable-track-vars -- enable-mod-shared = all -- enable-cache -- enable- disk-cache -- enable-mem-cache -- enable-rewrite -- with-mpm = worker -- with-ssl =/usr/lib -- enable-ssl

Please take a look. The result I found on Google is that libivonv is not installed. The result is that libivonv is installed again ....

Below is the last 500 lines of compilation
Checking for socklen_t... yes
Checking whether system defines INADDR_NONE... yes
Checking for void *... yes
Checking size of void *... 8
Checking for char... yes
Checking size of char... 1
Checking for int... yes
Checking size of int... 4
Checking for long... yes
Checking size of long... 8
Checking for short... yes
Checking size of short... 2
Checking for long double... yes
Checking size of long double... 16
Checking for long... yes
Checking size of long... 8
Checking for INT64_C... yes
Checking size of ssize_t... 8
Checking size of size_t... 8
Checking size of off_t... 8
Checking which type to use for apr_off_t... off_t
Checking whether ino_t and unsigned long are the same... no
Checking whether ino_t and unsigned long are the same... yes
Checking whether ino_t and unsigned int are the same... no
Checking size of pid_t... 4
Checking for strnicmp... no
Checking for strncasecmp... yes
Checking for stricmp... (cached) no
Checking for strcasecmp... (cached) yes
Checking for strdup... yes
Checking for strstr... yes
Checking for memchr... yes
Checking for strtol... yes

Checking for DSO...
Checking for NSLinkModule... no
Checking for shl_load in-ldld... no
Checking for dlopen... no
Checking for dlopen in-ldl... yes
Adding "-ldl" to LIBS
Checking for dlsym... yes

Checking for Processes...
Checking for waitpid... yes
Checking for Variable Length Arrays... yes
Checking struct rlimit... yes

Checking for Locking...
Checking for semget... yes
Checking for semctl... yes
Checking for flock... yes
Checking for semaphore. h... (cached) yes
Checking for sem_close... yes
Checking for sem_unlink... yes
Checking for sem_post... yes
Checking for sem_wait... yes
Checking for working sem_open... no
Checking for union semun in sys/sem. h... no
Checking for LOCK_EX in sys/file. h... yes
Checking for F_SETLK in fcntl. h... yes
Checking for SEM_UNDO in sys/sem. h... yes
Checking for POLLIN poll. h sys/poll. h... yes
Checking for PTHREAD_PROCESS_SHARED in pthread. h... yes
Checking for pthread_mutexattr_setpshared... yes
Checking for working PROCESS_SHARED locks... yes
Checking for robust cross-process mutex support... yes
Demo-on apr_lock implementation method... SysV IPC semget ()
Checking if all interprocess locks affect threads... no
Checking if POSIX sems affect threads in the same process... no
Checking if SysV sems affect threads in the same process... no
Checking if fcntl locks affect threads in the same process... no
Checking if flock locks affect threads in the same process... no
Checking for entropy source.../dev/random

Checking for Time Support...
Checking for tm_gmtoff in struct tm... yes

Checking for Networking support...
Checking for in_addr in netinet/in. h... yes
Checking if fd = socket on this platform... yes
Checking style of gethostbyname_r routine... glibc2
Checking 3rd argument to the gethostbyname_r routines... char
Checking if TCP_NODELAY setting is inherited from listening sockets... yes
Checking if O_NONBLOCK setting is inherited from listening sockets... no
Checking for TCP_CORK in netinet/tcp. h... yes
Checking for TCP_NOPUSH in netinet/tcp. h... no
Checking for SO_ACCEPTFILTER in sys/socket. h... no
Checking whether SCTP is supported... no
Checking for set_h_errno... no
Checking for presence of retrans/retry fields in res_state/resolv. h... yes

Checking for IPv6 Networking support...
Checking for library containing getaddrinfo... none required
Checking for library containing gai_strerror... none required
Checking for library containing getnameinfo... none required
Checking for gai_strerror... yes
Checking for working getaddrinfo... yes
Checking for negative error codes for getaddrinfo... yes
Checking for working getnameinfo... yes
Checking for sockaddr_in6... yes
Checking if APR supports limit 6... yes
Checking langinfo. h usability... yes
Checking langinfo. h presence... yes
Checking for langinfo. h... yes
Checking for nl_langinfo... yes
Checking for usable fstat64... yes

Restore user-defined environment settings...
Restoring CPPFLAGS ""
Setting EXTRA_CPPFLAGS to "-DLINUX = 2-D_REENTRANT-D_GNU_SOURCE"
Restoring CFLAGS ""
Setting EXTRA_CFLAGS to "-g-O2-pthread"
Restoring LDFLAGS ""
Setting EXTRA_LDFLAGS ""
Restoring LIBS ""
Setting EXTRA_LIBS to "-lrt-lm-lcrypt-lnsl-lpthread-ldl"
Restoring events des ""
Setting EXTRA_INCLUDES ""

Construct Makefiles and header files.
Configure: creating./config. status
Config. status: creating Makefile
Config. status: creating strings/Makefile
Config. status: creating passwd/Makefile
Config. status: creating tables/Makefile
Config. status: creating build/Makefile
Config. status: creating file_io/unix/Makefile
Config. status: creating network_io/unix/Makefile
Config. status: creating threadproc/unix/Makefile
Config. status: creating misc/unix/Makefile
Config. status: creating locks/unix/Makefile
Config. status: creating time/unix/Makefile
Config. status: creating mmap/unix/Makefile
Config. status: creating shmem/unix/Makefile
Config. status: creating user/unix/Makefile
Config. status: creating memory/unix/Makefile
Config. status: creating atomic/unix/Makefile
Config. status: creating poll/unix/Makefile
Config. status: creating support/unix/Makefile
Config. status: creating dso/unix/Makefile
Config. status: creating test/Makefile
Config. status: creating test/internal/Makefile
Config. status: creating include/apr. h
Config. status: creating build/apr_rules.mk
Config. status: creating build/pkg/pkginfo
Config. status: creating apr-config
Config. status: WARNING: apr-config.in seems to ignore the -- datarootdir setting
Config. status: creating include/arch/unix/apr_private.h
Config. status: executing default commands
Srclib/apr configured properly
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"
Setting LDFLAGS ""
Setting shortdes to "-I/home/yeyunan/httpd-2.0.63/srclib/apr/include"

Refreshing Apache Portable Runtime Utility library...

Checking for APR-util... reconfig
Grouping package in srclib/apr-util now
Checking build system type... x86_64-unknown-linux-gnu
Checking host system type... x86_64-unknown-linux-gnu
Checking target system type... x86_64-unknown-linux-gnu
Checking for working mkdir-p... yes
APR-util Version: 0.9.15
Checking for chosen layout... apr-util
Applying apr-util hints file rules for x86_64-unknown-linux-gnu
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"
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 ISO c89... none needed
Checking how to run the C preprocessor... gcc-E
Checking for grep that handles long lines and-e.../bin/grep
Checking for egrep.../bin/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 for ldap support...
Checking for default DBM... sdbm (default)
Checking for Expat in/usr... yes
Setting APRUTIL_EXPORT_LIBS to "-lexpat"
Setting APRUTIL_LDFLAGS ""
Setting APRUTIL_LIBS to "/usr/lib/libexpat. la"
Checking iconv. h usability... yes
Checking iconv. h presence... yes
Checking for iconv. h... yes
Checking for type of inbuf parameter to iconv... char **
Checking for iconv. h... (cached) yes
Checking langinfo. h usability... yes
Checking langinfo. h presence... yes
Checking for langinfo. h... yes
Checking for nl_langinfo... yes
Checking for CODESET in langinfo. h... yes
Checking for library containing crypt...-lcrypt
Checking if system crypt () function is threadsafe... no
Checking for crypt_r... yes
Checking style of crypt_r... struct_crypt_data
Adding "/home/yeyunan/httpd-2.0.63/srclib/apr/libapr-0.la" to APRUTIL_LIBS
Adding "-lrt" to APRUTIL_LIBS
Adding "-lm" to APRUTIL_LIBS
Adding "-lcrypt" to APRUTIL_LIBS
Adding "-lnsl" to APRUTIL_LIBS
Adding "-lpthread" to APRUTIL_LIBS
Adding "-ldl" to APRUTIL_LIBS
Configure: creating./config. status
Config. status: creating export_vars.sh
Config. status: creating apu-config
Config. status: creating build/pkg/pkginfo
Config. status: creating include/private/apu_select_dbm.h
Config. status: creating include/apr_ldap.h
Config. status: creating include/apu. h
Config. status: creating include/apu_want.h
Config. status: creating Makefile
Config. status: creating buckets/Makefile
Config. status: creating crypto/Makefile
Config. status: creating dbm/Makefile
Config. status: creating dbm/sdbm/Makefile
Config. status: creating encoding/Makefile
Config. status: creating hooks/Makefile
Config. status: creating ldap/Makefile
Config. status: creating uri/Makefile
Config. status: creating xml/Makefile
Config. status: creating misc/Makefile
Config. status: creating strmatch/Makefile
Config. status: creating xlate/Makefile
Config. status: creating test/Makefile
Config. status: creating include/private/apu_config.h
Config. status: include/private/apu_config.h is unchanged
Config. status: executing default commands
Srclib/apr-util configured properly
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.