pbiggar / phc

A compiler for PHP
132 stars 37 forks source link

Unable to compile on Fedora 11 x86_64 #129

Open pbiggar opened 9 years ago

pbiggar commented 9 years ago
What steps will reproduce the problem?
1. Run ./configure 
2. Run ./configure --with-boost=no

What is the expected output? What do you see instead?
Case 1. 
configure: error: We could not detect the boost libraries (version 1.34 or 
higher). If you have a staged boost library (still not installed) please 
specify $BOOST_ROOT in your environment and do not give a PATH to --with-
boost option.  If you are sure you have boost installed, then check your 
version number looking in <boost/version.hpp>. See 
http://randspringer.de/boost for more documentation.

Case 2. 
checking whether compiler supports covariant returns... configure: error: 
use g++ >3.4

What version of the product are you using? On what operating system?
phc-0.2.0.3
php-5.2.12
boost-1.37.0-7.fc11.x86_64
gcc-4.4.1-2.fc11.x86_64
Fedora 11 x86_64

Please provide any additional information below.
Case 1.
Following the troubleshooting steps for the Boost library does not work. 
Boost is installed in /usr/includes/boost with libraries in /usr/lib64. 
Neither specifying the path in --with-boost nor setting the BOOST_PATH 
environment variables correct the problem.

Case 2.
Although g++ version is 4.4.1, error message instructs me to use g++ 
version >3.4.

Original issue reported on code.google.com by ryandenki on 2010-02-09 09:13:10

pbiggar commented 9 years ago
I'm not sure if this will solve the problem, but you would be better off trying the
SVN version. It is better is every way than 0.2.0.3.

Original issue reported on code.google.com by paul.biggar on 2010-02-09 09:23:30

pbiggar commented 9 years ago
Same problem here, same errors on Fedora 12, i386. 

Original issue reported on code.google.com by Metal3d on 2010-08-03 17:13:22

pbiggar commented 9 years ago
We use boost, so you can't use --with-boost=no. Try --with-boost=DIR_WHERE_BOOST_INSTALLED.

Original issue reported on code.google.com by paul.biggar on 2010-09-22 05:07:43

pbiggar commented 9 years ago
Already tried, same error

Original issue reported on code.google.com by Metal3d on 2010-09-22 12:29:49

pbiggar commented 9 years ago
Can you post your config.log?

Original issue reported on code.google.com by paul.biggar on 2010-09-22 15:59:38