歡迎您光臨本站 註冊首頁

RedHat As5 安裝編譯apache出現問題

←手機掃碼閱讀     火星人 @ 2014-03-22 , reply:0

我的環境是Linux AS5.3 x86_64

現在安裝apache2.0.63編譯的時候出現問題

編譯命令:./configure --prefix=/usr/local/apache --enable-so --enable-cgi --enable-track-vars --enable-mods-shared=all --enable-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --with-mpm=worker --with-ssl=/usr/lib --enable-ssl

請大家幫忙看看,我Google了下找到的結果是libivonv沒裝結果裝的libivonv又出現這個問題里....

下面是編譯顯示最後500行
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 long... yes
checking size of long 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 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 in 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
decision 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 IPv6... 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 to ""
setting EXTRA_CPPFLAGS to "-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
restoring CFLAGS to ""
setting EXTRA_CFLAGS to "-g -O2 -pthread"
restoring LDFLAGS to ""
setting EXTRA_LDFLAGS to ""
restoring LIBS to ""
setting EXTRA_LIBS to "-lrt -lm -lcrypt -lnsl -lpthread -ldl"
restoring INCLUDES to ""
setting EXTRA_INCLUDES to ""

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 to " "
setting INCLUDES to " -I/home/yeyunan/httpd-2.0.63/srclib/apr/include "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... reconfig
configuring 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 to ""
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

[火星人 ] RedHat As5 安裝編譯apache出現問題已經有553次圍觀

http://coctec.com/docs/linux/show-post-106034.html