Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Apache not compiling?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Berni
n00b
n00b
Posts: 71
Joined: Mon Aug 25, 2003 4:31 pm

Apache not compiling?

  • Quote

Post by Berni » Wed Jun 16, 2004 9:27 pm

Emerging apache just doesn't work here. I tried it with different CFlags but always got the same error. gcc-version is 3.3.3-r6. Does anyone know what's going wrong here? I got a quite similar result when compiling pure-ftpd (see my other thread where noone replied :-()

Code: Select all

>>> Unpacking httpd-2.0.49.tar.gz to /var/tmp/portage/apache-2.0.49-r3/work
 * Applying 00_gentoo_base.patch...                                       [ ok ]
 * Applying 01_gentoo_cvs_sync.patch...                                   [ ok ]
 * Applying 03_redhat_xfsz.patch...                                       [ ok ]
 * Applying 01_gentoo_cgi.patch...                                        [ ok ]
 * Applying 04_ssl_makefile.patch...                                      [ ok ]
 * Applying 01_ssl_engine_kernel.patch...                                 [ ok ]
ipv6
 * Applying 01_gentoo_ipv6.patch...                                       [ ok ]
ssl
 * Applying 01_ssl_verify_client.patch...                                 [ ok ]
 * Replacing obsolete head/tail with POSIX compliant ones
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: libtool version 1.5.2 (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59: 
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59: 
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59: 
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
Creating configure ...
rebuilding srclib/apr-util/configure

Looking for apr source in ../apr
Creating include/private/apu_config.h ...
Creating configure ...
Invoking xml/expat/buildconf.sh ...
Incorporating /usr/share/aclocal/libtool.m4 into aclocal.m4 ...
Copying libtool helper files ...
Creating config.h.in ...
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59: 
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59: 
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59: 
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
Creating configure ...
copying build files
rebuilding srclib/pcre/configure
rebuilding include/ap_config_auto.h.in
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59: 
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59: 
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59: 
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
rebuilding configure
rebuilding rpm spec file
>>> Source unpacked.
berkdb
 * DATADIR is set to: /var/www/localhost
 * USERDIR is set to: public_html
 * DB verison detected is db4
ipv6
 * Enabling ipv6
 * /usr/portage/net-www/apache/files/2.0.49/apache2-builtin-mods options:
 --disable-example --enable-access=shared --enable-auth=shared --enable-auth_dbm=shared --enable-auth_anon=shared --enable-auth_digest=shared --enable-alias=shared --enable-file-cache=shared --enable-echo=shared --enable-charset-lite=shared --enable-cache=shared --enable-disk-cache=shared --enable-mem-cache=shared --enable-ext-filter=shared --enable-case_filter=shared --enable-case-filter-in=shared --enable-deflate=shared --enable-mime-magic=shared --enable-cern-meta=shared --enable-expires=shared --enable-headers=shared --enable-usertrack=shared --enable-unique-id=shared --enable-proxy=shared --enable-proxy-connect=shared --enable-proxy-ftp=shared --enable-proxy-http=shared --enable-ssl=shared --disable-optional-hook-export --disable-optional-hook-import --disable-optional-fn-import --disable-optional-fn-export --disable-bucketeer --enable-info=shared --enable-include=shared --enable-cgi=shared --enable-cgid=shared --enable-dav=shared --enable-dav-fs=shared --enable-vhost-alias=shared --enable-speling=shared --enable-rewrite=shared --enable-log_config=shared --enable-logio=shared --enable-env=shared --enable-setenvif=shared --enable-mime=shared --enable-status=shared --enable-autoindex=shared --enable-asis=shared --enable-negotiation=shared --enable-dir=shared --enable-imap=shared --enable-actions=shared --enable-userdir=shared --enable-so=yes
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
checking for chosen layout... Gentoo
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
updating cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
configuring package in srclib/apr now
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... (cached) yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for i686-pc-linux-gnu-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 ANSI C... none needed
Applying APR hints file rules for i686-pc-linux-gnu
  setting CPPFLAGS to "-DLINUX=2"
  adding "-D_REENTRANT" to CPPFLAGS
(Default will be unix)
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... gawk
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking for rm... rm
checking for as... as
checking for cpp... cpp
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether system uses EBCDIC... no
performing libtool configuration...
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-epcf90... no
checking for i686-pc-linux-gnu-f95... no
checking for i686-pc-linux-gnu-fort... no
checking for i686-pc-linux-gnu-xlf95... no
checking for i686-pc-linux-gnu-ifc... no
checking for i686-pc-linux-gnu-efc... no
checking for i686-pc-linux-gnu-pgf95... no
checking for i686-pc-linux-gnu-lf95... no
checking for i686-pc-linux-gnu-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... ar
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/configure: line 23588: test: too many arguments

Check for compiler flags...
checking for res_init in -lresolv... no
checking for gethostbyname in -lnsl... yes
checking for library containing gethostname... none required
checking for socket in -lsocket... no
checking for library containing crypt... -lcrypt
checking for main in -ltruerand... no
checking for library containing modf... none required
checking for library containing sqrt... -lm

Checking for Threads...
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for CFLAGS needed for pthreads... -pthread
  adding "-pthread" to CFLAGS
checking for LIBS needed for pthreads... -lpthread
  adding "-lpthread" to LIBS
checking for pthread.h... (cached) yes
checking whether pthread_getspecific takes two arguments... no
checking whether pthread_attr_getdetachstate takes one argument... no
checking for pthread_key_delete... yes
checking for pthread_rwlock_init... yes
checking for pthread_rwlock_t... yes-with-XOPEN_SOURCE
  adding "-D_XOPEN_SOURCE=500" to CPPFLAGS
  adding "-D_BSD_SOURCE" to CPPFLAGS
  adding "-D_SVID_SOURCE" to CPPFLAGS
APR will use threads
checking for readdir in -lc_r... no
checking for gethostbyname in -lc_r... no
checking for gethostbyaddr in -lc_r... no
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking for sigsuspend... yes
checking for sigwait... yes
checking for poll... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getgrnam_r... yes
checking for getgrgid_r... yes

Checking for Shared Memory Support...
checking for library containing shm_open... -lrt
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/mutex.h usability... no
checking sys/mutex.h presence... no
checking for sys/mutex.h... no
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking for mmap... yes
checking for munmap... yes
checking for shm_open... yes
checking for shm_unlink... yes
checking for shmget... yes
checking for shmat... yes
checking for shmdt... yes
checking for shmctl... yes
checking for create_area... no
checking for MAP_ANON in sys/mman.h... yes
checking for /dev/zero... yes
checking for mmap that can map /dev/zero... yes
decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON
decision on namebased memory allocation method... SysV IPC shmget()
checking for alloca... no
checking for calloc... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for setsid... yes
checking for isinf... yes
checking for isnan... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for writev... yes
checking for sendfilev in -lsendfile... no
checking for sendfile... yes
checking for send_file... no
checking for sendfilev... no
checking for utime... yes
checking for utimes... yes
checking for sigaction... yes
checking whether sys_siglist is declared... yes
checking for fork... yes
checking for inet_addr... yes
checking for inet_network... yes
checking for _getch... no
checking for strerror_r... yes
checking for type of return code from strerror_r... pointer
checking for crypt_r... yes
checking style of crypt_r... struct_crypt_data_gnu_source
  adding "-D_GNU_SOURCE" to CPPFLAGS
checking for mmap... (cached) yes
checking for memmove... yes
checking for getpass... yes
checking for getpassphrase... no
checking for gmtime_r... yes
checking for localtime_r... yes
checking for hstrerror... yes
checking for mkstemp... yes
checking whether sigwait takes one argument... no
checking for inode member of struct dirent... d_fileno
checking for file type member of struct dirent... d_type
checking for ANSI C header files... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking ByteOrder.h usability... no
checking ByteOrder.h presence... no
checking for ByteOrder.h... no
checking conio.h usability... yes
checking conio.h presence... yes
checking for conio.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dir.h usability... yes
checking dir.h presence... yes
checking for dir.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking io.h usability... yes
checking io.h presence... yes
checking for io.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking osreldate.h usability... no
checking osreldate.h presence... no
checking for osreldate.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sysapi.h usability... no
checking sysapi.h presence... no
checking for sysapi.h... no
checking sysgtime.h usability... no
checking sysgtime.h presence... no
checking for sysgtime.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tpfeq.h usability... no
checking tpfeq.h presence... no
checking for tpfeq.h... no
checking tpfio.h usability... no
checking tpfio.h presence... no
checking for tpfio.h... no
checking for unistd.h... (cached) yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for kernel/OS.h... (cached) no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for netinet/sctp.h... (cached) no
checking for netinet/sctp_uio.h... (cached) no
checking for sys/file.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/mman.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for netinet/tcp.h... yes
checking for h_errno in netdb.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for ssize_t... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether setpgrp takes no argument... yes
checking for socklen_t... yes
checking whether system defines INADDR_NONE... yes
checking for void*... yes
checking size of void*... 4
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... 4
checking for short... yes
checking size of short... 2
checking for long double... yes
checking size of long double... 12
checking for long long... yes
checking size of long long... 8
checking for INT64_C... yes
checking size of ssize_t... 4
checking size of size_t... 4
checking size of off_t... 4
checking which type to use for apr_off_t... long
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 strtoll... 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... (cached) 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... no
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 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 if SCTP protocol is supported... (cached) 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 whether getnameinfo resolves IPv4-mapped IPv6 addresses... 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_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
  restoring CFLAGS to "-O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math"
  setting EXTRA_CFLAGS to " -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.
updating cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
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 apr-config
config.status: creating include/arch/unix/apr_private.h
config.status: executing default commands
srclib/apr configured properly
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
  setting CPP to "gcc -E"
  adding "-pthread" to CFLAGS
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
  setting LDFLAGS to " "
  setting INCLUDES to " -I/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/include "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... reconfig
configuring package in srclib/apr-util now
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
checking for working mkdir -p... (cached) yes
APR-util Version: 0.9.5
checking for chosen layout... apr-util
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... yes
  setting CPP to "gcc -E"
  adding "-pthread" to CFLAGS
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
checking for i686-pc-linux-gnu-gcc... (cached) 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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for ldap support...
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
checking for Berkeley DB 4.2 in the standard places... 
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/db.h... no
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for -ldb-4.2... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb-4.2... no
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/db.h... no
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for -ldb4... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb4... no
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/db.h... no
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for -ldb... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb... no
checking for Berkeley DB 4.2 in /usr/local/BerkeleyDB.4.2... directory not found
checking for Berkeley DB 4.2 in /boot/home/config... directory not found
checking for Berkeley DB 4.1 in the standard places... 
checking db41/db.h usability... no
checking db41/db.h presence... no
checking for db41/db.h... no
checking db4/db.h usability... yes
checking db4/db.h presence... yes
checking for db4/db.h... yes
checking for -ldb-4.1... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for -ldb-4.1... yes
checking for Berkeley DB... found db4
checking for default DBM... sdbm (default)
  setting APRUTIL_EXPORT_LIBS to "-lgdbm"
  setting APRUTIL_LIBS to "-lgdbm"
  adding "-ldb-4.1" to APRUTIL_EXPORT_LIBS
  adding "-ldb-4.1" to APRUTIL_LIBS
checking for Expat in /usr... yes
  adding "-lexpat" to APRUTIL_EXPORT_LIBS
  setting APRUTIL_LDFLAGS to "-L/usr/lib"
  adding "/usr/lib/libexpat.la" to APRUTIL_LIBS
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 for langinfo.h... (cached) yes
checking for nl_langinfo... (cached) yes
checking for CODESET in langinfo.h... yes
checking for library containing crypt... (cached) -lcrypt
checking if system crypt() function is threadsafe... no
checking for crypt_r... (cached) yes
checking style of crypt_r... (cached) struct_crypt_data_gnu_source
  adding "/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/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
updating cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
configure: creating ./config.status
config.status: creating export_vars.sh
config.status: creating apu-config
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: executing default commands
srclib/apr-util configured properly
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
  adding "-L/usr/lib" to LDFLAGS
  adding "-I/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr-util/include" to INCLUDES
checking for i686-pc-linux-gnu-gcc... (cached) 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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... gcc -E

Configuring PCRE regular expression library ...

configuring package in srclib/pcre now
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
checking for i686-pc-linux-gnu-gcc... (cached) 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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for limits.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for size_t... (cached) yes
checking for bcopy... yes
checking for memmove... (cached) yes
checking for strerror... yes
updating cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pcre.h
config.status: creating pcre-config
config.status: creating config.h
config.status: executing default commands
srclib/pcre configured properly
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache

Configuring Apache httpd ...

  adding "-I." to INCLUDES
  adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES
  adding "-I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME)" to INCLUDES
  adding "-I$(top_srcdir)/modules/http" to INCLUDES
  adding "-I$(top_srcdir)/modules/filters" to INCLUDES
  adding "-I$(top_srcdir)/modules/proxy" to INCLUDES
  adding "-I$(top_srcdir)/include" to INCLUDES
  adding "-I$(top_srcdir)/modules/generators" to INCLUDES

Applying OS-specific hints for httpd ...

  forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"
  forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1"
checking for rm... /bin/rm
checking for gawk... (cached) gawk
checking for a BSD-compatible install... (cached) /bin/install -c
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking for egrep... (cached) grep -E
checking for AIX... no
checking for library containing strerror... (cached) none required
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for pwd.h... (cached) yes
checking for grp.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking for sys/sem.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
  setting NOTEST_CPPFLAGS to "-DAP_HAVE_DESIGNATED_INITIALIZER"
checking for getpwnam... yes
checking for getgrnam... yes
checking for initgroups... yes
checking for bindprocessor... no
checking for prctl... yes
checking for timegm... yes
checking for tm_gmtoff in struct tm... (cached) yes
checking whether to enable mod_access... shared
checking whether to enable mod_auth... shared
checking whether to enable mod_auth_anon... shared
checking whether to enable mod_auth_dbm... shared
checking whether to enable mod_auth_digest... checking dependencies
checking whether to enable mod_auth_digest... shared
  setting LT_LDFLAGS to "-export-dynamic"
checking whether to enable mod_isapi... no
checking whether to enable mod_file_cache... shared
checking whether to enable mod_echo... shared
checking whether to enable mod_charset_lite... shared
checking whether to enable mod_cache... shared
checking whether to enable mod_disk_cache... shared
checking whether to enable mod_mem_cache... shared
checking whether to enable mod_example... no
checking whether to enable mod_case_filter... shared
checking whether to enable mod_case_filter_in... shared
checking whether to enable mod_ldap... no
checking whether to enable mod_auth_ldap... no
checking whether to enable mod_ext_filter... shared
checking whether to enable mod_include... shared
checking whether to enable mod_deflate... checking dependencies
  setting LIBS to "-lz"
checking for zlib library... found
checking zutil.h usability... no
checking zutil.h presence... no
checking for zutil.h... no
checking whether to enable mod_deflate... shared
checking whether to enable mod_log_config... shared
checking whether to enable mod_logio... shared
checking whether to enable mod_env... shared
checking whether to enable mod_mime_magic... shared
checking whether to enable mod_cern_meta... shared
checking whether to enable mod_expires... shared
checking whether to enable mod_headers... shared
checking whether to enable mod_usertrack... checking dependencies
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for times... yes
checking whether to enable mod_usertrack... shared
checking whether to enable mod_unique_id... shared
checking whether to enable mod_setenvif... shared
checking whether to enable mod_proxy... shared
checking whether to enable mod_proxy_connect... shared
checking whether to enable mod_proxy_ftp... shared
checking whether to enable mod_proxy_http... shared
checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... /usr
checking for SSL/TLS toolkit version... OpenSSL 0.9.7d 17 Mar 2004
checking for SSL/TLS toolkit includes... /usr/include
checking for SSL/TLS toolkit libraries... /usr/lib
  adding "-I/usr/include/openssl" to INCLUDES
  adding "-lssl" to LIBS
  adding "-lcrypto" to LIBS
checking for SSL_set_state... no
checking for SSL_set_cert_store... no
checking whether to enable mod_ssl... shared
checking whether to enable mod_optional_hook_export... no
checking whether to enable mod_optional_hook_import... no
checking whether to enable mod_optional_fn_import... no
checking whether to enable mod_optional_fn_export... no
checking whether to enable mod_bucketeer... no
checking for target platform... unix
checking for rlim_t... yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/sem.h... (cached) yes
checking for sys/ipc.h... (cached) yes
checking for setsid... (cached) yes
checking for killpg... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for unistd.h... (cached) yes
checking for syslog... yes
checking for sys/times.h... (cached) yes
checking for times... (cached) yes
checking which MPM to use... prefork
checking whether to enable mod_http... yes
checking whether to enable mod_mime... shared
checking for extra modules... no extra modules
checking whether to enable mod_dav... shared
  adding "-I$(top_srcdir)/modules/dav/main" to INCLUDES
checking whether to enable mod_status... shared
checking whether to enable mod_autoindex... shared
checking whether to enable mod_asis... shared
checking whether to enable mod_info... shared
checking whether to enable mod_suexec... checking dependencies
checking whether to enable mod_suexec... shared
checking whether to enable mod_cgi... shared
checking whether to enable mod_cgid... shared
checking whether to enable mod_dav_fs... shared
checking whether to enable mod_vhost_alias... shared
checking whether to enable mod_negotiation... shared
checking whether to enable mod_dir... shared
checking whether to enable mod_imap... shared
checking whether to enable mod_actions... shared
checking whether to enable mod_speling... shared
checking whether to enable mod_userdir... shared
checking whether to enable mod_alias... shared
checking whether to enable mod_rewrite... shared
checking whether to enable mod_so... yes
updating cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
checking whether byte ordering is bigendian... no

Restore user-defined environment settings...

  restoring CPPFLAGS to ""
  setting EXTRA_CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
  restoring CFLAGS to "-O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math"
  setting EXTRA_CFLAGS to " -pthread"
  restoring CXXFLAGS to "-O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math"
  setting EXTRA_CXXFLAGS to ""
  restoring LDFLAGS to ""
  setting EXTRA_LDFLAGS to "  -L/usr/lib"
  restoring LIBS to ""
  setting EXTRA_LIBS to "-lz -lssl -lcrypto"
  restoring INCLUDES to ""
  setting EXTRA_INCLUDES to " -I/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/include  -I/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr-util/include -I. -I$(top_srcdir)/os/$(OS_DIR) -I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME) -I$(top_srcdir)/modules/http -I$(top_srcdir)/modules/filters -I$(top_srcdir)/modules/proxy -I$(top_srcdir)/include -I$(top_srcdir)/modules/generators -I/usr/include/openssl -I$(top_srcdir)/modules/dav/main"

Construct makefiles and header files...

creating config_vars.mk
updating cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
configure: creating ./config.status
creating modules/aaa/Makefile
creating modules/arch/win32/Makefile
creating modules/cache/Makefile
creating modules/echo/Makefile
creating modules/experimental/Makefile
creating modules/filters/Makefile
creating modules/loggers/Makefile
creating modules/metadata/Makefile
creating modules/proxy/Makefile
creating modules/ssl/Makefile
creating modules/test/Makefile
creating os/unix/Makefile
creating server/mpm/Makefile
creating server/mpm/prefork/Makefile
creating modules/http/Makefile
creating modules/dav/main/Makefile
creating modules/generators/Makefile
creating modules/dav/fs/Makefile
creating modules/mappers/Makefile
creating Makefile
creating modules/Makefile
creating srclib/Makefile
creating os/beos/Makefile
creating os/os2/Makefile
creating os/Makefile
creating os/unix/Makefile
creating server/Makefile
creating support/Makefile
creating srclib/pcre/Makefile
creating test/Makefile
config.status: creating docs/conf/httpd-std.conf
config.status: creating docs/conf/ssl-std.conf
config.status: creating include/ap_config_layout.h
config.status: creating support/apxs
config.status: creating support/apachectl
config.status: creating support/dbmmanage
config.status: creating support/envvars-std
config.status: creating support/log_server_status
config.status: creating support/logresolve.pl
config.status: creating support/phf_abuse_log.cgi
config.status: creating support/split-logfile
config.status: creating build/rules.mk
config.status: creating include/ap_config_auto.h
config.status: executing default commands
Making all in srclib
make[1]: Entering directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib'
Making all in apr
make[2]: Entering directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr'
Making all in strings
make[3]: Entering directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/strings'
make[4]: Entering directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/strings'
/bin/sh /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -pthread  -O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
/bin/sh /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -pthread  -O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c apr_snprintf.c && touch apr_snprintf.lo
mkdir: cannot create directory `.libs': File exists
/bin/sh /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -pthread  -O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c apr_strnatcmp.c && touch apr_strnatcmp.lo
/bin/sh /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -pthread  -O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c apr_strings.c && touch apr_strings.lo
/bin/sh /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -pthread  -O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c apr_fnmatch.c && touch apr_fnmatch.lo
/bin/sh /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -pthread  -O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c apr_strtok.c && touch apr_strtok.lo
make[4]: Leaving directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/strings'
make[3]: Leaving directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/strings'
Making all in passwd
make[3]: Entering directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/passwd'
make[4]: Entering directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/passwd'
/bin/sh /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -pthread  -O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-math -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c apr_getpass.c && touch apr_getpass.lo
apr_getpass.c: In function `apr_password_get':
apr_getpass.c:225: warning: no semicolon at end of struct or union
apr_getpass.c:225: error: syntax error before "__ui"
apr_getpass.c:225: error: syntax error before "int16_t"
apr_getpass.c:225: error: two or more data types in declaration of `__uc'
apr_getpass.c:225: error: syntax error before '*' token
apr_getpass.c:225: error: syntax error before ';' token
apr_getpass.c:225: error: syntax error before ')' token
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: `__u' undeclared (first use in this function)
apr_getpass.c:225: error: (Each undeclared identifier is reported only once
apr_getpass.c:225: error: for each function it appears in.)
apr_getpass.c:225: error: `__c' undeclared (first use in this function)
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: syntax error before "int16_t"
apr_getpass.c:225: error: two or more data types in declaration of `type name'
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: syntax error before "int16_t"
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: two or more data types in declaration of `type name'
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: case label not within a switch statement
apr_getpass.c:225: error: break statement not within loop or switch
apr_getpass.c:225: error: break statement not within loop or switch
apr_getpass.c:225: error: break statement not within loop or switch
apr_getpass.c:225: error: break statement not within loop or switch
apr_getpass.c: At top level:
apr_getpass.c:225: warning: data definition has no type or storage class
apr_getpass.c:225: error: syntax error before '}' token
apr_getpass.c:225: error: syntax error before '\x0'
apr_getpass.c:225: warning: data definition has no type or storage class
apr_getpass.c:225: error: syntax error before '}' token
make[4]: *** [apr_getpass.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/passwd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr/passwd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/srclib'
make: *** [all-recursive] Error 1

!!! ERROR: net-www/apache-2.0.49-r3 failed.
!!! Function src_compile, Line 197, Exitcode 2
!!! problem compiling Apache2 :(
:( :(
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Wed Jun 16, 2004 10:42 pm

are you using distcc or anything like that?
http://dev.gentoo.org/~dsd
Top
Berni
n00b
n00b
Posts: 71
Joined: Mon Aug 25, 2003 4:31 pm

  • Quote

Post by Berni » Thu Jun 17, 2004 5:26 am

No, I never used distcc.
Top
Mike1690
n00b
n00b
Posts: 17
Joined: Fri Jun 11, 2004 8:43 pm

  • Quote

Post by Mike1690 » Fri Jun 25, 2004 9:23 pm

I'm getting this same error also. Well almost....different line number. :p

Code: Select all


Configuring Apache Portable Runtime library ...

checking for APR... reconfig
updating cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
configuring package in srclib/apr now
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache /var/tmp/portage/apache-2.0.49-r3/work/httpd-2.0.49/config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... (cached) yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr

!!! ERROR: net-www/apache-2.0.49-r3 failed.
!!! Function src_compile, Line 192, Exitcode 1
!!! bad ./configure please submit bug report to bugs.gentoo.org. Include your config.layout.
Top
Berni
n00b
n00b
Posts: 71
Joined: Mon Aug 25, 2003 4:31 pm

  • Quote

Post by Berni » Fri Jun 25, 2004 9:49 pm

As far as I can see, your error is quite different to mine...it seems for me that you should recompile gcc (perhaps downgrading helps if you're using a masked version of it).
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Fri Jun 25, 2004 9:54 pm

its probably a cflags typo - please post the output of "emerge info"
http://dev.gentoo.org/~dsd
Top
Mike1690
n00b
n00b
Posts: 17
Joined: Fri Jun 11, 2004 8:43 pm

  • Quote

Post by Mike1690 » Fri Jun 25, 2004 10:29 pm

Here you go. Oh its not a masked version too, there are no masked packages emerged on this system.

Code: Select all

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.2
6)
=================================================================
System uname: 2.4.26 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://206.75.217.205/ ftp://206.75.217.180/ ftp://206.75.217.181
/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apm berkdb crypt cups encode foomaticdb gdbm gpm imlib libg++ libwww mad mi
kmod mmx ncurses nls pam perl python readline sdl slang spell sse ssl tcpd x86 x
ml2 zlib"
Top
canadian_psyko
n00b
n00b
Posts: 19
Joined: Wed Feb 18, 2004 10:38 pm
Location: Surrey, BC, Canada

  • Quote

Post by canadian_psyko » Tue Jun 29, 2004 10:28 am

I was having the same error as mike.
I updated my system as per this thread (robmoss2k ~1/4 way down)
Worked fine then.

Cam
Cam

Eternally breaking stuff.
Top
canadian_psyko
n00b
n00b
Posts: 19
Joined: Wed Feb 18, 2004 10:38 pm
Location: Surrey, BC, Canada

  • Quote

Post by canadian_psyko » Tue Jun 29, 2004 10:31 am

This is my emerge info if your curious:

Code: Select all

Gentoo Base System version 1.4.16
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 AMD Athlon(TM)Processor
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm arts avi berkdb cdr crypt cups directfb divx4linux doc encode flac foomaticdb ftp gdbm gif gpm gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad memlimit mikmod mmx motif mozilla mpeg msn ncurses nls nocd oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd threads tiff truetype usb vhosts videos x86 xml xml2 xmms xv zlib"
Btw, What is config.layout, I can't find it, or what it is.

Cam
Cam

Eternally breaking stuff.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic