I'm installing lenstool on a 11.10 ubuntu computer. I already have installed it on my 12.04 laptop and , although after a lot of struggling, it worked. But this time I am getting a weird error. First I run ./configure and then I should run make. When I do that it runs to some point and then returns a couple of a errors just like this. and of course it doesn't install:
fPIC -w -O3 -fno-automatic -finit-local-zero --fixed-line-length-none -c -o histogram.o histogram.f /bin/bash: fPIC: command not found
make: [histogram.o] Error 127 (ignored)
I'm not sure if it's relevant but on this machine I have gcc 4.6.1 and 4.4.6( I tryed setting both as the default compiler, neither worked ) but on my laptop I have 4.6.3
I'm not sure what the problem was but I searched and found the makefile that was returning the error and replaced it with the one that worked on my laptop and it compiled.