Results 1 to 8 of 8

Thread: configure: error: Missing a vital header file for id3lib

  1. #1
    Join Date
    Jan 2009
    Beans
    328

    configure: error: Missing a vital header file for id3lib

    hello, I met this when I wanting to configure the id3lib-3.8.3 package.
    I saw following sentence in configure.in file:
    ================================================== ===============AC_CHECK_HEADERS( \
    string \
    iomanip.h \
    ,,AC_MSG_ERROR([Missing a vital header file for id3lib])
    )
    ================================================== ===============
    So, it means that I am missing the iomanip.h file.
    To resovlve this, what ever action should I do.
    Any clue would be greatly appreciated.

  2. #2
    Join Date
    Jun 2007
    Beans
    538

    Re: configure: error: Missing a vital header file for id3lib

    There is a file iomanip in C++ headers. It has been a while since C++ dropped the ".h" suffix. Check the documentation in the package you have to see if there are any hints on what version of a C++ compiler to use ?

    regards,
    Gerald

  3. #3
    Join Date
    Jan 2009
    Beans
    328

    Re: configure: error: Missing a vital header file for id3lib

    Quote Originally Posted by geraldm View Post
    There is a file iomanip in C++ headers. It has been a while since C++ dropped the ".h" suffix. Check the documentation in the package you have to see if there are any hints on what version of a C++ compiler to use ?
    Hey, sorry for late reply.
    Thank for your clue. I will try to see if there is any related docs.
    I wonder, if it hints on a previous version of C++ compiler, what should I do. Go back to the earlier version. I am afraid that this could cause further conflicts on otehr applicaton.
    I would try to replace the iomanip.h with iomanip in the configure.in file.
    I am not sure whether would this work.
    Will let you know the result of my try.

  4. #4
    Join Date
    Apr 2007
    Beans
    20

    Re: configure: error: Missing a vital header file for id3lib

    I had the same problems. I ended up removing the iomanip.h condition in the configure file.

    Then I added <string.h> on top of two files - include/id3/id3lib_strings.h and include/id3/writers.h - regarding missing function headers.

    Compiled and installed fine after that.

  5. #5
    Join Date
    Mar 2010
    Beans
    9

    Re: configure: error: Missing a vital header file for id3lib

    This mail comes out quite high on Google, so I think it might be worthwhile to complete the info.

    To compile the original 3.8.3 id3lib package on a gcc/g++ 4.x compiler, I had to apply a patch available here:

    http://connie.slackware.com/~alien/s....8.3_gcc4.diff

    (if not applied, something went terribly wrong during compile. 100's of libtool processes were spawned, slowly grinding the CPU to a halt)

    Thanks for the original data!
    John

  6. #6
    Join Date
    Jul 2008
    Location
    Wilmington, DE
    Beans
    186
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: configure: error: Missing a vital header file for id3lib

    Quote Originally Posted by johncc330 View Post
    This mail comes out quite high on Google, so I think it might be worthwhile to complete the info.

    To compile the original 3.8.3 id3lib package on a gcc/g++ 4.x compiler, I had to apply a patch available here:

    http://connie.slackware.com/~alien/s....8.3_gcc4.diff

    (if not applied, something went terribly wrong during compile. 100's of libtool processes were spawned, slowly grinding the CPU to a halt)

    Thanks for the original data!
    John
    What do you mean you "had apply a patch?" How did you go about doing that?

  7. #7
    Join Date
    Sep 2012
    Beans
    1

    Re: configure: error: Missing a vital header file for id3lib

    Quote Originally Posted by iconoclast hero View Post
    What do you mean you "had apply a patch?" How did you go about doing that?
    Download http://connie.slackware.com/~alien/s....8.3_gcc4.diff and put it in the same directory as the id3lib-3.8.3.tar.gz file. Then...

    tar -xzpvf id3lib-3.8.3.tar.gz
    mv id3lib-3.8.3_gcc4.diff id3lib-3.8.3
    cd id3lib-3.8.3
    patch -p1 < id3lib-3.8.3_gcc4.diff
    ./configure
    make
    make install

  8. #8
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: configure: error: Missing a vital header file for id3lib

    This is an old thread. Closed.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •