Модераторы: ZeeLax, powerfox
  

Поиск:

Ответ в темуСоздание новой темы Создание опроса
> в чем причина ошибки 
:(
    Опции темы
poiuyt1234
  Дата 28.3.2010, 23:14 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Шустрый
*


Профиль
Группа: Участник
Сообщений: 135
Регистрация: 30.4.2008

Репутация: нет
Всего: нет



файл configure.in
Код

#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT([mod_log_post], [0.1.0], [[email protected]])
AC_CONFIG_SRCDIR([mod_log_post.c])

# Checks for programs.
AC_PROG_CC
AC_STDC_HEADERS

AC_PATH_PROG([sed], [sed], [no])
if test "$sed" = "no"; then
  AC_MSG_ERROR([The sed (stream editor) binary is required, please install it!])
else
  [SED="$sed"]
fi
AC_SUBST(SED)

AC_PATH_PROG([install], [install], [no])
if test "$install" = "no"; then
  AC_MSG_ERROR([The install binary e.g. from coreutils is required, please install it!])
else
  [INSTALL="$install"]
fi
AC_SUBST(INSTALL)

# We use axps to compile source files, which may be in /usr/sbin.
AC_ARG_WITH(apxs,
  AS_HELP_STRING([--with-apxs=PATH], [Specify path to apxs (if needed)]),
  [APXS="$withval"],
  [AC_PATH_PROGS([APXS], [apxs apxs2], , [$PATH:/usr/local/sbin:/usr/sbin])])
if test -z $APXS; then
  AC_MSG_ERROR([The apxs (APache eXtenSion) tool is required, please install e.g. httpd-devel or apache2-devel!])
fi
AC_SUBST(APXS)

# Try to find the configuration directory for configuration file.
AC_ARG_WITH(conf-dir,
  AS_HELP_STRING([--with-conf-dir=PATH], [Override configuration directoy (if needed)]),
  [CONFDIR="$withval"],
  [AC_DEFINE_UNQUOTED(CONFDIR, "$withval")])
if test -z $CONFDIR; then
  for dir in /etc/httpd/conf.d /usr/local/etc/apache22; do
    if test -d $dir; then
      CONFDIR=$dir
      break
    fi
  done
fi
if test -z $CONFDIR; then
  AC_MSG_ERROR([The Apache configuration directory wasn't found, please use --with-conf-dir=PATH when re-running!])
else
  AC_MSG_CHECKING([for configuration directory])
  AC_MSG_RESULT($CONFDIR)
fi
AC_SUBST(CONFDIR)

# Try to find the log file directory for configuration file.
AC_ARG_WITH(log-dir,
  AS_HELP_STRING([--with-log-dir=PATH], [Override log file directoy (if needed)]),
  [LOGDIR="$withval"],
  [AC_DEFINE_UNQUOTED(LOGDIR, "$withval")])
if test -z $LOGDIR; then
  for dir in /var/log/httpd /var/log/apache2; do
    if test -d $dir; then
      LOGDIR=$dir
      break
    fi
  done
fi
if test -z $LOGDIR; then
  AC_MSG_ERROR([The Apache log file directory wasn't found, please use --with-log-dir=PATH when re-running!])
else
  AC_MSG_CHECKING([for log file directory])
  AC_MSG_RESULT($LOGDIR)
fi
AC_SUBST(LOGDIR)

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset strcasecmp strdup strerror strncasecmp strpbrk strrchr strspn strstr strtol])

# Create makefile.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

Команда выдает:
Цитата

poiuyt123410# ./configure --with-conf-dir=/usr/local/etc/apache22
checking for 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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sed... /usr/bin/sed
checking for install... /usr/bin/install
checking for apxs... /usr/local/sbin/apxs
checking for configuration directory... /usr/local/etc/apache22
configure: error: The Apache log file directory wasn't found, please use --with-log-dir=PATH when re-running!

В чем причина этой ошибки при попытке установки mod_log_post?
конфиг апача здесь /usr/local/etc/apache22
система freebsd
PM MAIL   Вверх
smalcom
Дата 29.3.2010, 13:25 (ссылка) |    (голосов:1) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 494
Регистрация: 16.10.2004
Где: Dnepr

Репутация: нет
Всего: 7



Цитата

The Apache log file directory wasn't found, please use --with-log-dir=PATH when re-running!



--------------------
What DA F...???
PM MAIL WWW Skype Jabber   Вверх
  
Ответ в темуСоздание новой темы Создание опроса
Правила форума "Linux/UNIX: Oбщие вопросы"
nickless
Imple
pythonwin

В этом форуме предпочтительны вопросы на следующие темы:

  • Конкретные вопросы о конкретном ПО. В таких вопросах желательно привести точные данные о программе: версия программы, версия ОС, версия ядра, и проблему в форме: сделал Х, хотел получить Y, а получил Z.
  • Неконкретные вопросы о выборе ПО
  • Обзоры - как дополнение в ветку Обзоры


  • Вы должны соблюдать правила форума.
  • Помните: какой вопрос, такой и ответ. Прежде чем задать вопрос прочитайте вот эту статью на форуме CIT.
  • Оскорблять запрещается.
  • Религиозные войны в Религиозных войнах.
  • Общение "просто так" в Клубе юнуксоидов. В отличие от многих других разделов, здесь разрешается сдержанно оффтопить и юморить в тему.

За интересные статьи, находки, решения, программы и просто реальную помощь будут ставиться + в репу).


В данный момент этот раздел модерируют nerezus, nickless, powerfox, pythonwin, Imple и ZeeLax. Если вы хотите помочь нам, пишите в ПМ и мы обсудим.


Спасибо. И use UNIX or die; С уважением, nerezus, nickless, powerfox, pythonwin, Imple, ZeeLax.

 
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | Программное обеспечение под *NIX системы | Следующая тема »


 




[ Время генерации скрипта: 0.1083 ]   [ Использовано запросов: 22 ]   [ GZIP включён ]


Реклама на сайте     Информационное спонсорство

 
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности     Powered by Invision Power Board(R) 1.3 © 2003  IPS, Inc.