I am trying to build libmtp 1.1.14 but I cannot fix this error

Posted by Kristoffer on Ask Ubuntu See other posts from Ask Ubuntu or by Kristoffer
Published on 2012-08-21T02:50:08Z Indexed on 2012/09/08 15:50 UTC
Read the original article Hit count: 481

Filed under:
|

I have run this in a terminal.

git clone git://libmtp.git.sourceforge.net/gitroot/libmtp/libmtp
cd libmtp
./autogen.sh

(answering yes to all questions)

But when I try to run the ./configure --prefix=/usr/ I get this error:

checking whether to build static libraries... yes

./configure: line 11739: AC_LIB_PREPARE_PREFIX: command not found

./configure: line 11740: AC_LIB_RPATH: command not found

./configure: line 11745: syntax error near unexpected token `iconv'

./configure: line 11745: `      AC_LIB_LINKFLAGS_BODY(iconv)'

I have built and installed the libiconv from here.

I do not know what to do, been trying for a few hours but I am pretty noob to Linux.

How can i fix this?

The lines 11739 to 11745 in the configure file looks like this:

AC_LIB_PREPARE_PREFIX
AC_LIB_RPATH
AC_LIB_LINKFLAGS_BODY(iconv)

© Ask Ubuntu or respective owner

Related posts about compiling

Related posts about mtp