jiaxibei2008 / mitlm

Automatically exported from code.google.com/p/mitlm
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

libtool: compile: unrecognized option `-c' #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It seems that the make is trying to use a libtool option that does not exist. 
What can I do to fix it?

What steps will reproduce the problem?
1. type: ./autogen.sh --prefix=$(pwd)/usr
2. type: make

What is the expected output? What do you see instead?
This should successfully make the program.

What version of the product are you using? On what operating system?
Revision 48

Please provide any additional information below.

Here is the exact bug in the make process:
/bin/bash ./libtool --tag=F77   --mode=compile    -c -o src/optimize/lbfgs.lo 
src/optimize/lbfgs.f
libtool: compile: unrecognized option `-c'
libtool: compile: Try `libtool --help' for more information.
make[1]: *** [src/optimize/lbfgs.lo] Error 1
make[1]: Leaving directory `/home/myname/workspace/sphinx/mitlm/mitlm-read-only'
make: *** [all-recursive] Error 1

Original issue reported on code.google.com by lylepr...@gmail.com on 13 Jul 2011 at 8:44

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I installed gfortran and this issue went away.

Original comment by lylepr...@gmail.com on 14 Jul 2011 at 4:47

GoogleCodeExporter commented 8 years ago
Try to install "fort77" package, in Ubuntu, and make clean && ./configure && 
make
I did it and worked for me.

Original comment by TK.AnjoA...@gmail.com on 24 Sep 2011 at 8:19

GoogleCodeExporter commented 8 years ago

Original comment by giuliop...@gmail.com on 30 Jan 2013 at 2:43