PDA

View Full Version : make error



masoodstar
March 5th, 2010, 08:33 AM
Dear friends

I encountered an error during lbflow package installation (a scientific one).

The sequence of operations is here with error:

>>./configure --disable-gts
>>sudo make

[sudo] password for amp:
make all-recursive
make[1]: Entering directory `/home/amp/lbflow-1.1'
Making all in src
make[2]: Entering directory `/home/amp/lbflow-1.1/src'
source='lbflow.cpp' object='lbflow-lbflow.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -c -o lbflow-lbflow.o `test -f 'lbflow.cpp' || echo './'`lbflow.cpp
../depcomp: line 432: exec: g++: not found
make[2]: *** [lbflow-lbflow.o] Error 127
make[2]: Leaving directory `/home/amp/lbflow-1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amp/lbflow-1.1'
make: *** [all] Error 2

Do you have any idea to troubleshoot this problem?

Thanks

spinoza666
March 5th, 2010, 10:24 AM
Well I'm certainly no expert on installing from source, but I noticed that it says 'g++ not found' in your error message. Do you you have the necessary compiler installed? I believe it's the g++ or gcc package. Install/reinstall them both and see if it works?

s.fox
March 5th, 2010, 10:26 AM
Hello,

Can you confirm that the g++ package is installed? I believe it is called gcc-c++ in synaptic package manager.

-Silver Fox

masoodstar
March 5th, 2010, 08:27 PM
Thank you all

But I've installed g++-gcc on my machine manually; and my problem already exists.

Is there any failure with my installation that I get this error.

Please tell me another useful solution.

DzmitryG
March 8th, 2010, 07:40 PM
Post there:
http://ubuntuforums.org/forumdisplay.php?f=44