Autoconfig, config not installable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Time
    New Member
    • Jan 2010
    • 77

    Autoconfig, config not installable

    Hi,
    I have to install and run some files of USB/IP., to see its working and later make changes in it..its an open source project developed by hirofuchi.
    The point is:
    I have downloaded the source code..but unable to compile it.getting n no. of errors.
    These are some of the contents of readme given in src folder of that complete package having code.
    Code:
    [Install]
        0. Skip here if you see a configure script.
            $ ./autogen.sh
    
        1. Compile & install.
            $ ./configure
            $ make install
    
        2. Compile & install USB/IP drivers if not yet.
    There is one file named autogen.sh in src folder which i have to open as given in first instruction.
    i went til that file by using multiple cd.
    but when i write that command this comes:
    Code:
    + autoreconf -i -f -v
    ./autogen.sh: 1: autoreconf: not found
    so when i tried installing the needed package,this comes:
    command written by me:
    Code:
    sudo apt-get install autoconf
    response:
    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package autoconf is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package autoconf has no installation candidate
    There is another file called install, some of its contents are:
    Code:
    The simplest way to compile this package is:
    
      1. `cd' to the directory containing the package's source code and type
         `./configure' to configure the package for your system.
    
         Running `configure' might take a while.  While running, it prints
         some messages telling which features it is checking for.
    there is a file called configure.ac in src
    which is not getting opened either!
    by ./configure command and ./configure --help is also not working.
  • Time
    New Member
    • Jan 2010
    • 77

    #2
    I upgraded the system; with download manager.
    So i could install autoconf now.
    by same
    sudo apt-get install autoconf
    command
    but there are some errors in that downloaded version.
    after running the same command again
    ./autoconfig.sh
    there are some errors in the downloaded autoconf as follows:
    ~/usbip-0.1.7/src$ ./autogen.sh
    + autoreconf -i -f -v
    Can't exec "libtoolize ": No such file or directory at /usr/bin/autoreconf line 188.
    Use of uninitialized value $libtoolize in pattern match (m//) at /usr/bin/autoreconf line 188.
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf --force
    configure.ac:17 : error: possibly undefined macro: AC_PROG_LIBTOOL
    If this token and others are legitimate, please use m4_pattern_allo w.
    See the Autoconf documentation.
    autoreconf: /usr/bin/autoconf failed with exit status:
    1

    Comment

    • Time
      New Member
      • Jan 2010
      • 77

      #3
      I installed libtool as well.
      but still autogen.sh is not opening.
      Am getting following error:
      Code:
      autoreconf: Entering directory `.'
      autoreconf: configure.ac: not using Gettext
      autoreconf: running: aclocal --force 
      autoreconf: configure.ac: tracing
      autoreconf: running: libtoolize --install --copy --force
      libtoolize: putting auxiliary files in `.'.
      libtoolize: copying file `./config.guess'
      libtoolize: copying file `./config.sub'
      libtoolize: copying file `./install-sh'
      libtoolize: copying file `./ltmain.sh'
      libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
      libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
      libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
      autoreconf: running: /usr/bin/autoconf --force
      autoreconf: running: /usr/bin/autoheader --force
      autoreconf: running: automake --add-missing --copy --force-missing
      autoreconf: Leaving directory `.'
      please reply.

      Comment

      • Time
        New Member
        • Jan 2010
        • 77

        #4
        Common people, your colleague has provided you a great opportunity to help someone. Utilize this chance and reply to the thread.

        Comment

        • Time
          New Member
          • Jan 2010
          • 77

          #5
          Sorry guys this is not any error in automake as i thought it was.
          Actually its one of the options of automake --add-missing adds the missing common files in a package needed by the command itself.
          But am still not sure is that working fine or not.,i'll let you know.

          Comment

          Working...