Menu

#76 Error when trying to compile mp3splt-gtk

v1.0_(example)
open
nobody
None
1
2015-06-23
2014-12-25
Anonymous
No

Hello,

I've compiled and installed libmp3splt on fedora 21 but when I want to execute ./configure for mp3splt or mp3splt-gtk, the libs for libmp3splt cannot be found.

configure: error: libmp3splt version 0.9.0 needed :

Download the latest version of libmp3splt at http://mp3splt.sourceforge.net/

Where do I can install the libs ?

Thanks,

Dominique

Discussion

  • Munteanu Alexandru

    Hi,

    Sorry for the late reply ...
    I'm not sure that my message will help after all this time, but if you give me the config.log file it might help.
    Also the output of "make install" of mp3pslt could help.

    --
    Alex

     
  • Anonymous

    Anonymous - 2015-06-14

    Same here, i downloaded all latest files from the site. started with the libs went smooth. next was mp3splt, same error as above, here is my config.log:

    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by mp3splt configure 2.6.2, which was
    generated by GNU Autoconf 2.69. Invocation command line was

    $ ./configure

    ---------

    Platform.

    ---------

    hostname = mucker
    uname -m = x86_64
    uname -r = 3.19.4-1-CHAKRA
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Mon Apr 13 18:25:23 UTC 2015

    /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/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/local/sbin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/bin/vendor_perl
    PATH: /usr/bin/core_perl

    -----------

    Core tests.

    -----------

    configure:2275: checking for a BSD-compatible install
    configure:2343: result: /usr/bin/install -c
    configure:2354: checking whether build environment is sane
    configure:2409: result: yes
    configure:2447: WARNING: 'missing' script is too old or missing
    configure:2560: checking for a thread-safe mkdir -p
    configure:2599: result: /usr/bin/mkdir -p
    configure:2606: checking for gawk
    configure:2622: found /usr/bin/gawk
    configure:2633: result: gawk
    configure:2644: checking whether make sets $(MAKE)
    configure:2666: result: yes
    configure:2695: checking whether make supports nested variables
    configure:2712: result: yes
    configure:2841: checking whether to enable maintainer-specific portions of Makefiles
    configure:2850: result: yes
    configure:2916: checking for gcc
    configure:2932: found /usr/bin/gcc
    configure:2943: result: gcc
    configure:3172: checking for C compiler version
    configure:3181: gcc --version >&5
    gcc (GCC) 4.9.1 20140903 (prerelease)
    Copyright (C) 2014 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    configure:3192: $? = 0
    configure:3181: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /chakra/core-testing/gcc/src//gcc-4.9-20140903/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://chakraos.org/bugtracker --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-isl-version-check --disable-cloog-version-check --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --disable-multilib --disable-werror --enable-checking=release
    Thread model: posix
    gcc version 4.9.1 20140903 (prerelease) (GCC)
    configure:3192: $? = 0
    configure:3181: gcc -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3192: $? = 1
    configure:3181: gcc -qversion >&5
    gcc: error: unrecognized command line option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3192: $? = 1
    configure:3212: checking whether the C compiler works
    configure:3234: gcc conftest.c >&5
    configure:3238: $? = 0
    configure:3286: result: yes
    configure:3289: checking for C compiler default output file name
    configure:3291: result: a.out
    configure:3297: checking for suffix of executables
    configure:3304: gcc -o conftest conftest.c >&5
    configure:3308: $? = 0
    configure:3330: result:
    configure:3352: checking whether we are cross compiling
    configure:3360: gcc -o conftest conftest.c >&5
    configure:3364: $? = 0
    configure:3371: ./conftest
    configure:3375: $? = 0
    configure:3390: result: no
    configure:3395: checking for suffix of object files
    configure:3417: gcc -c conftest.c >&5
    configure:3421: $? = 0
    configure:3442: result: o
    configure:3446: checking whether we are using the GNU C compiler
    configure:3465: gcc -c conftest.c >&5
    configure:3465: $? = 0
    configure:3474: result: yes
    configure:3483: checking whether gcc accepts -g
    configure:3503: gcc -c -g conftest.c >&5
    configure:3503: $? = 0
    configure:3544: result: yes
    configure:3561: checking for gcc option to accept ISO C89
    configure:3624: gcc -c -g -O2 conftest.c >&5
    configure:3624: $? = 0
    configure:3637: result: none needed
    configure:3662: checking whether gcc understands -c and -o together
    configure:3684: gcc -c conftest.c -o conftest2.o
    configure:3687: $? = 0
    configure:3684: gcc -c conftest.c -o conftest2.o
    configure:3687: $? = 0
    configure:3699: result: yes
    configure:3727: checking for style of include used by make
    configure:3755: result: GNU
    configure:3781: checking dependency style of gcc
    configure:3892: result: gcc3
    configure:3908: checking whether ln -s works
    configure:3912: result: yes
    configure:3926: checking how to run the C preprocessor
    configure:3957: gcc -E conftest.c
    configure:3957: $? = 0
    configure:3971: gcc -E conftest.c
    conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
    #include <ac_nonexistent.h>
    ^
    compilation terminated.
    configure:3971: $? = 1
    configure: failed program was:
    | / confdefs.h /
    | #define PACKAGE_NAME "mp3splt"
    | #define PACKAGE_TARNAME "mp3splt"
    | #define PACKAGE_VERSION "2.6.2"
    | #define PACKAGE_STRING "mp3splt 2.6.2"
    | #define PACKAGE_BUGREPORT "mtrotta@users.sourceforge.net"
    | #define PACKAGE_URL ""
    | #define PACKAGE "mp3splt"
    | #define VERSION "2.6.2"
    | / end confdefs.h. /
    | #include <ac_nonexistent.h>
    configure:3996: result: gcc -E
    configure:4016: gcc -E conftest.c
    configure:4016: $? = 0
    configure:4030: gcc -E conftest.c
    conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
    #include <ac_nonexistent.h>
    ^
    compilation terminated.
    configure:4030: $? = 1
    configure: failed program was:
    | / confdefs.h /
    | #define PACKAGE_NAME "mp3splt"
    | #define PACKAGE_TARNAME "mp3splt"
    | #define PACKAGE_VERSION "2.6.2"
    | #define PACKAGE_STRING "mp3splt 2.6.2"
    | #define PACKAGE_BUGREPORT "mtrotta@users.sourceforge.net"
    | #define PACKAGE_URL ""
    | #define PACKAGE "mp3splt"
    | #define VERSION "2.6.2"
    | / end confdefs.h. /
    | #include <ac_nonexistent.h>
    configure:4059: checking for grep that handles long lines and -e
    configure:4117: result: /usr/bin/grep
    configure:4122: checking for egrep
    configure:4184: result: /usr/bin/grep -E
    configure:4189: checking for ANSI C header files
    configure:4209: gcc -c -g -O2 conftest.c >&5
    configure:4209: $? = 0
    configure:4282: gcc -o conftest -g -O2 conftest.c >&5
    configure:4282: $? = 0
    configure:4282: ./conftest
    configure:4282: $? = 0
    configure:4293: result: yes
    configure:4306: checking for sys/types.h
    configure:4306: gcc -c -g -O2 conftest.c >&5
    configure:4306: $? = 0
    configure:4306: result: yes
    configure:4306: checking for sys/stat.h
    configure:4306: gcc -c -g -O2 conftest.c >&5
    configure:4306: $? = 0
    configure:4306: result: yes
    configure:4306: checking for stdlib.h
    configure:4306: gcc -c -g -O2 conftest.c >&5
    configure:4306: $? = 0
    configure:4306: result: yes
    configure:4306: checking for string.h
    configure:4306: gcc -c -g -O2 conftest.c >&5
    configure:4306: $? = 0
    configure:4306: result: yes
    configure:4306: checking for memory.h
    configure:4306: gcc -c -g -O2 conftest.c >&5
    configure:4306: $? = 0
    configure:4306: result: yes
    configure:4306: checking for strings.h
    configure:4306: gcc -c -g -O2 conftest.c >&5
    configure:4306: $? = 0
    configure:4306: result: yes
    configure:4306: checking for inttypes.h
    configure:4306: gcc -c -g -O2 conftest.c >&5
    configure:4306: $? = 0
    configure:4306: result: yes
    configure:4306: checking for stdint.h
    configure:4306: gcc -c -g -O2 conftest.c >&5
    configure:4306: $? = 0
    configure:4306: result: yes
    configure:4306: checking for unistd.h
    configure:4306: gcc -c -g -O2 conftest.c >&5
    configure:4306: $? = 0
    configure:4306: result: yes
    configure:4320: checking for unistd.h
    configure:4320: result: yes
    configure:4344: checking whether NLS is requested
    configure:4353: result: yes
    configure:4391: checking for msgfmt
    configure:4422: result: /usr/bin/msgfmt
    configure:4431: checking for gmsgfmt
    configure:4462: result: /usr/bin/msgfmt
    configure:4502: checking for xgettext
    configure:4533: result: /usr/bin/xgettext
    configure:4573: checking for msgmerge
    configure:4603: result: /usr/bin/msgmerge
    configure:4658: checking build system type
    configure:4672: result: x86_64-unknown-linux-gnu
    configure:4692: checking host system type
    configure:4705: result: x86_64-unknown-linux-gnu
    configure:4749: checking for ld used by GCC
    configure:4813: result: /usr/bin/ld
    configure:4820: checking if the linker (/usr/bin/ld) is GNU ld
    configure:4833: result: yes
    configure:4839: checking for shared library run path origin
    configure:4852: result: done
    configure:5268: checking whether NLS is requested
    configure:5277: result: yes
    configure:5295: checking for GNU gettext in libc
    configure:5314: gcc -o conftest -g -O2 conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:29:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
    ^
    configure:5314: $? = 0
    configure:5322: result: yes
    configure:5902: checking whether to use NLS
    configure:5904: result: yes
    configure:5907: checking where the gettext function comes from
    configure:5918: result: libc
    configure:5989: checking for getline
    configure:5989: gcc -o conftest -g -O2 conftest.c >&5
    configure:5989: $? = 0
    configure:5989: result: yes
    configure:6011: checking the host
    configure:6046: result: Linux-based system
    configure:6106: checking for pkg-config
    configure:6124: found /usr/bin/pkg-config
    configure:6136: result: /usr/bin/pkg-config
    configure:6161: checking pkg-config is at least version 0.9.0
    configure:6164: result: yes
    configure:6174: checking for LIBMP3SPLT
    configure:6181: $PKG_CONFIG --exists --print-errors "libmp3splt = 0.9.2"
    Package libmp3splt was not found in the pkg-config search path.
    Perhaps you should add the directory containing libmp3splt.pc' to the PKG_CONFIG_PATH environment variable No package 'libmp3splt' found configure:6184: $? = 1 configure:6198: $PKG_CONFIG --exists --print-errors "libmp3splt = 0.9.2" Package libmp3splt was not found in the pkg-config search path. Perhaps you should add the directory containinglibmp3splt.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libmp3splt' found
    configure:6201: $? = 1
    configure:6215: result: no
    No package 'libmp3splt' found
    configure:6231: error: libmp3splt version 0.9.2 needed :

    Download the latest version of libmp3splt at http://mp3splt.sourceforge.net/

    ----------------

    Cache variables.

    ----------------

    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_c_compiler_gnu=yes
    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_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_LIBMP3SPLT_CFLAGS_set=
    ac_cv_env_LIBMP3SPLT_CFLAGS_value=
    ac_cv_env_LIBMP3SPLT_LIBS_set=
    ac_cv_env_LIBMP3SPLT_LIBS_value=
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_PKG_CONFIG_LIBDIR_set=
    ac_cv_env_PKG_CONFIG_LIBDIR_value=
    ac_cv_env_PKG_CONFIG_PATH_set=
    ac_cv_env_PKG_CONFIG_PATH_value=
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_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_func_getline=yes
    ac_cv_header_inttypes_h=yes
    ac_cv_header_memory_h=yes
    ac_cv_header_stdc=yes
    ac_cv_header_stdint_h=yes
    ac_cv_header_stdlib_h=yes
    ac_cv_header_string_h=yes
    ac_cv_header_strings_h=yes
    ac_cv_header_sys_stat_h=yes
    ac_cv_header_sys_types_h=yes
    ac_cv_header_unistd_h=yes
    ac_cv_host=x86_64-unknown-linux-gnu
    ac_cv_objext=o
    ac_cv_path_EGREP='/usr/bin/grep -E'
    ac_cv_path_GMSGFMT=/usr/bin/msgfmt
    ac_cv_path_GREP=/usr/bin/grep
    ac_cv_path_MSGFMT=/usr/bin/msgfmt
    ac_cv_path_MSGMERGE=/usr/bin/msgmerge
    ac_cv_path_XGETTEXT=/usr/bin/xgettext
    ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_mkdir=/usr/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CPP='gcc -E'
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_cc_c89=
    ac_cv_prog_cc_g=yes
    ac_cv_prog_make_make_set=yes
    acl_cv_hardcode_direct=no
    acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    acl_cv_hardcode_libdir_separator=
    acl_cv_hardcode_minus_L=no
    acl_cv_libext=a
    acl_cv_path_LD=/usr/bin/ld
    acl_cv_prog_gnu_ld=yes
    acl_cv_rpath=done
    acl_cv_shlibext=so
    acl_cv_wl=-Wl,
    am_cv_CC_dependencies_compiler_type=gcc3
    am_cv_make_support_nested_variables=yes
    am_cv_prog_cc_c_o=yes
    gt_cv_func_gnugettext1_libc=yes

    -----------------

    Output variables.

    -----------------

    ACLOCAL='aclocal-1.14'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    AM_BACKSLASH='\'
    AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
    AM_DEFAULT_VERBOSITY='1'
    AM_V='$(V)'
    AUTOCONF='autoconf'
    AUTOHEADER='autoheader'
    AUTOMAKE='automake-1.14'
    AWK='gawk'
    CC='gcc'
    CCDEPMODE='depmode=gcc3'
    CFLAGS='-g -O2'
    CPP='gcc -E'
    CPPFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR='.deps'
    DO_FLAC_SYMLINK_FALSE=''
    DO_FLAC_SYMLINK_TRUE=''
    DO_OGG_SYMLINK_FALSE=''
    DO_OGG_SYMLINK_TRUE=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP='/usr/bin/grep -E'
    EXEEXT=''
    GMSGFMT='/usr/bin/msgfmt'
    GREP='/usr/bin/grep'
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INTLLIBS=''
    LDFLAGS=''
    LIBICONV='-liconv'
    LIBINTL=''
    LIBMP3SPLT_CFLAGS=''
    LIBMP3SPLT_LIBS=''
    LIBOBJS=''
    LIBS=''
    LN_S='ln -s'
    LTLIBICONV='-liconv'
    LTLIBINTL=''
    LTLIBOBJS=''
    MAINT=''
    MAINTAINER_MODE_FALSE='#'
    MAINTAINER_MODE_TRUE=''
    MAKEINFO='makeinfo'
    MKDIR_P='/usr/bin/mkdir -p'
    MKINSTALLDIRS='$(top_builddir)/./mkinstalldirs'
    MSGFMT='/usr/bin/msgfmt'
    MSGMERGE='/usr/bin/msgmerge'
    OBJEXT='o'
    PACKAGE='mp3splt'
    PACKAGE_BUGREPORT='mtrotta@users.sourceforge.net'
    PACKAGE_NAME='mp3splt'
    PACKAGE_STRING='mp3splt 2.6.2'
    PACKAGE_TARNAME='mp3splt'
    PACKAGE_URL=''
    PACKAGE_VERSION='2.6.2'
    PATH_SEPARATOR=':'
    PKG_CONFIG='/usr/bin/pkg-config'
    PKG_CONFIG_LIBDIR=''
    PKG_CONFIG_PATH=''
    POSUB='po'
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP=''
    USE_NLS='yes'
    VERSION='2.6.2'
    WIN32_FALSE=''
    WIN32_TRUE='#'
    XGETTEXT='/usr/bin/xgettext'
    ac_ct_CC='gcc'
    amEXEEXT_FALSE=''
    am
    EXEEXT_TRUE=''
    amfastdepCC_FALSE='#'
    am
    fastdepCC_TRUE=''
    aminclude='include'
    am
    isrc=''
    amleading_dot='.'
    am
    nodep='_no'
    amquote=''
    am
    tar='$${TAR-tar} chof - "$$tardir"'
    am__untar='$${TAR-tar} xf -'
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias=''
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='x86_64-unknown-linux-gnu'
    host_alias=''
    host_cpu='x86_64'
    host_os='linux-gnu'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /home/mucker/Downloads/mp3splt-2.6.2/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='$(MKDIR_P)'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='NONE'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

    -----------

    confdefs.h.

    -----------

    / confdefs.h /

    define PACKAGE_NAME "mp3splt"

    define PACKAGE_TARNAME "mp3splt"

    define PACKAGE_VERSION "2.6.2"

    define PACKAGE_STRING "mp3splt 2.6.2"

    define PACKAGE_BUGREPORT "mtrotta@users.sourceforge.net"

    define PACKAGE_URL ""

    define PACKAGE "mp3splt"

    define VERSION "2.6.2"

    define STDC_HEADERS 1

    define HAVE_SYS_TYPES_H 1

    define HAVE_SYS_STAT_H 1

    define HAVE_STDLIB_H 1

    define HAVE_STRING_H 1

    define HAVE_MEMORY_H 1

    define HAVE_STRINGS_H 1

    define HAVE_INTTYPES_H 1

    define HAVE_STDINT_H 1

    define HAVE_UNISTD_H 1

    define HAVE_UNISTD_H 1

    define ENABLE_NLS 1

    define HAVE_GETTEXT 1

    define HAVE_DCGETTEXT 1

    define LIBMP3SPLT_WITH_SONAME "libmp3splt0"

    define HAVE_GETLINE 1

    configure: exit 1

     
  • Munteanu Alexandru

    Maybe you need to set the PKG_CONFIG_PATH variable to point to the directory where libmp3splt has installed libmp3splt.pc, as the message says:

      Perhaps you should add the directory containing libmp3splt.pc' to the PKG_CONFIG_PATH environment variable