Can not compile Apache Portable Runtime

  • bzzik
  • Newbie
  • Newbie
  • bzzik
  • Posts: 6

Post 3+ Months Ago

Hi guys!

I am trying to install dedicated web server on my Slackware 12.0.0 machine. I am a novice in Linux, but succeeded in MySQL & proFTPd installation. The problem now in httpd compiling.

I downloaded the latest Apache 2.2.9, but it needs Apache Portable Runtime 1.3.2 installed. I downloaded 1.3.2 version and run ./configure

Code: [ Select ]
checking size of size_t... 4
checking which format to use for apr_size_t... %u
checking size of off_t... 4
checking for mmap64... yes
checking for sendfile64... yes
checking for sendfilev64... no
checking for mkstemp64... yes
checking for readdir64_r... yes
checking which type to use for apr_off_t... off64_t
checking whether ino_t and unsigned long are the same... yes
configure: using unsigned long for ino_t
checking size of pid_t... 4
checking whether byte ordering is bigendian... no
checking size of struct iovec... 8
checking for strnicmp... no
checking for strncasecmp... yes
checking for stricmp... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strstr... yes
checking for memchr... yes
checking for strtoll... yes
 
Checking for DSO...
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 OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking for library containing sem_open... none required
checking for sem_close... yes
checking for sem_unlink... yes
checking for sem_post... yes
checking for sem_wait... yes
checking for create_sem... no
checking for working sem_open... yes
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/urandom
 
Checking for File Info Support...
checking for struct stat.st_blocks... yes
checking for struct stat.st_atimensec... no
checking for struct stat.st_ctimensec... no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_ctim.tv_nsec... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_atime_n... no
checking for struct stat.st_ctime_n... no
checking for struct stat.st_mtime_n... no
checking for inode member of struct dirent... d_fileno
checking for file type member of struct dirent... d_type
 
Checking for OS UUID Support...
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for library containing uuid_create... no
checking for library containing uuid_generate... -luuid
checking for uuid_create... no
checking for uuid_generate... yes
checking for os uuid usability... yes
 
Checking for Time Support...
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
 
Checking for Networking support...
checking for type in_addr... 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 style of getservbyname_r routine... glibc2
checking if TCP_NODELAY setting is inherited from listening sockets... yes
checking if O_NONBLOCK setting is inherited from listening sockets... no
checking whether TCP_NODELAY and TCP_CORK can both be enabled... yes
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 struct ip_mreq... yes
checking for set_h_errno... no
 
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 for sockaddr_storage... yes
checking for working AI_ADDRCONFIG... 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
 
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 LDFLAGS to ""
setting EXTRA_LDFLAGS to ""
restoring LIBS to ""
setting EXTRA_LIBS to "-luuid -lrt -lcrypt -lpthread -ldl"
restoring INCLUDES to ""
setting EXTRA_INCLUDES to ""
configure: creating ./config.status
config.status: creating 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 apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing default commands
config.status: include/apr.h is unchanged
config.status: include/arch/unix/apr_private.h is unchanged
  1. checking size of size_t... 4
  2. checking which format to use for apr_size_t... %u
  3. checking size of off_t... 4
  4. checking for mmap64... yes
  5. checking for sendfile64... yes
  6. checking for sendfilev64... no
  7. checking for mkstemp64... yes
  8. checking for readdir64_r... yes
  9. checking which type to use for apr_off_t... off64_t
  10. checking whether ino_t and unsigned long are the same... yes
  11. configure: using unsigned long for ino_t
  12. checking size of pid_t... 4
  13. checking whether byte ordering is bigendian... no
  14. checking size of struct iovec... 8
  15. checking for strnicmp... no
  16. checking for strncasecmp... yes
  17. checking for stricmp... no
  18. checking for strcasecmp... yes
  19. checking for strdup... yes
  20. checking for strstr... yes
  21. checking for memchr... yes
  22. checking for strtoll... yes
  23.  
  24. Checking for DSO...
  25. checking for dlopen... no
  26. checking for dlopen in -ldl... yes
  27. adding "-ldl" to LIBS
  28. checking for dlsym... yes
  29.  
  30. Checking for Processes...
  31. checking for waitpid... yes
  32. checking for Variable Length Arrays... yes
  33. checking struct rlimit... yes
  34.  
  35. Checking for Locking...
  36. checking for semget... yes
  37. checking for semctl... yes
  38. checking for flock... yes
  39. checking for semaphore.h... (cached) yes
  40. checking OS.h usability... no
  41. checking OS.h presence... no
  42. checking for OS.h... no
  43. checking for library containing sem_open... none required
  44. checking for sem_close... yes
  45. checking for sem_unlink... yes
  46. checking for sem_post... yes
  47. checking for sem_wait... yes
  48. checking for create_sem... no
  49. checking for working sem_open... yes
  50. checking for union semun in sys/sem.h... no
  51. checking for LOCK_EX in sys/file.h... yes
  52. checking for F_SETLK in fcntl.h... yes
  53. checking for SEM_UNDO in sys/sem.h... yes
  54. checking for POLLIN in poll.h sys/poll.h... yes
  55. checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
  56. checking for pthread_mutexattr_setpshared... yes
  57. checking for working PROCESS_SHARED locks... yes
  58. checking for robust cross-process mutex support... yes
  59. decision on apr_lock implementation method... SysV IPC semget()
  60. checking if all interprocess locks affect threads... no
  61. checking if POSIX sems affect threads in the same process... no
  62. checking if SysV sems affect threads in the same process... no
  63. checking if fcntl locks affect threads in the same process... no
  64. checking if flock locks affect threads in the same process... no
  65. checking for entropy source... /dev/urandom
  66.  
  67. Checking for File Info Support...
  68. checking for struct stat.st_blocks... yes
  69. checking for struct stat.st_atimensec... no
  70. checking for struct stat.st_ctimensec... no
  71. checking for struct stat.st_mtimensec... no
  72. checking for struct stat.st_atim.tv_nsec... yes
  73. checking for struct stat.st_ctim.tv_nsec... yes
  74. checking for struct stat.st_mtim.tv_nsec... yes
  75. checking for struct stat.st_atime_n... no
  76. checking for struct stat.st_ctime_n... no
  77. checking for struct stat.st_mtime_n... no
  78. checking for inode member of struct dirent... d_fileno
  79. checking for file type member of struct dirent... d_type
  80.  
  81. Checking for OS UUID Support...
  82. checking uuid.h usability... no
  83. checking uuid.h presence... no
  84. checking for uuid.h... no
  85. checking uuid/uuid.h usability... yes
  86. checking uuid/uuid.h presence... yes
  87. checking for uuid/uuid.h... yes
  88. checking for library containing uuid_create... no
  89. checking for library containing uuid_generate... -luuid
  90. checking for uuid_create... no
  91. checking for uuid_generate... yes
  92. checking for os uuid usability... yes
  93.  
  94. Checking for Time Support...
  95. checking for struct tm.tm_gmtoff... yes
  96. checking for struct tm.__tm_gmtoff... no
  97.  
  98. Checking for Networking support...
  99. checking for type in_addr... yes
  100. checking if fd == socket on this platform... yes
  101. checking style of gethostbyname_r routine... glibc2
  102. checking 3rd argument to the gethostbyname_r routines... char
  103. checking style of getservbyname_r routine... glibc2
  104. checking if TCP_NODELAY setting is inherited from listening sockets... yes
  105. checking if O_NONBLOCK setting is inherited from listening sockets... no
  106. checking whether TCP_NODELAY and TCP_CORK can both be enabled... yes
  107. checking for TCP_CORK in netinet/tcp.h... yes
  108. checking for TCP_NOPUSH in netinet/tcp.h... no
  109. checking for SO_ACCEPTFILTER in sys/socket.h... no
  110. checking whether SCTP is supported... no
  111. checking for struct ip_mreq... yes
  112. checking for set_h_errno... no
  113.  
  114. Checking for IPv6 Networking support...
  115. checking for library containing getaddrinfo... none required
  116. checking for library containing gai_strerror... none required
  117. checking for library containing getnameinfo... none required
  118. checking for gai_strerror... yes
  119. checking for working getaddrinfo... yes
  120. checking for negative error codes for getaddrinfo... yes
  121. checking for working getnameinfo... yes
  122. checking for sockaddr_in6... yes
  123. checking for sockaddr_storage... yes
  124. checking for working AI_ADDRCONFIG... yes
  125. checking if APR supports IPv6... yes
  126. checking langinfo.h usability... yes
  127. checking langinfo.h presence... yes
  128. checking for langinfo.h... yes
  129. checking for nl_langinfo... yes
  130.  
  131. Restore user-defined environment settings...
  132. restoring CPPFLAGS to ""
  133. setting EXTRA_CPPFLAGS to "-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE"
  134. restoring CFLAGS to ""
  135. setting EXTRA_CFLAGS to "-g -O2 -pthread"
  136. restoring LDFLAGS to ""
  137. setting EXTRA_LDFLAGS to ""
  138. restoring LIBS to ""
  139. setting EXTRA_LIBS to "-luuid -lrt -lcrypt -lpthread -ldl"
  140. restoring INCLUDES to ""
  141. setting EXTRA_INCLUDES to ""
  142. configure: creating ./config.status
  143. config.status: creating Makefile
  144. config.status: creating include/apr.h
  145. config.status: creating build/apr_rules.mk
  146. config.status: creating build/pkg/pkginfo
  147. config.status: creating apr--config
  148. config.status: WARNING: 'apr-config.in' seems to ignore the --datarootdir setting
  149. config.status: creating apr.pc
  150. config.status: creating test/Makefile
  151. config.status: creating test/internal/Makefile
  152. config.status: creating include/arch/unix/apr_private.h
  153. config.status: executing default commands
  154. config.status: include/apr.h is unchanged
  155. config.status: include/arch/unix/apr_private.h is unchanged


After I am trying to make install and have error at the end
libtool: link: you must specify an output file
Try `libtool --help --mode=link' for more information:

Code: [ Select ]
make[1]: Entering directory `/root/build/apr-1.3.2'
/bin/sh /root/build/apr-1.3.2/libtool --silent --mode=link  gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -I./include -I/root/build/apr-1.3.2/include/arch/unix -I./include/arch/unix -I/root/build/apr-1.3.2/include/arch/unix -I/root/build/apr-1.3.2/include  -version-info     -o libapr-.la -rpath /usr/local/apr-httpd/lib passwd/apr_getpass.lo strings/apr_cpystrn.lo strings/apr_strnatcmp.lo strings/apr_strings.lo strings/apr_strtok.lo strings/apr_fnmatch.lo strings/apr_snprintf.lo tables/apr_tables.lo tables/apr_hash.lo dso/unix/dso.lo file_io/unix/buffer.lo file_io/unix/flock.lo file_io/unix/readwrite.lo file_io/unix/filepath_util.lo file_io/unix/seek.lo file_io/unix/dir.lo file_io/unix/mktemp.lo file_io/unix/filedup.lo file_io/unix/tempdir.lo file_io/unix/filepath.lo file_io/unix/pipe.lo file_io/unix/open.lo file_io/unix/filestat.lo file_io/unix/copy.lo file_io/unix/fileacc.lo file_io/unix/fullrw.lo locks/unix/thread_rwlock.lo locks/unix/thread_mutex.lo locks/unix/thread_cond.lo locks/unix/proc_mutex.lo locks/unix/global_mutex.lo memory/unix/apr_pools.lo misc/unix/charset.lo misc/unix/env.lo misc/unix/version.lo misc/unix/rand.lo misc/unix/start.lo misc/unix/errorcodes.lo misc/unix/getopt.lo misc/unix/otherchild.lo mmap/unix/mmap.lo mmap/unix/common.lo network_io/unix/sockaddr.lo network_io/unix/sockopt.lo network_io/unix/sendrecv.lo network_io/unix/multicast.lo network_io/unix/sockets.lo network_io/unix/inet_ntop.lo network_io/unix/inet_pton.lo poll/unix/epoll.lo poll/unix/select.lo poll/unix/poll.lo poll/unix/port.lo poll/unix/kqueue.lo random/unix/sha2.lo random/unix/apr_random.lo random/unix/sha2_glue.lo shmem/unix/shm.lo support/unix/waitio.lo threadproc/unix/procsup.lo threadproc/unix/thread.lo threadproc/unix/signals.lo threadproc/unix/proc.lo threadproc/unix/threadpriv.lo time/unix/time.lo time/unix/timestr.lo user/unix/userinfo.lo user/unix/groupinfo.lo atomic/unix/ppc.lo atomic/unix/builtins.lo atomic/unix/s390.lo atomic/unix/ia32.lo atomic/unix/mutex.lo atomic/unix/solaris.lo   -luuid -lrt -lcrypt  -lpthread -ldl
libtool: link: you must specify an output file
Try `libtool --help --mode=link' for more information.
make[1]: *** [libapr-.la] Error 1
make[1]: Leaving directory `/root/build/apr-1.3.2'
make: *** [all-recursive] Error 1
  1. make[1]: Entering directory `/root/build/apr-1.3.2'
  2. /bin/sh /root/build/apr-1.3.2/libtool --silent --mode=link  gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -I./include -I/root/build/apr-1.3.2/include/arch/unix -I./include/arch/unix -I/root/build/apr-1.3.2/include/arch/unix -I/root/build/apr-1.3.2/include  -version-info     -o libapr-.la -rpath /usr/local/apr-httpd/lib passwd/apr_getpass.lo strings/apr_cpystrn.lo strings/apr_strnatcmp.lo strings/apr_strings.lo strings/apr_strtok.lo strings/apr_fnmatch.lo strings/apr_snprintf.lo tables/apr_tables.lo tables/apr_hash.lo dso/unix/dso.lo file_io/unix/buffer.lo file_io/unix/flock.lo file_io/unix/readwrite.lo file_io/unix/filepath_util.lo file_io/unix/seek.lo file_io/unix/dir.lo file_io/unix/mktemp.lo file_io/unix/filedup.lo file_io/unix/tempdir.lo file_io/unix/filepath.lo file_io/unix/pipe.lo file_io/unix/open.lo file_io/unix/filestat.lo file_io/unix/copy.lo file_io/unix/fileacc.lo file_io/unix/fullrw.lo locks/unix/thread_rwlock.lo locks/unix/thread_mutex.lo locks/unix/thread_cond.lo locks/unix/proc_mutex.lo locks/unix/global_mutex.lo memory/unix/apr_pools.lo misc/unix/charset.lo misc/unix/env.lo misc/unix/version.lo misc/unix/rand.lo misc/unix/start.lo misc/unix/errorcodes.lo misc/unix/getopt.lo misc/unix/otherchild.lo mmap/unix/mmap.lo mmap/unix/common.lo network_io/unix/sockaddr.lo network_io/unix/sockopt.lo network_io/unix/sendrecv.lo network_io/unix/multicast.lo network_io/unix/sockets.lo network_io/unix/inet_ntop.lo network_io/unix/inet_pton.lo poll/unix/epoll.lo poll/unix/select.lo poll/unix/poll.lo poll/unix/port.lo poll/unix/kqueue.lo random/unix/sha2.lo random/unix/apr_random.lo random/unix/sha2_glue.lo shmem/unix/shm.lo support/unix/waitio.lo threadproc/unix/procsup.lo threadproc/unix/thread.lo threadproc/unix/signals.lo threadproc/unix/proc.lo threadproc/unix/threadpriv.lo time/unix/time.lo time/unix/timestr.lo user/unix/userinfo.lo user/unix/groupinfo.lo atomic/unix/ppc.lo atomic/unix/builtins.lo atomic/unix/s390.lo atomic/unix/ia32.lo atomic/unix/mutex.lo atomic/unix/solaris.lo   -luuid -lrt -lcrypt  -lpthread -ldl
  3. libtool: link: you must specify an output file
  4. Try `libtool --help --mode=link' for more information.
  5. make[1]: *** [libapr-.la] Error 1
  6. make[1]: Leaving directory `/root/build/apr-1.3.2'
  7. make: *** [all-recursive] Error 1


Should I look to 2.0 Apache (APR not reqiuered) or there is some way to solve this problem?
  • bzzik
  • Newbie
  • Newbie
  • bzzik
  • Posts: 6

Post 3+ Months Ago

Downloaded Apache 2.0.63 same *plum* :(

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 10 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.