troubleshooting Question

Cannot compile Google RE2 on Solaris

Avatar of bejhan
bejhan asked on
Unix OSC++
11 Comments2 Solutions734 ViewsLast Modified:
I want to use Google's regular expression library, RE2 (http://code.google.com/p/re2/). But I can't get it to compile on Solaris. However, I have got it to compile on a generic linux (which has an older GCC) so I'm not sure what the problem is.

On the installation instructions (http://code.google.com/p/re2/wiki/Install) it says to use gmake which spits out some random error:
/bin/sh: syntax error at line 1: `(' unexpected
gmake: *** [obj/dbg/util/arena.o] Error 2

I have tried regular make, but it doesn't like the Makefile.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros