Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i want to compile changes i made to a project created with automake.

I changed my files accordingly and ran


make finally gives me the error:

make[2]: Betrete Verzeichnis '/home/dino/workspace/ba/sharp-1.0/src'
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -      I../include -I../include/sharp -ansi --pedantic-error -Wall   -g -O2 -MT Global.lo -MD -   MP -MF .deps/Global.Tpo -c -o Global.lo `test -f './Global.cpp' || echo './'`./Global.cpp
../libtool: line 2090: ./Global.cpp: Permission denied
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/sharp -ansi     --pedantic-error -Wall -g -O2 -MT Global.lo -MD -MP -MF .deps/Global.Tpo -c ""  -fPIC -  DPIC -o .libs/Global.o
g++: error: : No such file or directory
g++: fatal error: no input files
compilation terminated.

The command above doesn't work on any source file. So i imagined it could only be my automake that broke the project.

share|improve this question
Finally I figured it out, i had my automake and the libtool version of the project were incompatible. Building the configuration with my local automake and replacing the libtool of the project with my local libtool solved the issue. – dino Jul 12 '12 at 17:27

Whenever I come across an issue like this, its due to not using the sudo prefix.

sudo ./
sudo ./
sudo make

What the problem is you as a user don't have permission to use whatever file is required, and the make process is cancelled. Executing as sudo solves the issue.

share|improve this answer
Hi, thank you for your advice, but executing the commands as sudo doesn't solve the issue, i already checked all permissions and ran the commands as superuser too, but it didn't help. – dino Jul 12 '12 at 16:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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