Page 1 of 1

Installation error

Posted: 2010-05-07 7:08 pm
by stony_dreams
Hello,

I just downloaded the jscoverage-0.5 and am trying to install it on my linux box. I get this error on the ./configure command:

checking for valid optimization flags... no
configure: error: These compiler flags are invalid: -Os -freorder-blocks -fno-reorder-functions
configure: error: ./configure.gnu failed for js

Any pointers to fix this problem?

Thanks in advance...

Re: Installation error

Posted: 2010-05-07 7:14 pm
by Ed
What distribution of Linux are you running? And what version of gcc is it using?

Re: Installation error

Posted: 2010-05-07 7:19 pm
by stony_dreams
Thanks for the quick response. I have the following config (I admit that this is very old):

gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47)

So is this a version problem? Is there a workaround or some external library that I should install prior to installing jscoverage?

Thanks.

Re: Installation error

Posted: 2010-05-07 7:29 pm
by Ed
I think you will need at least gcc version 3.4 or more recent in order to compile.

Re: Installation error

Posted: 2010-05-07 8:06 pm
by stony_dreams
Thanks for the response!