pbiggar / phc

A compiler for PHP
132 stars 37 forks source link

./configure fails #164

Closed pbiggar closed 8 years ago

pbiggar commented 9 years ago
What steps will reproduce the problem?
1. untar the download
2. run ./configure

What is the expected output? What do you see instead?
Expected it to complete without errors.
What it said instead was (complete output of ./configure & config.log is attached):
configure: error: in `/usr/src/phcsvn-20140812':
configure: error: libgc required
See `config.log' for more details

What version of the product are you using? On what operating system?
phc:  phc-svn (the tarball download also gives the same error)
OS:  CentOS 6.5

Please provide any additional information below.
Initially, the error was about boost-regex, similar to but #154 which was solved when
I installed the 32bit boost-regex (side by side to the existing x86_64) as suggested
in that bug post.  That removed the error, but now ./configure is giving this error.

Original issue reported on code.google.com by nyamul on 2014-08-12 09:31:33


pbiggar commented 8 years ago

You need either to link to the Boehm gc collector (libgc on linux, boehmgc in homebrew) or use --disable-gc.