The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"установка apr"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [ Отслеживать ]

"установка apr"  
Сообщение от GHopper email(ok) on 27-Май-08, 13:07 
Здравствуйте!

FreeBSD7.0

cd /usr/ports/devel/apr/
make && make install

pkg_info -L apr-1.2.8_3
Information for apr-1.2.8_3:

Files:
/usr/local/bin/apr-1-config
/usr/local/bin/apu-1-config
/usr/local/build-1/apr_rules.mk
/usr/local/build-1/libtool
/usr/local/build-1/make_exports.awk
/usr/local/build-1/make_var_export.awk
/usr/local/build-1/mkdir.sh
/usr/local/include/apr-1/apr.h
/usr/local/include/apr-1/apr_allocator.h
/usr/local/include/apr-1/apr_anylock.h
/usr/local/include/apr-1/apr_atomic.h
/usr/local/include/apr-1/apr_base64.h
/usr/local/include/apr-1/apr_buckets.h
/usr/local/include/apr-1/apr_date.h
/usr/local/include/apr-1/apr_dbd.h
/usr/local/include/apr-1/apr_dbm.h
/usr/local/include/apr-1/apr_dso.h
/usr/local/include/apr-1/apr_env.h
/usr/local/include/apr-1/apr_errno.h
/usr/local/include/apr-1/apr_file_info.h
/usr/local/include/apr-1/apr_file_io.h
/usr/local/include/apr-1/apr_fnmatch.h
/usr/local/include/apr-1/apr_general.h
/usr/local/include/apr-1/apr_getopt.h
/usr/local/include/apr-1/apr_global_mutex.h
/usr/local/include/apr-1/apr_hash.h
/usr/local/include/apr-1/apr_hooks.h
/usr/local/include/apr-1/apr_inherit.h
/usr/local/include/apr-1/apr_ldap.h
/usr/local/include/apr-1/apr_ldap_init.h
/usr/local/include/apr-1/apr_ldap_option.h
/usr/local/include/apr-1/apr_ldap_url.h
/usr/local/include/apr-1/apr_lib.h
/usr/local/include/apr-1/apr_md4.h
/usr/local/include/apr-1/apr_md5.h
/usr/local/include/apr-1/apr_mmap.h
/usr/local/include/apr-1/apr_network_io.h
/usr/local/include/apr-1/apr_optional.h
/usr/local/include/apr-1/apr_optional_hooks.h
/usr/local/include/apr-1/apr_poll.h
/usr/local/include/apr-1/apr_pools.h
/usr/local/include/apr-1/apr_portable.h
/usr/local/include/apr-1/apr_proc_mutex.h
/usr/local/include/apr-1/apr_queue.h
/usr/local/include/apr-1/apr_random.h
/usr/local/include/apr-1/apr_reslist.h
/usr/local/include/apr-1/apr_ring.h
/usr/local/include/apr-1/apr_rmm.h
/usr/local/include/apr-1/apr_sdbm.h
/usr/local/include/apr-1/apr_sha1.h
/usr/local/include/apr-1/apr_shm.h
/usr/local/include/apr-1/apr_signal.h
/usr/local/include/apr-1/apr_strings.h
/usr/local/include/apr-1/apr_strmatch.h
/usr/local/include/apr-1/apr_support.h
/usr/local/include/apr-1/apr_tables.h
/usr/local/include/apr-1/apr_thread_cond.h
/usr/local/include/apr-1/apr_thread_mutex.h
/usr/local/include/apr-1/apr_thread_proc.h
/usr/local/include/apr-1/apr_thread_rwlock.h
/usr/local/include/apr-1/apr_time.h
/usr/local/include/apr-1/apr_uri.h
/usr/local/include/apr-1/apr_user.h
/usr/local/include/apr-1/apr_uuid.h
/usr/local/include/apr-1/apr_version.h
/usr/local/include/apr-1/apr_want.h
/usr/local/include/apr-1/apr_xlate.h
/usr/local/include/apr-1/apr_xml.h
/usr/local/include/apr-1/apu.h
/usr/local/include/apr-1/apu_version.h
/usr/local/include/apr-1/apu_want.h
/usr/local/libdata/pkgconfig/apr-1.pc
/usr/local/libdata/pkgconfig/apr-util-1.pc
/usr/local/lib/apr.exp
/usr/local/lib/aprutil.exp
/usr/local/lib/libapr-1.a
/usr/local/lib/libapr-1.la
/usr/local/lib/libapr-1.so
/usr/local/lib/libapr-1.so.2
/usr/local/lib/libaprutil-1.a
/usr/local/lib/libaprutil-1.la
/usr/local/lib/libaprutil-1.so
/usr/local/lib/libaprutil-1.so.2

Не нравится мне все это... и при установке mod_mp3-1.2 ругается, что нету apr

Высказать мнение | Ответить | Правка | Cообщить модератору

 Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "установка apr"  
Сообщение от GHopper email(ok) on 28-Май-08, 06:41 
# ./configure --with-apxs=/usr/local/sbin/apxs --with-apr=/usr/local/bin/apr-1-config --with-mysql=/usr/local/bin/mysql_config --with-mysql-binary-protocol --with-ghttp=/usr/local/include/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i386-unknown-freebsd7.0
checking host system type... i386-unknown-freebsd7.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
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... 65536
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
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/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd7.0 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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/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/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking syslimits.h usability... no
checking syslimits.h presence... no
checking for syslimits.h... no
checking for apxs... "/usr/local/sbin/apxs Version 2.X"
checking for apr... "/usr/local/bin/apr-config Version 2.X"
checking for mysql_config... "/usr/local/bin/mysql_config"
checking for mysql binary protocol... "enabled"
checking for pg_config... "not bulding postgres support"
checking for Berkeley files for playlist dispatch... "not building playlist support"
checking if select page should be enabled... yes
checking if content disposition should be enabled... no
checking for libghttp... "found libghttp"
checking if directory services should be enabled... yes
checking build with debug support... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libID3/Makefile
config.status: creating libID3/include/Makefile
config.status: creating libID3/lib/Makefile
config.status: creating libID3/src/Makefile
config.status: creating libID3/id3-test/Makefile
config.status: creating libID3/Docs/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

#make
make  all-recursive
Making all in libID3
Making all in include
Making all in lib
if /bin/sh ../../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../include     -g -O2 -MT id3.lo -MD -MP -MF ".deps/id3.Tpo" -c -o id3.lo id3.c;  then mv -f ".deps/id3.Tpo" ".deps/id3.Plo"; else rm -f ".deps/id3.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../include -g -O2 -MT id3.lo -MD -MP -MF .deps/id3.Tpo -c id3.c  -fPIC -DPIC -o .libs/id3.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../include -g -O2 -MT id3.lo -MD -MP -MF .deps/id3.Tpo -c id3.c -o id3.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include -I../include     -g -O2 -MT md5.lo -MD -MP -MF ".deps/md5.Tpo" -c -o md5.lo md5.c;  then mv -f ".deps/md5.Tpo" ".deps/md5.Plo"; else rm -f ".deps/md5.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../include -g -O2 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c  -fPIC -DPIC -o .libs/md5.o
md5.c: In function 'md5_signature':
md5.c:111: warning: passing argument 2 of 'MD5Update' discards qualifiers from pointer target type
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../include -g -O2 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -o md5.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=link --tag=CC gcc  -g -O2    -o libid3.la -rpath /usr/local/lib  id3.lo md5.lo
gcc -shared  .libs/id3.o .libs/md5.o   -Wl,-soname -Wl,libid3.so.0.0 -o .libs/libid3.so.0.0
ar cru .libs/libid3.a  id3.o md5.o
ranlib .libs/libid3.a
creating libid3.la
(cd .libs && rm -f libid3.la && ln -s ../libid3.la libid3.la)
Making all in src
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../include     -g -O2 -MT tagpuller.o -MD -MP -MF ".deps/tagpuller.Tpo" -c -o tagpuller.o tagpuller.c;  then mv -f ".deps/tagpuller.Tpo" ".deps/tagpuller.Po"; else rm -f ".deps/tagpuller.Tpo"; exit 1; fi
/bin/sh ../../libtool --mode=link --tag=CC gcc  -g -O2    -o tagpuller  tagpuller.o ../lib/libid3.la
mkdir .libs
gcc -g -O2 -o .libs/tagpuller tagpuller.o  ../lib/.libs/libid3.so.0.0 -Wl,--rpath -Wl,/usr/local/lib
creating tagpuller
Making all in id3-test
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../include     -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" -c -o test.o test.c;  then mv -f ".deps/test.Tpo" ".deps/test.Po"; else rm -f ".deps/test.Tpo"; exit 1; fi
/bin/sh ../../libtool --mode=link --tag=CC gcc  -g -O2    -o id3test  test.o ../lib/libid3.la
mkdir .libs
gcc -g -O2 -o .libs/id3test test.o  ../lib/.libs/libid3.so.0.0 -Wl,--rpath -Wl,/usr/local/lib
creating id3test
Making all in Docs
Making all in src
if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I.. -I/usr/local/include/apache22  -I/usr/local/include/mysql  -fno-strict-aliasing -pipe    -I/usr/local/include/apr-1 -I../libID3/include -I-I/usr/local/include      -g -O2 -MT common.lo -MD -MP -MF ".deps/common.Tpo" -c -o common.lo common.c;  then mv -f ".deps/common.Tpo" ".deps/common.Plo"; else rm -f ".deps/common.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.. -I/usr/local/include/apache22 -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/apr-1 -I../libID3/include -I-I/usr/local/include -g -O2 -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c  -fPIC -DPIC -o .libs/common.o
In file included from common.c:6:
mod_mp3.h:31:24: error: apr_compat.h: No such file or directory
mod_mp3.h:44:19: error: ghttp.h: No such file or directory
mod_mp3.h:45:29: error: ghttp_constants.h: No such file or directory
*** Error code 1

Stop in /usr/home/ghopper/mod_mp3-1.2/src.
*** Error code 1

Stop in /usr/home/ghopper/mod_mp3-1.2.
*** Error code 1

Stop in /usr/home/ghopper/mod_mp3-1.2.

#ls /usr/local/include/
X11                     jconfig.h               pcre_scanner.h
apache22                jerror.h                pcre_stringpiece.h
apr-1                   jinclude.h              pcrecpp.h
autosprintf.h           jmorecfg.h              pcrecpparg.h
curl                    jpegint.h               pcreposix.h
expat.h                 jpeglib.h               pdel
expat_external.h        libcharset.h            pdflib.h
fam.h                   libexslt                php
freetype2               libintl.h               png.h
ft2build.h              libpng                  pngconf.h
gettext-po.h            libxml2                 python2.5
ghttp.h                 libxslt                 slang.h
ghttp_constants.h       localcharset.h          slcurses.h
gio-unix-2.0            mysql                   t1lib.h
glib-2.0                netgraph                t1libx.h
iconv.h                 pcre.h

# cat Makefile
# Makefile.in generated by automake 1.9.2 from Makefile.am.
# Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

# Used to build Makefile.in
srcdir = .
top_srcdir = .

pkgdatadir = $(datadir)/mod_mp3
pkglibdir = $(libdir)/mod_mp3
pkgincludedir = $(includedir)/mod_mp3
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i386-unknown-freebsd7.0
host_triplet = i386-unknown-freebsd7.0
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
        $(srcdir)/Makefile.in $(srcdir)/config.h.in \
        $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
        TODO config/config.guess config/config.sub config/depcomp \
        config/install-sh config/ltmain.sh config/missing \
        config/mkinstalldirs
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/build/ac_display.m4 \
        $(top_srcdir)/build/ac_playlist.m4 \
        $(top_srcdir)/build/ac_postgres.m4 \
        $(top_srcdir)/build/ac_mysql.m4 \
        $(top_srcdir)/build/ac_apache.m4 \
        $(top_srcdir)/build/ac_apache.m4 \
        $(top_srcdir)/build/ac_mysql.m4 \
        $(top_srcdir)/build/ac_postgres.m4 \
        $(top_srcdir)/build/ac_playlist.m4 \
        $(top_srcdir)/build/ac_display.m4 $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno configure.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
        html-recursive info-recursive install-data-recursive \
        install-exec-recursive install-info-recursive \
        install-recursive installcheck-recursive installdirs-recursive \
        pdf-recursive ps-recursive uninstall-info-recursive \
        uninstall-recursive
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
  { test ! -d $(distdir) \
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
         && rm -fr $(distdir); }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ${SHELL} /usr/home/ghopper/mod_mp3-1.2/config/missing --run aclocal-1.9
AMDEP_FALSE = #
AMDEP_TRUE =
AMTAR = ${SHELL} /usr/home/ghopper/mod_mp3-1.2/config/missing --run tar
APACHE2 = yes
APACHE_LIBEXECDIR = /usr/local/libexec/apache22
APR_INCLUDE = -I/usr/local/include/apr-1
APR_LIBS =  -lcrypt  -lpthread
APXS = /usr/local/sbin/apxs
APXS_CC = cc
APXS_CONFDIR = /usr/local/etc/apache22
APXS_INCLUDE = /usr/local/include/apache22
AR = ar
AUTOCONF = ${SHELL} /usr/home/ghopper/mod_mp3-1.2/config/missing --run autoconf
AUTOHEADER = ${SHELL} /usr/home/ghopper/mod_mp3-1.2/config/missing --run autoheader
AUTOMAKE = ${SHELL} /usr/home/ghopper/mod_mp3-1.2/config/missing --run automake-1.9
AWK = nawk
BERK_DB_INCLUDE =
BERK_DB_LIB =
CC = APXS_CC
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O2
CPP = gcc -E
CPPFLAGS =
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -g -O2
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO = echo
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = grep -E
EXEEXT =
F77 =
FFLAGS =
GDB_INCLUDE =
GHTTP_INCLUDE = -I/usr/local/include
GHTTP_LIB = -L/usr/local/lib -lghttp
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LDFLAGS =
LIBOBJS =
LIBS =
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s
LTLIBOBJS =
MAKEINFO = ${SHELL} /usr/home/ghopper/mod_mp3-1.2/config/missing --run makeinfo
MYSQL_CONFIG = /usr/local/bin/mysql_config
MYSQL_INC = -I/usr/local/include/mysql  -fno-strict-aliasing -pipe
MYSQL_LIB = -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm
OBJEXT = o
PACKAGE = mod_mp3
PACKAGE_BUGREPORT =
PACKAGE_NAME =
PACKAGE_STRING =
PACKAGE_TARNAME =
PACKAGE_VERSION =
PATH_SEPARATOR = :
PGSQL_INC =
PGSQL_LIB =
POSTGRES_CONFIG =
RANLIB = ranlib
SET_MAKE =
SHELL = /bin/sh
STRIP = strip
VERSION = 1.2
YP_ENABLED =
ac_ct_AR = ar
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_F77 =
ac_ct_RANLIB = ranlib
ac_ct_STRIP = strip
am__fastdepCC_FALSE = #
am__fastdepCC_TRUE =
am__fastdepCXX_FALSE = #
am__fastdepCXX_TRUE =
am__include = include
am__leading_dot = .
am__quote =
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build = i386-unknown-freebsd7.0
build_alias =
build_cpu = i386
build_os = freebsd7.0
build_vendor = unknown
datadir = ${prefix}/share
exec_prefix = ${prefix}
host = i386-unknown-freebsd7.0
host_alias =
host_cpu = i386
host_os = freebsd7.0
host_vendor = unknown
includedir = ${prefix}/include
infodir = ${prefix}/info
install_sh = /usr/home/ghopper/mod_mp3-1.2/config/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localstatedir = ${prefix}/var
mandir = ${prefix}/man
mkdir_p = $(mkinstalldirs)
oldincludedir = /usr/include
prefix = /usr/local
program_transform_name = s,x,x,
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
sysconfdir = ${prefix}/etc
target_alias =
EXTRA_DIST = faq faq.html
INCLUDES = -I$(top_builddir)/include -I$(top_builddir)/libID3/include
SUBDIRS = libID3 src
CP = cp
all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive

.SUFFIXES:
am--refresh:
        @:
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
              echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
              cd $(srcdir) && $(AUTOMAKE) --gnu  \
                && exit 0; \
              exit 1;; \
          esac; \
        done; \
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
        cd $(top_srcdir) && \
          $(AUTOMAKE) --gnu  Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
        @case '$?' in \
          *config.status*) \
            echo ' $(SHELL) ./config.status'; \
            $(SHELL) ./config.status;; \
          *) \
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
        esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
        $(SHELL) ./config.status --recheck

$(top_srcdir)/configure:  $(am__configure_deps)
        cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)

config.h: stamp-h1
        @if test ! -f $@; then \
          rm -f stamp-h1; \
          $(MAKE) stamp-h1; \
        else :; fi

stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
        @rm -f stamp-h1
        cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in:  $(am__configure_deps)
        cd $(top_srcdir) && $(AUTOHEADER)
        rm -f stamp-h1
        touch $@

distclean-hdr:
        -rm -f config.h stamp-h1

mostlyclean-libtool:
        -rm -f *.lo

clean-libtool:
        -rm -rf .libs _libs

distclean-libtool:
        -rm -f libtool
uninstall-info-am:

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
        @set fnord $$MAKEFLAGS; amf=$$2; \
        dot_seen=no; \
        target=`echo $@ | sed s/-recursive//`; \
        list='$(SUBDIRS)'; for subdir in $$list; do \
          echo "Making $$target in $$subdir"; \
          if test "$$subdir" = "."; then \
            dot_seen=yes; \
            local_target="$$target-am"; \
          else \
            local_target="$$target"; \
          fi; \
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
        done; \
        if test "$$dot_seen" = "no"; then \
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
        fi; test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
        @set fnord $$MAKEFLAGS; amf=$$2; \
        dot_seen=no; \
        case "$@" in \
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
          *) list='$(SUBDIRS)' ;; \
        esac; \
        rev=''; for subdir in $$list; do \
          if test "$$subdir" = "."; then :; else \
            rev="$$subdir $$rev"; \
          fi; \
        done; \
        rev="$$rev ."; \
        target=`echo $@ | sed s/-recursive//`; \
        for subdir in $$rev; do \
          echo "Making $$target in $$subdir"; \
          if test "$$subdir" = "."; then \
            local_target="$$target-am"; \
          else \
            local_target="$$target"; \
          fi; \
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
        done && test -z "$$fail"
tags-recursive:
        list='$(SUBDIRS)'; for subdir in $$list; do \
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
        done
ctags-recursive:
        list='$(SUBDIRS)'; for subdir in $$list; do \
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
        done

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
        unique=`for i in $$list; do \
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
          done | \
          $(AWK) '    { files[$$0] = 1; } \
               END { for (i in files) print i; }'`; \
        mkid -fID $$unique
tags: TAGS

TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
                $(TAGS_FILES) $(LISP)
        tags=; \
        here=`pwd`; \
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
          include_option=--etags-include; \
          empty_fix=.; \
        else \
          include_option=--include; \
          empty_fix=; \
        fi; \
        list='$(SUBDIRS)'; for subdir in $$list; do \
          if test "$$subdir" = .; then :; else \
            test ! -f $$subdir/TAGS || \
              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
          fi; \
        done; \
        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
        unique=`for i in $$list; do \
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
          done | \
          $(AWK) '    { files[$$0] = 1; } \
               END { for (i in files) print i; }'`; \
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
          test -n "$$unique" || unique=$$empty_fix; \
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
            $$tags $$unique; \
        fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
                $(TAGS_FILES) $(LISP)
        tags=; \
        here=`pwd`; \
        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
        unique=`for i in $$list; do \
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
          done | \
          $(AWK) '    { files[$$0] = 1; } \
               END { for (i in files) print i; }'`; \
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
             $$tags $$unique

GTAGS:
        here=`$(am__cd) $(top_builddir) && pwd` \
          && cd $(top_srcdir) \
          && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
        $(am__remove_distdir)
        mkdir $(distdir)
        $(mkdir_p) $(distdir)/build $(distdir)/config
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
        list='$(DISTFILES)'; for file in $$list; do \
          case $$file in \
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
          esac; \
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
            dir="/$$dir"; \
            $(mkdir_p) "$(distdir)$$dir"; \
          else \
            dir=''; \
          fi; \
          if test -d $$d/$$file; then \
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
            fi; \
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
          else \
            test -f $(distdir)/$$file \
            || cp -p $$d/$$file $(distdir)/$$file \
            || exit 1; \
          fi; \
        done
        list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
          if test "$$subdir" = .; then :; else \
            test -d "$(distdir)/$$subdir" \
            || $(mkdir_p) "$(distdir)/$$subdir" \
            || exit 1; \
            distdir=`$(am__cd) $(distdir) && pwd`; \
            top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
            (cd $$subdir && \
              $(MAKE) $(AM_MAKEFLAGS) \
                top_distdir="$$top_distdir" \
                distdir="$$distdir/$$subdir" \
                distdir) \
              || exit 1; \
          fi; \
        done
        -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
          ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
        || chmod -R a+r $(distdir)
dist-gzip: distdir
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
        $(am__remove_distdir)

dist-bzip2: distdir
        tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
        $(am__remove_distdir)

dist-tarZ: distdir
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
        $(am__remove_distdir)

dist-shar: distdir
        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
        $(am__remove_distdir)

dist-zip: distdir
        -rm -f $(distdir).zip
        zip -rq $(distdir).zip $(distdir)
        $(am__remove_distdir)

dist dist-all: distdir
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
        $(am__remove_distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
        case '$(DIST_ARCHIVES)' in \
        *.tar.gz*) \
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
        *.tar.bz2*) \
          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
        *.tar.Z*) \
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
        *.shar.gz*) \
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
        *.zip*) \
          unzip $(distdir).zip ;;\
        esac
        chmod -R a-w $(distdir); chmod a+w $(distdir)
        mkdir $(distdir)/_build
        mkdir $(distdir)/_inst
        chmod a-w $(distdir)
        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
          && cd $(distdir)/_build \
          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
            $(DISTCHECK_CONFIGURE_FLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
          && $(MAKE) $(AM_MAKEFLAGS) check \
          && $(MAKE) $(AM_MAKEFLAGS) install \
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
          && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
                distuninstallcheck \
          && chmod -R a-w "$$dc_install_base" \
          && ({ \
               (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
                    distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
              } || { rm -rf "$$dc_destdir"; exit 1; }) \
          && rm -rf "$$dc_destdir" \
          && $(MAKE) $(AM_MAKEFLAGS) dist \
          && rm -rf $(DIST_ARCHIVES) \
          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
        $(am__remove_distdir)
        @(echo "$(distdir) archives ready for distribution: "; \
          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
          sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
distuninstallcheck:
        @cd $(distuninstallcheck_dir) \
        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
           || { echo "ERROR: files left after uninstall:" ; \
                if test -n "$(DESTDIR)"; then \
                  echo "  (check DESTDIR support)"; \
                fi ; \
                $(distuninstallcheck_listfiles) ; \
                exit 1; } >&2
distcleancheck: distclean
        @if test '$(srcdir)' = . ; then \
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
          exit 1 ; \
        fi
        @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
          || { echo "ERROR: files left in build directory after distclean:" ; \
               $(distcleancheck_listfiles) ; \
               exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile config.h
installdirs: installdirs-recursive
installdirs-am:
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

install-am: all-am
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-recursive
install-strip:
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
          `test -z '$(STRIP)' || \
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive

clean-am: clean-generic clean-libtool mostlyclean-am

distclean: distclean-recursive
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
        -rm -f Makefile
distclean-am: clean-am distclean-generic distclean-hdr \
        distclean-libtool distclean-tags

dvi: dvi-recursive

dvi-am:

html: html-recursive

info: info-recursive

info-am:

install-data-am:

install-exec-am:

install-info: install-info-recursive

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-recursive
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
        -rm -rf $(top_srcdir)/autom4te.cache
        -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-generic mostlyclean-libtool

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-info-am

uninstall-info: uninstall-info-recursive

.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
        check-am clean clean-generic clean-libtool clean-recursive \
        ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
        dist-shar dist-tarZ dist-zip distcheck distclean \
        distclean-generic distclean-hdr distclean-libtool \
        distclean-recursive distclean-tags distcleancheck distdir \
        distuninstallcheck dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-exec \
        install-exec-am install-info install-info-am install-man \
        install-strip installcheck installcheck-am installdirs \
        installdirs-am maintainer-clean maintainer-clean-generic \
        maintainer-clean-recursive mostlyclean mostlyclean-generic \
        mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
        tags tags-recursive uninstall uninstall-am uninstall-info-am


#   install the DSO file into the Apache installation
#   and activate it in the Apache configuration
install: all
        $(APXS) -i -n 'mp3' src/.libs/libmod_mp3.so
        @echo "+--------------------------------------------------------+"; \
        echo "| All done.                                              |" ; \
        if [ -d $(APXS_CONFDIR).d ]; then\
          if [ -f $(APXS_CONFDIR).d/mp3.conf ]; then\
                  echo "| Preserving old mp3.conf                                |"; \
                  $(CP) support/mp3.conf $(APXS_CONFDIR).d/mp3.conf.default; \
          else \
                  echo "| Installing mp3.conf into $(APXS_CONFDIR).d/            |"; \
                  $(CP) support/mp3.conf $(APXS_CONFDIR).d/mp3.conf; \
          fi \
        else \
          if [ -f $(APXS_CONFDIR)/mp3.conf ]; then \
                  echo "| Preserving old mp3.conf                                |"; \
                  $(CP) support/mp3.conf $(APXS_CONFDIR)/mp3.conf.default; \
          else \
                  echo "| You will need to add the following to your httpd.conf            |"; \
                  echo "| Include $(APXS_CONFDIR)/mp3.conf                               |"; \
                  echo "| It would probably be a good idea to open it up and make sure     |"; \
                  echo "| that it is right.                                                |"; \
                  $(CP) support/mp3.conf $(APXS_CONFDIR)/mp3.conf; \
          fi \
        fi; \
        echo "|                                                        |"; \
        echo "| Thanks for installing mod_mp3.                         |"; \
        echo "|    -Brian                                              |"; \
        echo "|     Seattle, WA                                        |"; \
        echo "+--------------------------------------------------------+"

#       Docs build line
docs :
        tpod2html support/faq.pod > faq.html
        pod2text support/faq.pod > faq

# Builds the proto file
proto :
        $(PERL) utils/protobuild.pl > src/proto.h
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

2. "установка apr"  
Сообщение от Pahanivo email(ok) on 28-Май-08, 12:00 
1. Во-первых че за тупизм захламлять форум полным логом - достаточно строк с ошибками и предшествующих.
2. Не находит библиотеки - укажи руками!
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

3. "установка apr"  
Сообщение от GHopper email(ok) on 28-Май-08, 13:36 
>1. Во-первых че за тупизм захламлять форум полным логом - достаточно строк
>с ошибками и предшествующих.
>2. Не находит библиотеки - укажи руками!
>  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
>  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if

Для тупых можно пожалуйсто?

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

4. "установка apr"  
Сообщение от Pahanivo email(ok) on 28-Май-08, 15:37 
типа того:

soft_config.sh:

LDFLAGS="-L/usr/local/lib/some_lib" \
CPPFLAGS="-I/usr/local/include/some_inc" \
./configure \
--any_config_opt=some_opt \
...


Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

5. "установка apr"  
Сообщение от GHopper email(ok) on 29-Май-08, 05:45 
>типа того:
>
>soft_config.sh:
>
>LDFLAGS="-L/usr/local/lib/some_lib" \
>CPPFLAGS="-I/usr/local/include/some_inc" \
>./configure \
>--any_config_opt=some_opt \
>...

Так и не победил я эти флаги - запихал их в Makefile, запустил make - опять не видит! Что он там, где ищет... не могу понять.
Решил в исходники залезти...

Заменил
#include <ghttp.h>
#include <ghttp_constants.h>

#include </usr/local/include/ghttp.h>
#include </usr/local/include/ghttp_constants.h>

и ошибка пропала! Зато появилась новая:

# make
if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include -I.. -I/usr/local/include/apache22  -I/usr/local/include/mysql  -fno-strict-aliasing -pipe    -I/usr/local/include/apr-1 -I../libID3/include -I-I/usr/local/include      -g -O2 -MT mod_mp3.lo -MD -MP -MF ".deps/mod_mp3.Tpo" -c -o mod_mp3.lo mod_mp3.c;  then mv -f ".deps/mod_mp3.Tpo" ".deps/mod_mp3.Plo"; else rm -f ".deps/mod_mp3.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.. -I/usr/local/include/apache22 -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/apr-1 -I../libID3/include -I-I/usr/local/include -g -O2 -MT mod_mp3.lo -MD -MP -MF .deps/mod_mp3.Tpo -c mod_mp3.c  -fPIC -DPIC -o .libs/mod_mp3.o
mod_mp3.c:1122: error: expected expression before 'mp3_conf'
mod_mp3.c:1122: error: initializer element is not constant
mod_mp3.c:1122: error: (near initialization for 'mp3_module_cmds[0].cmd_data')
mod_mp3.c:1123: error: expected expression before 'mp3_conf'
mod_mp3.c:1123: error: initializer element is not constant
mod_mp3.c:1123: error: (near initialization for 'mp3_module_cmds[1].cmd_data')
mod_mp3.c:1124: error: expected expression before 'mp3_conf'
mod_mp3.c:1124: error: initializer element is not constant
mod_mp3.c:1124: error: (near initialization for 'mp3_module_cmds[2].cmd_data')
mod_mp3.c:1125: warning: initialization from incompatible pointer type
mod_mp3.c:1126: warning: initialization from incompatible pointer type
mod_mp3.c:1128: warning: initialization from incompatible pointer type
mod_mp3.c:1129: warning: initialization from incompatible pointer type
mod_mp3.c:1130: error: expected expression before 'mp3_conf'
mod_mp3.c:1130: error: initializer element is not constant
mod_mp3.c:1130: error: (near initialization for 'mp3_module_cmds[8].cmd_data')
mod_mp3.c:1131: warning: initialization from incompatible pointer type
mod_mp3.c:1132: warning: initialization from incompatible pointer type
mod_mp3.c:1136: error: expected expression before 'mp3_conf'
mod_mp3.c:1136: error: initializer element is not constant
mod_mp3.c:1136: error: (near initialization for 'mp3_module_cmds[11].cmd_data')
mod_mp3.c:1137: error: expected expression before 'mp3_conf'
mod_mp3.c:1137: error: initializer element is not constant
mod_mp3.c:1137: error: (near initialization for 'mp3_module_cmds[12].cmd_data')
mod_mp3.c:1138: error: expected expression before 'mp3_conf'
mod_mp3.c:1138: error: initializer element is not constant
mod_mp3.c:1138: error: (near initialization for 'mp3_module_cmds[13].cmd_data')
mod_mp3.c:1139: warning: initialization from incompatible pointer type
mod_mp3.c:1140: warning: initialization from incompatible pointer type
mod_mp3.c:1141: warning: initialization from incompatible pointer type
mod_mp3.c:1143: warning: initialization from incompatible pointer type
mod_mp3.c:1146: warning: initialization from incompatible pointer type
mod_mp3.c:1147: warning: initialization from incompatible pointer type
mod_mp3.c:1148: warning: initialization from incompatible pointer type
*** Error code 1

Stop in /usr/home/ghopper/mod_mp3-1.2/src.


# mod_mp3.c:1120
...
static const command_rec mp3_module_cmds[]= {
#ifdef APACHE2
  AP_INIT_FLAG("MP3Engine", ap_set_flag_slot, (void *) APR_XtOffsetOf(mp3_conf, enabled), OR_ALL, MP3Engine),
  AP_INIT_FLAG("MP3Loop", ap_set_flag_slot, (void *) APR_XtOffsetOf(mp3_conf, enabled), OR_ALL, MP3Loop),
  AP_INIT_FLAG("MP3Random", ap_set_flag_slot, (void *) APR_XtOffsetOf(mp3_conf, random_enabled), OR_ALL, MP3Rando
  AP_INIT_TAKE1("MP3LimitPlayConnections", set_limit_connections, NULL, OR_ALL, MP3LimitPlayConnections),
  AP_INIT_TAKE1("MP3LimitBytesPerTrack", set_limit_bytespertrack, NULL, OR_ALL, MP3LimitBytesPerTrack),
  AP_INIT_FLAG("MP3Cache", enable_cache, NULL, OR_ALL, MP3Cache),
...

Как ему дать ожидаемое определение?

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

7. "установка apr"  
Сообщение от Pahanivo email(ok) on 29-Май-08, 11:05 
>>типа того:
>>
>>soft_config.sh:
>>
>>LDFLAGS="-L/usr/local/lib/some_lib" \
>>CPPFLAGS="-I/usr/local/include/some_inc" \
>>./configure \
>>--any_config_opt=some_opt \
>>...

Причем тут мейкфайл!!!!
На скрипт внимательно посмотри. Или ты стандартной процедуры сборки никогда не делал:
configure, make, make install?????
Сделай конфигуре и мейк с указанием флагов в командной строке как написано выше.

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

6. "установка apr"  
Сообщение от GD on 29-Май-08, 09:57 
>Здравствуйте!
>
>FreeBSD7.0
>
>cd /usr/ports/devel/apr/
>make && make install
>
>
>Не нравится мне все это... и при установке mod_mp3-1.2 ругается, что нету
>apr

а можно узнать чем mod_mp3 из портов не угодил?
только лишь стабильностью?


Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

8. "установка apr"  
Сообщение от GHopper email(ok) on 29-Май-08, 11:24 
в портах mod_mp3 для версии apache 1.3! У меня уже настроенный сервер apache 2. Хотелось-бы к нему прикрутить этот модуль.

./configure --with-apxs=/usr/local/sbin/apxs --with-apr=/usr/local/bin/apr-1-config --with-mysql=/usr/local/bin/mysql_config --with-mysql-binary-protocol --with-ghttp=/usr/local/include

скрипт выполняется без ошибок, но потом когда запускаешь make начинаются вышеописанные проблемы. Как make`у передать флаги?
Руками собираю приложение первый раз, поэтому и туплю.

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Спонсоры:
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2022 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру