0

Attempting install of simple-mtpfs on a ubuntu machine. I believe I've installed all necessary dependencies as listed at the end of this post. However I am getting while running

sudo make

as

make: *** No targets specified and no makefile found. Stop.

In my working folder I do see makefile.am and makefile.in

Does this error mean my configure was not run correctly? I see no errors when configure is run however I do see a syntax error

../configure: line 4159: syntax error near unexpected token `FUSE,'

//download and extract zip
https://github.com/phatina/simple-mtpfs

//need libmtp
$ sudo apt-get install libmtp-dev

//need to install C compiler
$ sudo apt-get install build-essential
$ sudo apt-get update

//need to install latest fuse
$ sudo apt-get install libfuse-dev


//need to install autoconf
$ sudo apt install autoconf

$ sudo autoreconf -i

$ mkdir build && cd build
$ ../configure
$ sudo make
$ sudo make install
  • You need a generated makefile for make to work. After running ./configure, what is the return status? Check with echo $? – schaiba Dec 30 '16 at 14:56
  • 1
    Even more, the docs say ../configure, not ./configure (note the extra dot). Please check that you're running the commands exactly as described. The docs also say : "If you got the sources from git repository, first you have to run: ./autogen.sh" – schaiba Dec 30 '16 at 15:12
  • yes, running commands exactly as described. Running ./autogen.sh makes no difference – Bachalo Dec 30 '16 at 17:15
0

I needed to first run

sudo apt-get install pkg-config

before running

./autogen.sh
  • .sh, not ,sh – phk Dec 30 '16 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.