Страница 1 из 1

APACHE22

Добавлено: 2010-06-13 9:20:05
tailerus
Несколько раз пытался установить apache22, не получается, удалял, пытался устанавливать с distfiles, помогите, подскажите что нужно сделать, как его поставить ???

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

fetch: help2man-1.36.4.tar.gz: local modification time does not match remote
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/misc/help2man.
*** Error code 1

Stop in /usr/ports/misc/help2man.
*** Error code 1

Stop in /usr/ports/devel/autoconf262.
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Re: APACHE22

Добавлено: 2010-06-13 11:08:15
Gendos
Первым делом обновить порты

Re: APACHE22

Добавлено: 2010-06-13 15:07:11
Pez!

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

=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
Положите то что оно просит куда просит. Система портов не может исходники качнуть вот и ругается страшными словами. Причем в дистфайлз надо положить именно ту версию, что она хочет.

Re: APACHE22

Добавлено: 2010-06-13 23:01:07
hizel
local modification time does not match remote

Re: APACHE22

Добавлено: 2010-12-22 16:29:06
Raxxell
Тема я смотрю уже старая, но у меня вот возникла такая проблема.
А решения здесь нет.
Может кто нить расскажет поподробнее, как исправить эту ошибку. Срочно надо.

Re: APACHE22

Добавлено: 2010-12-22 21:13:08
Electronik
Время правильное установите на сервере

Re: APACHE22

Добавлено: 2010-12-23 7:03:34
Raxxell
я не пойму а при чем тут время?

Re: APACHE22

Добавлено: 2010-12-23 9:03:28
FreeBSP

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

rm -rf /usr/ports/distfiles/help2man-1.36.4.tar.gz

Re: APACHE22

Добавлено: 2010-12-23 9:37:10
unix-admin
Насколько я помню,

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

fetch: pkg_name.tar.bz2: local modification time does not match remote
выскакивает в случае, если какой-либо файл не докачался с одного зеркала и начал качаться с другого.

Похоже, что fetch сравнивает не только размер, но и время создания файла.

Поэтому, для начала:

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

cd /usr/ports/misc/help2man/; make distclean ; make checksum

Re: APACHE22

Добавлено: 2010-12-23 9:38:03
Raxxell
А можно пояснить зачем мне надо удалить

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

/usr/ports/distfiles/help2man-l.36.4.tar.gz

Re: APACHE22

Добавлено: 2010-12-23 9:40:02
Raxxell
Вот что получается:

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

# cd /usr/ports/misc/help2man/; make distclesn; make cheksum
make: don't know how to make distclesn. Stop
make: don't know how to make cheksum. Stop
#

Re: APACHE22

Добавлено: 2010-12-23 9:49:58
unix-admin
Потому что distcleSn вместо distclean

Re: APACHE22

Добавлено: 2010-12-23 9:52:12
Raxxell
Теперь вот что:

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

# # cd /usr/ports/misc/help2man/ ; make distclean ; make cheksum
#: Command not found.
===>  Cleaning for perl-5.10.1_3
===>  Cleaning for p5-Locale-gettext-1.05_3
===>  Cleaning for help2man-1.38.2_1
===>  Deleting distfiles for help2man-1.38.2_1
make: don't know how to make cheksum. Stop
#

Re: APACHE22

Добавлено: 2010-12-23 9:57:17
FreeBSP
удалять - потому что у тебя битый дистфайл. решение - удалить и перекачать
удалить я и посоветовал
unix-admin в общем то то же самое тока через другое место посоветовал, причем варианты в общем то равноправны
а после удаления почти любая цель для make инициирует перезакачку дистфайла и будет тебе счастье =)

'#' - символизировала приглашение рута, и в командную строку ее писать не следует
теперь просто make и должно все собираться
и ты в make cheCksum ошибся

Re: APACHE22

Добавлено: 2010-12-23 10:01:46
Raxxell
Поясню сразу, устанавливал я все это с другом через скайп, т.к. сам еще только учусь работать в Линуксе. Но он мне посоветовал сервер поставить на FreeBSD. Сначала помогал, а потом начал пропадать постоянно, видимо работы много. А я вот сижу и жду, когда он появиться. Начал сам искать информацию по этому поводу, начал пробовать делать чтото сам, может и напорол косяков поэтому. Как теперь все исправить, не знаю. А вообще, мне надо поставить локальный сервер, с Апачем мускулом, и пхп, потом поставить Мудл (это все для школы). И все.

УПС, и вправду не ту команду вбил. Щас исправлю.

Все ребята пошло спасибо.

Re: APACHE22

Добавлено: 2010-12-23 10:03:17
unix-admin
Теперь вот что:

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

make: don't know how to make cheksum. Stop

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

make cheksum !=  make checksum

Re: APACHE22

Добавлено: 2010-12-23 10:05:29
Raxxell
Вот что получилось. И что то мне подсказывает, что это правильно.

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

# cd /usr/ports/misc/help2man/ ; make distclean ; make checksum
===>  Cleaning for help2man-1.38.2_1
===>  Deleting distfiles for help2man-1.38.2_1
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
=> help2man-1.38.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://ftp.gnu.org/gnu/help2man/.
help2man-1.38.2.tar.gz                        100% of  133 kB   20 kBps
=> SHA256 Checksum OK for help2man-1.38.2.tar.gz.
#

Re: APACHE22

Добавлено: 2010-12-23 10:18:05
unix-admin
пробуй ставить apache22

Re: APACHE22

Добавлено: 2010-12-23 10:31:01
Raxxell
Что то опять не идет. Пишу все что он выдал:

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

# cd /usr/ports/www/apache22
# ls
Makefile                distinfo                pkg-message
Makefile.doc            files                   pkg-plist
Makefile.modules        pkg-descr               work
Makefile.options        pkg-install
# make install clean
===>   apache-2.2.17_1 depends on file: /usr/local/bin/perl5.10.1 - found
===>   apache-2.2.17_1 depends on file: /usr/local/bin/autoconf-2.68 - found
===>   apache-2.2.17_1 depends on package: libtool>=2.2 - found
===>   apache-2.2.17_1 depends on shared library: expat.6 - found
===>   apache-2.2.17_1 depends on shared library: apr-1 - not found
===>    Verifying install for apr-1 in /usr/ports/devel/apr1
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 depends on file: /usr/local/bin                                                                             /python2.6 - found
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 depends on file: /usr/local/bin                                                                             /perl5.10.1 - found
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 depends on file: /usr/local/bin                                                                             /automake-1.11 - found
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 depends on file: /usr/local/bin                                                                             /autoconf-2.68 - found
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 depends on package: libtool>=2.                                                                             2 - found
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 depends on shared library: expa                                                                             t.6 - found
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 depends on shared library: gdbm                                                                             .3 - found
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 depends on shared library: icon                                                                             v.3 - found
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 depends on shared library: db-4                                                                             .2.2 - found
===>  Configuring for apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10
cd /usr/ports/devel/apr1/work/apr-1.4.2 ;  /usr/bin/env CC="cc" PYTHON="/usr/loc                                                                             al/bin/python2.6" SHELL=/bin/sh CONFIG_SHELL=/bin/sh AUTOMAKE=/usr/local/bin/aut                                                                             omake-1.11  AUTOMAKE_DIR=/usr/local/share/automake-1.11  AUTOMAKE_VERSION=1.11                                                                               AUTOMAKE_APIVER=1.11.1  ACLOCAL=/usr/local/bin/aclocal-1.11  ACLOCAL_DIR=/usr/lo                                                                             cal/share/aclocal-1.11 AUTOCONF=/usr/local/bin/autoconf-2.68  AUTOCONF_DIR=/usr/                                                                             local/share/autoconf-2.68  AUTOHEADER=/usr/local/bin/autoheader-2.68  AUTOIFNAME                                                                             S=/usr/local/bin/ifnames-2.68  AUTOM4TE=/usr/local/bin/autom4te-2.68  AUTORECONF                                                                             =/usr/local/bin/autoreconf-2.68  AUTOSCAN=/usr/local/bin/autoscan-2.68  AUTOUPDA                                                                             TE=/usr/local/bin/autoupdate-2.68  AUTOCONF_VERSION=2.68 LIBTOOL=/usr/local/bin/                                                                             libtool  LIBTOOLIZE=/usr/local/bin/libtoolize  LIBTOOL_LIBEXECDIR=/usr/local/lib                                                                             exec/libtool  LIBTOOL_SHAREDIR=/usr/local/share/libtool  LIBTOOL_M4=/usr/local/s                                                                             hare/aclocal/libtool.m4  LTMAIN=/usr/local/share/libtool/config/ltmain.sh lt_cv_                                                                             sys_max_cmd_len=262144 /bin/sh ./buildconf
buildconf: checking installation...
buildconf: python version 2.6.5 (ok)
buildconf: autoconf version 2.68 (ok)
buildconf: libtool version 2.2.6b (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/local/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
configure.in:200: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
build/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
build/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded from...
build/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded from...
build/libtool.m4:138: _LT_SETUP is expanded from...
build/libtool.m4:67: LT_INIT is expanded from...
build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.in:200: the top level
configure.in:200: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
build/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded from...
build/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded from...
build/libtool.m4:138: _LT_SETUP is expanded from...
build/libtool.m4:67: LT_INIT is expanded from...
build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.in:200: the top level
configure.in:1970: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
build/apr_common.m4:491: APR_TRY_COMPILE_NO_WARNING is expanded from...
configure.in:1970: the top level
configure.in:2485: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
build/apr_common.m4:491: APR_TRY_COMPILE_NO_WARNING is expanded from...
build/apr_network.m4:223: APR_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
configure.in:2485: the top level
configure.in:2490: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
build/apr_common.m4:491: APR_TRY_COMPILE_NO_WARNING is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
build/apr_network.m4:291: APR_CHECK_GETSERVBYNAME_R_STYLE is expanded from...
configure.in:2490: the top level
Creating configure ...
configure.in:200: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
build/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
build/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded from...
build/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded from...
build/libtool.m4:138: _LT_SETUP is expanded from...
build/libtool.m4:67: LT_INIT is expanded from...
build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.in:200: the top level
configure.in:200: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
build/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded from...
build/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded from...
build/libtool.m4:138: _LT_SETUP is expanded from...
build/libtool.m4:67: LT_INIT is expanded from...
build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.in:200: the top level
configure.in:1970: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
build/apr_common.m4:491: APR_TRY_COMPILE_NO_WARNING is expanded from...
configure.in:1970: the top level
configure.in:2485: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
build/apr_common.m4:491: APR_TRY_COMPILE_NO_WARNING is expanded from...
build/apr_network.m4:223: APR_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
configure.in:2485: the top level
configure.in:2490: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in                                                                              body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
build/apr_common.m4:491: APR_TRY_COMPILE_NO_WARNING is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
build/apr_network.m4:291: APR_CHECK_GETSERVBYNAME_R_STYLE is expanded from...
configure.in:2490: the top level
Generating 'make' outputs ...
rebuilding rpm spec file
cd /usr/ports/devel/apr1/work/apr-util-1.3.10 ;  /bin/rm -fr xml/expat
cd: can't cd to /usr/ports/devel/apr1/work/apr-util-1.3.10
*** Error code 2

Stop in /usr/ports/devel/apr1.
*** Error code 1

Stop in /usr/ports/devel/apr1.
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
#

Re: APACHE22

Добавлено: 2010-12-23 20:24:59
Alex Keda

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

pkgdb -Fa ; pkg_version -v | grep -v up-to-date

Re: APACHE22

Добавлено: 2010-12-23 21:41:06
Raxxell
Вроде все поставил, но Апач почему то не запускается, не знаю почему.
Вот код:

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

# /usr/local/sbin/apachectl start
[Thu Dec 23 18:42:16 2010] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
#

Re: APACHE22

Добавлено: 2010-12-24 0:21:11
unix-admin
Alex Keda писал(а):

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

pkgdb -Fa ; pkg_version -v | grep -v up-to-date
я делаю

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

pkg_version -v | grep -v =
пимпать меньше...

Re: APACHE22

Добавлено: 2010-12-24 5:47:00
Raxxell
Вот, это работает. Только я не понял, вроде ставил апач 2.2.17 а стоит 2.2.15.

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

# pkg_version -v | grep -v =
apache-2.2.15_9                     <   needs updating (port has 2.2.17_1)
apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1  <   needs updating (port has 1.4.2.1.3.10)
pcre-8.02                           <   needs updating (port has 8.10)
#