markcox / snappy

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

does not compile on Linux 5.2 gcc4.0.1 #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
dowload snappy tar file.
untar it

and the run configure

it gives error as

"checking whether the c compiler works... no"

Regards,

Nithesh

Original issue reported on code.google.com by nith...@gmail.com on 7 Dec 2011 at 8:21

GoogleCodeExporter commented 9 years ago
What is “Linux 5.2”?

If autoconf declare your C compiler unworkable, it probably has a reason. Check 
config.log and see what it says.

Original comment by se...@google.com on 7 Dec 2011 at 9:10

GoogleCodeExporter commented 9 years ago
Apologies Its Linux RHEL 5.2

and config.log says
configure:3616: gcc BUILD_LEGACY_64_BIT_MODE conftest.c >&5
gcc: BUILD_LEGACY_64_BIT_MODE: No such file or directory

Original comment by nith...@gmail.com on 7 Dec 2011 at 10:34

GoogleCodeExporter commented 9 years ago
You have something wrong in your environment. Snappy does not set 
BUILD_LEGACY_64_BIT_MODE anywhere.

In other words, this is not a Snappy bug; your build environment is broken.

Original comment by se...@google.com on 7 Dec 2011 at 10:41

GoogleCodeExporter commented 9 years ago
can you please suggest a way as how to detect the bug in my environment...

Original comment by nith...@gmail.com on 7 Dec 2011 at 11:19

GoogleCodeExporter commented 9 years ago
If you're running RHEL, presumably you have a support contract with Red Hat, so 
I'd advise contacting them. If not, there's a wide variety of volunteer support 
forums out there.

Original comment by se...@google.com on 7 Dec 2011 at 11:22