Не могу скомпилить Apache Portable Runtime для установки httpd

SLAX, Deep Style, ZenWalk

Модератор: Модераторы разделов

Аватара пользователя
bzz0
Сообщения: 2
ОС: Slackware

Не могу скомпилить Apache Portable Runtime для установки httpd

Сообщение bzz0 »

Привет всем!

Я использую:
Linux version 2.6.24.4 (gcc version 4.1.2) #1 SMP Sat Mar 29 18:36:31 EET 2008
Slackware 12.0.0

Я собираю выделенный вэб сервер. В Linux не совсем новичок, постепенно вникаю и собрать такие вещи как MySQL, proFTPd уже получилось. Но воn с Apache я просто в ступоре. Нагуглить ничего не удалось :( Может здесь кто что посоветует.

Качнул я последний Apache 2.2.9, а он требует наличия Apache Portable Runtime. Ну я скачал последнюю версию 1.3.2, распаковал, сделал ./confgiure --with-prefix=/usr/local/apr-httpd и вроде только один warning был:

Код:

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


Но вот make никак не удаётся сделать, постоянно вываливается ошибка:
libtool: link: you must specify an output file
Try `libtool --help --mode=link' for more information:

Код: Выделить всё

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


Я уже два часа мучаюсь. ничего не получается. :wacko: В гугле ничего не нашёл...

Заранее благодарен за любой совет!
Спасибо сказали:
Аватара пользователя
bzz0
Сообщения: 2
ОС: Slackware

Re: Не могу скомпилить Apache Portable Runtime для установки httpd

Сообщение bzz0 »

Блин, скачал 2.0.63 Apache - та же самая фигня :( Серверу не быть...
Спасибо сказали: