error installing mediatomb on ubuntu10.4

Help
Anonymous
2011-02-24
2013-05-30
  • Anonymous

    Anonymous - 2011-02-24

    I am having issues trying to install mediatomb. I get errors when I './configure'. Here is the config.log

    $ ./configure

    ## ------ ##
    ## Platform. ##
    ## ------ ##

    hostname = domain.com
    uname -m = i686
    uname -r = 2.6.32-28-generic-pae
    uname -s = Linux
    uname -v = #55-Ubuntu SMP Mon Jan 10 22:34:08 UTC 2011

    /usr/bin/uname -p = unknown
    /bin/uname -X     = unknown

    /bin/arch              = unknown
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo      = unknown
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown

    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin
    PATH: /usr/X11R6/bin

    ## ------- ##
    ## Core tests. ##
    ## ------- ##

    configure:2247: checking for a BSD-compatible install
    configure:2315: result: /usr/bin/install -c
    configure:2326: checking whether build environment is sane
    configure:2386: result: yes
    configure:2527: checking for a thread-safe mkdir -p
    configure:2566: result: /bin/mkdir -p
    configure:2579: checking for gawk
    configure:2609: result: no
    configure:2579: checking for mawk
    configure:2595: found /usr/bin/mawk
    configure:2606: result: mawk
    configure:2617: checking whether make sets $(MAKE)
    configure:2639: result: yes
    configure:2741: checking build system type
    configure:2759: result: i686-pc-linux-gnu
    configure:2781: checking host system type
    configure:2796: result: i686-pc-linux-gnu
    configure:3580: checking for g++
    configure:3610: result: no
    configure:3580: checking for c++
    configure:3610: result: no
    configure:3580: checking for gpp
    configure:3610: result: no
    configure:3580: checking for aCC
    configure:3610: result: no
    configure:3580: checking for CC
    configure:3610: result: no
    configure:3580: checking for cxx
    configure:3610: result: no
    configure:3580: checking for cc++
    configure:3610: result: no
    configure:3580: checking for cl.exe
    configure:3610: result: no
    configure:3580: checking for FCC
    configure:3610: result: no
    configure:3580: checking for KCC
    configure:3610: result: no
    configure:3580: checking for RCC
    configure:3610: result: no
    configure:3580: checking for xlC_r
    configure:3610: result: no
    configure:3580: checking for xlC
    configure:3610: result: no
    configure:3634: checking for C++ compiler version
    configure:3642: g++ -version >&5
    ./configure: line 3644: g++: command not found
    configure:3646: $? = 127
    configure:3653: g++ -v >&5
    ./configure: line 3655: g++: command not found
    configure:3657: $? = 127
    configure:3664: g++ -V >&5
    ./configure: line 3666: g++: command not found
    configure:3668: $? = 127
    configure:3691: checking for C++ compiler default output file name
    configure:3713: g++    conftest.cpp  >&5
    ./configure: line 3715: g++: command not found
    configure:3717: $? = 127
    configure:3755: result:
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME "MediaTomb"
    | #define PACKAGE_TARNAME "mediatomb"
    | #define PACKAGE_VERSION "0.12.1"
    | #define PACKAGE_STRING "MediaTomb 0.12.1"
    | #define PACKAGE_BUGREPORT "jin@mediatomb.cc"
    | #define PACKAGE "mediatomb"
    | #define VERSION "0.12.1"
    | #define ATOMIC_X86_SMP 1
    | #define ENABLE_SIGHUP 1
    | #define EXTEND_PROTOCOLINFO 1
    | #define UPNP_VERSION_STRING "0.12.1"
    | #define UPNP_VERSION_MAJOR 0
    | #define UPNP_VERSION_MINOR 4
    | #define UPNP_VERSION_PATCH 1
    | /* end confdefs.h.  */
    |
    | int
    | main ()
    | {
    |
    |   ;
    |   return 0;
    | }
    configure:3761: error: in `/home/duc/dls/mediatomb-0.12.1':
    configure:3764: error: C++ compiler cannot create executables
    See `config.log' for more details.

    ## ----------- ##
    ## Cache variables. ##
    ## ----------- ##

    ac_cv_build=i686-pc-linux-gnu
    ac_cv_env_CCC_set=
    ac_cv_env_CCC_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=
    ac_cv_env_CXXFLAGS_value=
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=i686-pc-linux-gnu
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=mawk
    ac_cv_prog_make_make_set=yes

    ## ----------- ##
    ## Output variables. ##
    ## ----------- ##

    ACLOCAL='${SHELL} /home/duc/dls/mediatomb-0.12.1/configure_aux/missing -run aclocal-1.11'
    ALLOCA=''
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/duc/dls/mediatomb-0.12.1/configure_aux/missing -run tar'
    ATOMIC_OPTION_ENABLED='yes'
    ATOMIC_OPTION_REQUESTED='no'
    ATOMIC_X86_SINGLE_OPTION_ENABLED='no'
    ATOMIC_X86_SINGLE_OPTION_REQUESTED='no'
    AUTOCONF='${SHELL} /home/duc/dls/mediatomb-0.12.1/configure_aux/missing -run autoconf'
    AUTOHEADER='${SHELL} /home/duc/dls/mediatomb-0.12.1/configure_aux/missing -run autoheader'
    AUTOMAKE='${SHELL} /home/duc/dls/mediatomb-0.12.1/configure_aux/missing -run automake-1.11'
    AVFORMAT_CFLAGS=''
    AVFORMAT_LDFLAGS=''
    AVFORMAT_LIBS=''
    AVFORMAT_STATUS=''
    AVUTIL_LDFLAGS=''
    AVUTIL_LIBS=''
    AVUTIL_STATUS=''
    AWK='mawk'
    CC=''
    CCDEPMODE=''
    CFLAGS=''
    CPP=''
    CPPFLAGS=''
    CURL_CFLAGS=''
    CURL_LIBS=''
    CXX='g++'
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS=''
    CYGPATH_W='echo'
    DB_AUTOCREATE_OPTION_ENABLED='yes'
    DB_AUTOCREATE_OPTION_REQUESTED='no'
    DEBUG_LOG_OPTION_ENABLED=''
    DEBUG_LOG_OPTION_REQUESTED=''
    DEBUG_MALLOC0_OPTION_ENABLED='no'
    DEBUG_MALLOC0_OPTION_REQUESTED='no'
    DEFS=''
    DEPDIR=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    EXPAT_CFLAGS=''
    EXPAT_LDFLAGS=''
    EXPAT_LIBS=''
    EXPAT_STATUS=''
    EXTERNAL_TRANSCODING_OPTION_ENABLED='yes'
    EXTERNAL_TRANSCODING_OPTION_REQUESTED='no'
    FFMPEGTHUMBNAILER_CFLAGS=''
    FFMPEGTHUMBNAILER_LDFLAGS=''
    FFMPEGTHUMBNAILER_LIBS=''
    FFMPEGTHUMBNAILER_OPTION_ENABLED=''
    FFMPEGTHUMBNAILER_OPTION_REQUESTED=''
    FFMPEGTHUMBNAILER_STATUS=''
    FFMPEG_CFLAGS=''
    FFMPEG_LDFLAGS=''
    FFMPEG_LIBS=''
    FFMPEG_OPTION_ENABLED=''
    FFMPEG_OPTION_REQUESTED=''
    FSEEKO_CHECK_OPTION_ENABLED='yes'
    FSEEKO_CHECK_OPTION_REQUESTED='no'
    GREP=''
    ICONV_CXXFLAGS=''
    ICONV_LIBS=''
    ICONV_LIB_OPTION_ENABLED='no'
    ICONV_LIB_OPTION_REQUESTED='no'
    ID3LIB_CFLAGS=''
    ID3LIB_LDFLAGS=''
    ID3LIB_LIBS=''
    ID3LIB_OPTION_ENABLED=''
    ID3LIB_OPTION_REQUESTED=''
    ID3LIB_STATUS=''
    ID3LIB_VERSION=''
    INOTIFY_CFLAGS=''
    INOTIFY_OPTION_ENABLED=''
    INOTIFY_OPTION_REQUESTED=''
    INOTIFY_STATUS=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    JS_CXXFLAGS=''
    JS_LIBS=''
    LASTFMLIB_CFLAGS=''
    LASTFMLIB_LDFLAGS=''
    LASTFMLIB_LIBS=''
    LASTFMLIB_OPTION_ENABLED=''
    LASTFMLIB_OPTION_REQUESTED=''
    LASTFMLIB_STATUS=''
    LDFLAGS=''
    LIBEXIF_CFLAGS=''
    LIBEXIF_LDFLAGS=''
    LIBEXIF_LIBS=''
    LIBEXIF_OPTION_ENABLED=''
    LIBEXIF_OPTION_REQUESTED=''
    LIBEXIF_STATUS=''
    LIBEXTRACTOR_CFLAGS=''
    LIBEXTRACTOR_LIBS=''
    LIBEXTRACTOR_OPTION_ENABLED=''
    LIBEXTRACTOR_OPTION_REQUESTED=''
    LIBEXTRACTOR_STATUS=''
    LIBEXTRACTOR_VERSION=''
    LIBMAGIC_CFLAGS=''
    LIBMAGIC_LDFLAGS=''
    LIBMAGIC_LIBS=''
    LIBMAGIC_OPTION_ENABLED=''
    LIBMAGIC_OPTION_REQUESTED=''
    LIBMAGIC_STATUS=''
    LIBMAGIC_VERSION=''
    LIBMP4V2_CFLAGS=''
    LIBMP4V2_LDFLAGS=''
    LIBMP4V2_LIBS=''
    LIBMP4V2_OPTION_ENABLED=''
    LIBMP4V2_OPTION_REQUESTED=''
    LIBMP4V2_STATUS=''
    LIBOBJS=''
    LIBS=''
    LOG_OPTION_ENABLED=''
    LOG_OPTION_REQUESTED=''
    LTLIBOBJS=''
    LWRES_LIBS=''
    MAKEINFO='${SHELL} /home/duc/dls/mediatomb-0.12.1/configure_aux/missing -run makeinfo'
    MKDIR_P='/bin/mkdir -p'
    MRREG_SERVICE_OPTION_ENABLED='no'
    MRREG_SERVICE_OPTION_REQUESTED='no'
    MT_SEARCHPATH='/usr/local'
    MT_SEARCHPATH_HEADERS='/usr/local/include'
    MT_SEARCHPATH_LIBS='/usr/local/lib'
    MT_SEARCHPATH_PROGS='/usr/local/bin'
    MYSQL_CFLAGS=''
    MYSQL_LIBS=''
    MYSQL_OPTION_ENABLED=''
    MYSQL_OPTION_REQUESTED=''
    MYSQL_STATUS=''
    MYSQL_VERSION=''
    NSL_LIBS=''
    OBJEXT=''
    PACKAGE='mediatomb'
    PACKAGE_BUGREPORT='jin@mediatomb.cc'
    PACKAGE_NAME='MediaTomb'
    PACKAGE_STRING='MediaTomb 0.12.1'
    PACKAGE_TARNAME='mediatomb'
    PACKAGE_VERSION='0.12.1'
    PATH_SEPARATOR=':'
    POW_LIB=''
    PROTOCOLINFO_EXTENSION_OPTION_ENABLED='yes'
    PROTOCOLINFO_EXTENSION_OPTION_REQUESTED='no'
    PTHREAD_CC=''
    PTHREAD_CFLAGS=''
    PTHREAD_LDFLAGS=''
    PTHREAD_LIBS=''
    PTHREAD_LIB_OPTION_ENABLED='no'
    PTHREAD_LIB_OPTION_REQUESTED='no'
    PTHREAD_STATUS=''
    RANLIB=''
    RT_LDFLAGS=''
    RT_LIBS=''
    RT_STATUS=''
    SET_MAKE=''
    SHELL='/bin/bash'
    SQLITE3_CFLAGS=''
    SQLITE3_LDFLAGS=''
    SQLITE3_LIBS=''
    SQLITE3_OPTION_ENABLED=''
    SQLITE3_OPTION_REQUESTED=''
    SQLITE3_STATUS=''
    SQLITE_BACKUP_DEFAULTS_OPTION_ENABLED='no'
    SQLITE_BACKUP_DEFAULTS_OPTION_REQUESTED='no'
    STATIC_OPTION_ENABLED='no'
    STATIC_OPTION_REQUESTED='no'
    STRIP=''
    TAGLIB_CFLAGS=''
    TAGLIB_LIBS=''
    TAGLIB_OPTION_ENABLED=''
    TAGLIB_OPTION_REQUESTED=''
    TAGLIB_STATUS=''
    TAGLIB_VERSION=''
    TOMBDEBUG_OPTION_ENABLED=''
    TOMBDEBUG_OPTION_REQUESTED=''
    UPNPDEBUG_OPTION_ENABLED=''
    UPNPDEBUG_OPTION_REQUESTED=''
    VERSION='0.12.1'
    YOUTUBE_OPTION_ENABLED='yes'
    YOUTUBE_OPTION_REQUESTED='no'
    ZLIB_CFLAGS=''
    ZLIB_LDFLAGS=''
    ZLIB_LIBS=''
    ZLIB_OPTION_ENABLED=''
    ZLIB_OPTION_REQUESTED=''
    ZLIB_STATUS=''
    ac_ct_CC=''
    ac_ct_CXX=''
    acx_pthread_config=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnu'
    build_alias=''
    build_cpu='i686'
    build_os='linux-gnu'
    build_vendor='pc'
    curlconfig=''
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='i686-pc-linux-gnu'
    host_alias=''
    host_cpu='i686'
    host_os='linux-gnu'
    host_vendor='pc'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /home/duc/dls/mediatomb-0.12.1/configure_aux/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    mt_mysql_config=''
    mt_taglib_config=''
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr/local'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

    ## ------- ##
    ## confdefs.h. ##
    ## ------- ##

    #define PACKAGE_NAME "MediaTomb"
    #define PACKAGE_TARNAME "mediatomb"
    #define PACKAGE_VERSION "0.12.1"
    #define PACKAGE_STRING "MediaTomb 0.12.1"
    #define PACKAGE_BUGREPORT "jin@mediatomb.cc"
    #define PACKAGE "mediatomb"
    #define VERSION "0.12.1"
    #define ATOMIC_X86_SMP 1
    #define ENABLE_SIGHUP 1
    #define EXTEND_PROTOCOLINFO 1
    #define UPNP_VERSION_STRING "0.12.1"
    #define UPNP_VERSION_MAJOR 0
    #define UPNP_VERSION_MINOR 4
    #define UPNP_VERSION_PATCH 1

    configure: exit 77

     
  • Nithin Philips

    Nithin Philips - 2011-02-24

    I believe the error is:

    configure:3761: error: in `/home/duc/dls/mediatomb-0.12.1': 
    configure:3764: error: C++ compiler cannot create executables
    

    Here's how I got mediatomb to compile on Ubuntu 10.04:

    1. Install Dependencies (NOTE: You may not need all these packages, but it worked for me)

    sudo apt-get -y install libffmpegthumbnailer-dev ffmpegthumbnailer libdvdread-dev libdvdnav-dev build-essential\
    binutils-doc  g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg gcc-multilib autoconf automake1.9 libtool flex\
    bison gdb gcc-doc gcc-4.4-multilib autoconf2.13 autoconf-archive gnu-standards autoconf-doc gettext\
    automake1.9-doc bison-doc debian-maintainers lib32stdc++6-4.4-dbg libmudflap0-4.4-dev gcc-4.4-locales\
     libgomp1-dbg libmudflap0-dbg libsqlite3-dev libtag1-dev libexpat1-dev libexif-dev libmp4v2-dev libmagic-dev\
     libcurl4-openssl-dev libavcodec-dev libavformat-dev libavutil-dev
    

    2. Configure, make and install:

    ./configure --prefix=/usr 
    make && sudo make install
    
     

Log in to post a comment.