уcтановка apache [SOLVED]

Всем привет !
Стоял apache2 потом пришлось снести при установке kde 3.5.2 так как делал emerge --update --deep --newuse world.Поставил kde 3.5.2 а apach не могу теперь поставить emerge вываливается с ошибкой .До этого сидел на пакетных дистрах с Gentoo недавно так что опыта работы с pоrtage мало .Вот ошибка я погуглил но что то похожего не нашёл.
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.
* DATADIR is set to: /var/www/localhost
* USERDIR is set to: public_html
* Using GNU config files from /usr/share/libtool
* Updating build/config.sub
 [ ok ]
* Updating srclib/apr/build/config.sub
 [ ok ]
* Updating srclib/pcre/config.sub
 [ ok ]
* Updating srclib/apr-util/xml/expat/conftools/config.sub
 [ ok ]
* Updating srclib/apr-util/build/config.sub
 [ ok ]
* Updating build/config.guess
 [ ok ]
* Updating srclib/apr/build/config.guess
 [ ok ]
* Updating srclib/pcre/config.guess
 [ ok ]
* Updating srclib/apr-util/xml/expat/conftools/config.guess
 [ ok ]
* Updating srclib/apr-util/build/config.guess
 [ ok ]
* /var/tmp/portage/apache-2.0.55-r1/work/gentoo-apache-2.0.55-r1/conf/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 --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.55-r1/work/httpd-2.0.55/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... 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"
setting LDFLAGS to " "
setting INCLUDES to " -I/usr/include/apr-0 "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
adding "-L/usr/lib" to LDFLAGS
adding "-I/usr/include/db4.2" to INCLUDES
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
checking how to run the C preprocessor... gcc -E

Configuring PCRE regular expression library ...

updating cache /var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/config.cache
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.55-r1/work/httpd-2.0.55/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... i686-pc-linux-gnu-ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... 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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
updating cache /var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/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.55-r1/work/httpd-2.0.55/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... gawk
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-ranlib... (cached) i686-pc-linux-gnu-ranlib
checking for egrep... (cached) grep -E
checking for AIX... no
checking for library containing strerror... 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... 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 sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... 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 sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking for sys/wait.h that is POSIX.1 compatible... 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... 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_dumpio... no
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_log_forensic... no
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.7i 14 Oct 2005
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
adding "-ldl" 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 sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/sem.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for setsid... 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... none
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.55-r1/work/httpd-2.0.55/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 "-O2 -march=i686 -pipe"
setting EXTRA_CFLAGS to " -pthread"
restoring CXXFLAGS to "-O2 -march=i686 -pipe"
setting EXTRA_CXXFLAGS to ""
restoring LDFLAGS to ""
setting EXTRA_LDFLAGS to " -L/usr/lib"
restoring LIBS to ""
setting EXTRA_LIBS to "-lz -lssl -lcrypto -ldl"
restoring INCLUDES to ""
setting EXTRA_INCLUDES to " -I/usr/include/apr-0 -I/usr/include/db4.2 -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.55-r1/work/httpd-2.0.55/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 build/pkg/pkginfo
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.55-r1/work/httpd-2.0.55/srclib'
Making all in pcre
make[2]: Entering directory `/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/srclib/pcre'
make[3]: Entering directory `/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/srclib/pcre'
/usr/share/apr-0/build/libtool --silent --mode=compile gcc -pthread -O2 -march=i686 -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/os/unix -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/server/mpm/prefork -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/http -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/filters -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/proxy -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/dav/main -prefer-non-pic -static -c maketables.c && touch maketables.lo

<...>

/usr/share/apr-0/build/libtool --silent --mode=link gcc -pthread -O2 -march=i686 -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/os/unix -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/server/mpm/prefork -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/http -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/filters -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/proxy -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/dav/main -export-dynamic -L/usr/lib -o ab ab.lo -lz -lssl -lcrypto -ldl /var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/srclib/pcre/libpcre.la /usr/lib/libaprutil-0.la -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl
>>> Test phase [not enabled]: net-www/apache-2.0.55-r1

>>> Install apache-2.0.55-r1 into /var/tmp/portage/apache-2.0.55-r1/image/ category net-www
* 'enewgroup()' called from 'install()' which is not a pkg_* function.
* Package fails at QA and at life. Please file a bug.

!!! ERROR: net-www/apache-2.0.55-r1 failed.
!!! Function enewgroup, Line 648, Exitcode 0
!!! Bad package! enewgroup is only for use in pkg_* functions!
!!! If you need support, post the topmost build error, NOT this status message.

Тут побольше бы

Тут побольше бы кусок вывода увидеть.

Проблема

Проблема решилась так emerge sync,emerge -Davu world(обновился hotplug да пару медиа библиотек),etc-update После этого emerge mod_php который вытянул в зависимостях апача.

[SOLVED]

Старайтесь все же искать информативные сообщения в выводе emerge. Это и вам может помочь в поиске решения, и у посетителей форума будут страницы грузиться - у нас есть пользователи, которые по модему работают.

Пис. :)

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".