ARudik / phc

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

Debian etch: phc 0.2.0.3 configure doesn't find Boost 1.38 in /usr/local #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Running Debian Etch

2. Download Boost 1.38, compile, "make install".  This will put Boost
header files in /usr/local/include/boost-1_38, boost directory itself is
/usr/local/include/boost-1_38/boost

3. Run configure in phc-0.2.0.3, says "checking for boostlib >= 1.34.0... 
yes"

4. Run make in phc-0.2.0.3, compilation fails: e.g.
"./src/process_ir/Foreach.h:11:29: error: boost/foreach.hpp: No such file
or directory".  No Boost include path in compilation command: "g++
-DHAVE_CONFIG_H -I. -I./libltdl -I./src -I./3rdparty/getopt
-I./src/generated -isystem/home/jalb/phproot/include/php
-isystem/home/jalb/phproot/include/php/main
-isystem/home/jalb/phproot/include/php/TSRM
-isystem/home/jalb/phproot/include/php/Zend -DDATADIR=\"/usr/local/share\"
-DPKGLIBDIR=\"/usr/local/lib/phc\" -Wall -Wextra -Wno-unused-parameter
-Wno-write-strings -g -O2 -MT AST_annotate.lo -MD -MP -MF
.deps/AST_annotate.Tpo -c src/ast_to_hir/AST_annotate.cpp  -fPIC -DPIC -o
.libs/AST_annotate.o"

What is the expected output? What do you see instead?

phc binaries not produced.

What version of the product are you using? On what operating system?

phc 0.2.0.3, Boost 1.38, under Debian Etch

Please provide any additional information below.

Original issue reported on code.google.com by jean.ala...@gmail.com on 2 Apr 2009 at 10:03

GoogleCodeExporter commented 9 years ago
Thanks for the report.

I believe we've fixed this bug in svn trunk (it looks like the same problem 
described
in http://www.phpcompiler.org/lists/phc-general/2009-February/000921.html). Can 
you
try a checkout and see if it still fails?

Original comment by paul.biggar on 2 Apr 2009 at 6:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks, works fine.

Original comment by jean.ala...@gmail.com on 3 Apr 2009 at 12:04

GoogleCodeExporter commented 9 years ago

Original comment by paul.biggar on 18 Apr 2009 at 11:00