Mukota / libfenc

Automatically exported from code.google.com/p/libfenc
Other
0 stars 0 forks source link

Installation :: ./configure failed! #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I run  ./configure ABI=32 --enable-optimized
It occurs that:
.....(omission)
checking lex library... -lfl
checking whether yytext is a pointer... yes
building for 32-bit architecture ONLY!
checking for pow in -lm... no
************************
m library not found
add its path to LDFLAGS
see ./configure --help
************************

It said that m library not found.

I used command whereis to check the location:
root@loccs-ubuntuvm:~/workspace/fenc-0.2.0# whereis libm
libm: /usr/lib/libm.so /usr/lib/libm.a

Then I set LDFLAGS to add the lib path:
root@loccs-ubuntuvm:~/workspace/fenc-0.2.0# ./configure ABI=32 
--enable-optimized LDFLAGS=-L"/usr/lib"

But it still did not work, the same error appeared!

My OS is ubuntu10.10
Source code I used is fenc-0.2.0

Can anyone help? Thank you!

Original issue reported on code.google.com by Shining....@gmail.com on 5 Sep 2012 at 1:31

GoogleCodeExporter commented 8 years ago
Did you resolve this issue? I'm running into the same error (Ubuntu 12.10).

Any suggestions or solutions would be appreciated.

Original comment by michaelg...@gmail.com on 11 Feb 2013 at 9:57

GoogleCodeExporter commented 8 years ago
The following worked for me:-

./configure LDFLAGS=-L"/usr/lib/x86_64-linux-gnu/" --enable-optimized

For some reason (which I didn't bother to investigate) it didn't work if I 
included the API argument

Original comment by ali.saj...@gmail.com on 4 Oct 2013 at 2:06