Compile svn-1676 on Centos 5

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1827
    Anonymous
    Inactive

    I’ve downloaded mt-daapd-svn-1676.tar.gz.

    I’ve patched configure and configure.in to find avcodec.h in /usr/include/ffmpeg/avcodec.h instead of just /usr/include/avcodec.h.

    I’ve got automake, automake14, automake15, automake16, and automake17 installed.

    I’ve got autoconf and autoconf213 installed

    I’ve got libtool installed.

    I configure as follows:

       ./configure --enable-sqlite3

    which seems to work fine.

    However, when trying to compile, I get the following:


    [someuser@somehost mt-daapd-svn-1676]$ make
    cd . && /bin/sh /home/someuser/local/src/mt-daapd-svn-1676/missing --run aclocal-1.9 -I m4
    configure.in:494: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but is not m4_defun'd
    configure.in:494: AC_LIB_PREPARE_PREFIX is required by...
    m4/iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from...
    configure.in:494: AM_ICONV_LINKFLAGS_BODY is required by...
    m4/iconv.m4:73: AM_ICONV_LINK is expanded from...
    m4/iconv.m4:101: AM_ICONV is expanded from...
    configure.in:494: the top level
    configure.in:494: warning: AC_LIB_RPATH is m4_require'd but is not m4_defun'd
    configure.in:494: AC_LIB_RPATH is required by...
    cd . && /bin/sh /home/someuser/local/src/mt-daapd-svn-1676/missing --run automake-1.9 --gnu
    configure.in:494: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but is not m4_defun'd
    configure.in:494: AC_LIB_PREPARE_PREFIX is required by...
    m4/iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from...
    configure.in:494: AM_ICONV_LINKFLAGS_BODY is required by...
    m4/iconv.m4:73: AM_ICONV_LINK is expanded from...
    m4/iconv.m4:101: AM_ICONV is expanded from...
    configure.in:494: the top level
    configure.in:494: warning: AC_LIB_RPATH is m4_require'd but is not m4_defun'd
    configure.in:494: AC_LIB_RPATH is required by...
    cd . && /bin/sh /home/someuser/local/src/mt-daapd-svn-1676/missing --run autoconf
    configure.in:494: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but is not m4_defun'd
    configure.in:494: AC_LIB_PREPARE_PREFIX is required by...
    m4/iconv.m4:18: AM_ICONV_LINKFLAGS_BODY is expanded from...
    configure.in:494: AM_ICONV_LINKFLAGS_BODY is required by...
    m4/iconv.m4:73: AM_ICONV_LINK is expanded from...
    m4/iconv.m4:101: AM_ICONV is expanded from...
    configure.in:494: the top level
    configure.in:494: warning: AC_LIB_RPATH is m4_require'd but is not m4_defun'd
    configure.in:494: AC_LIB_RPATH is required by...
    configure:25796: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    configure:25797: error: possibly undefined macro: AC_LIB_RPATH
    configure:25802: error: possibly undefined macro: AC_LIB_LINKFLAGS_BODY
    configure:25810: error: possibly undefined macro: AC_LIB_APPENDTOVAR
    make: *** [configure] Error 1

    Any help would be appreciated.

    #12964
    Anonymous
    Inactive

    I figured it out.

    I was missing the gettext-devel package, which provides config.rpath.

    #12965
    rpedde
    Participant

    @agelwarg wrote:

    I
    I’ve patched configure and configure.in to find avcodec.h in /usr/include/ffmpeg/avcodec.h instead of just /usr/include/avcodec.h.


    --with-ffmpeg-includes=/usr/include/ffmpeg

    should do the trick, too.

    — Ron

    #12966
    Anonymous
    Inactive

    That was my first try, and it failed…must have been for some other reason, ’cause it works fine now. Thanks.

    #12967
    rpedde
    Participant

    @agelwarg wrote:

    That was my first try, and it failed…must have been for some other reason, ’cause it works fine now. Thanks.

    might have been -include versus -includes. I do that every time. 🙁

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.