Closed pbiggar closed 8 years ago
Please, can someone help me?
Thank you
Original issue reported on code.google.com by methodxjp@yahoo.fr
on 2013-12-17 10:05:18
Hi,
I am seeing this issue also with php 5.5.8, centos 6.5 and phc-0.3.0.1.
All deps are installed.
If anyone has any advice here that would be much appreciated.
Original issue reported on code.google.com by rick@rick-walker.co.uk
on 2014-02-12 12:18:56
Rolling back to the 32bit version solved this for me.
yum install boost-regex.i686
Original issue reported on code.google.com by rick@rick-walker.co.uk
on 2014-02-12 12:24:07
I just encountered this same problem, and your tip in installing 32bit boost-regext
helped! Thank you!
Original issue reported on code.google.com by nyamul
on 2014-08-12 08:16:34
I cannot get this to compile either. I use Ubuntu 14.04.2 LTS in both 32-bit and 64-bit variants, and on both systems, I get the exact same error as above after I compiled php with SAPI support to /opt. I tried both the last tarball I could find (0.3.0.1) and the current github repository, with the same result.
If I just type "./configure", the script fails with
checking for boostlib >= 1.35.0... yes
checking whether the Boost::Regex library is available... yes
configure: error: Could not find a version of the Boost::Regex library!
which is not very helpful as he claims to both have found and missed out on the boost-regex libary (which of course is installed)
If I type "./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu/" (which is the path to the boost libs) instead, I get:
configure: WARNING:
*******************************************************************************
* It seems the PHP embed SAPI has not been installed. *
* *
* You will be able to compile and run phc, but you will not be able to *
* compile PHP scripts with phc. *
* *
* To install the PHP embed SAPI, follow the PHP installation instructions, *
* but make sure to pass the --enable-embed option to the PHP configure *
* script. *
*******************************************************************************
which seems reasonable as the script is detecting the ubuntu-installed, non-SAPI version of php in the default path. So, I try "./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu/ --with-php=/opt" (php is installed under /opt, the SAPI-enabled php binary is located at /opt/bin/php). This provides me with the above error:
checking for boostlib >= 1.35.0... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... no
checking for exit in -lboost_regex... (cached) no
checking for exit in -lboost_regex... (cached) no
configure: error: Could not link against boost_regex !
and nothing left to try.
What am I doing wrong? Doesn't this work anymore? I need a way to build executables from PHP scripts, and hiphop doesn't seem to do that anymore, either. :-(
Not a single reply in more than two weeks - this project is dead, right? :-(
Yeah, unfortunately :(
Could you please let me know as to what is the latest version of PHP that works well with the latest version of PHC?
PHP 5.2 definitely worked, though I think I recall PHP 5.3 working as well, and maybe PHP 5.4.
I've a same problem. Maybe create a docker image for phc?
Fixed on master.
Original issue reported on code.google.com by
methodxjp@yahoo.fr
on 2013-12-16 23:09:19