Skip to content

Unable to build casocklib -problem with boost include files #3

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Build casocklib as per the instructions in mkstuff.sh.
2.
3.

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

This is the make error that I see:

make[6]: Entering directory 
`/home/user/root/casocklib/src/casock/proactor/asio/base'
/bin/sh ../../../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I../../../../.. -I../../../../../src -I/usr/local/protobuf-2.3.0/include 
-I/usr/local/boost_1_42_0/include -I/usr/local/gflags-1.3/include 
-I/usr/local/glog-0.3.0/include -I/usr/local/gtest-1.5.0/include 
-I/usr/local/gmock-1.5.0/include  -g -Wall -O -Wno-write-strings -D_REENTRANT 
-I/usr/local/cxxtest-3.10.1/cxxtest   -MT AsyncProcessor.lo -MD -MP -MF 
.deps/AsyncProcessor.Tpo -c -o AsyncProcessor.lo AsyncProcessor.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../../.. 
-I../../../../../src -I/usr/local/protobuf-2.3.0/include 
-I/usr/local/boost_1_42_0/include -I/usr/local/gflags-1.3/include 
-I/usr/local/glog-0.3.0/include -I/usr/local/gtest-1.5.0/include 
-I/usr/local/gmock-1.5.0/include -g -Wall -O -Wno-write-strings -D_REENTRANT 
-I/usr/local/cxxtest-3.10.1/cxxtest -MT AsyncProcessor.lo -MD -MP -MF 
.deps/AsyncProcessor.Tpo -c AsyncProcessor.cc  -fPIC -DPIC -o 
.libs/AsyncProcessor.o
In file included from AsyncProcessor.cc:33:
../../../../../src/casock/proactor/asio/base/AsyncProcessor.h:36:20: error: 
asio.hpp: No such file or directory

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

I am build on RedHad linux 5.
I'm sorry but I don't know what version of casocklib I'm using. The source 
files were checked out from source control on about 10/25/10 (I think).

Please provide any additional information below.

configure.as has the wrong structure for the boost header files.
Here is what is in configure.ac:

DIB_BOOST=/usr/local/bost_1_42_0
DIR_BOOST_LIB_DEFAULT=$DIR_BOOST/lib DIR_BOOST_INC_DEFAULT=$DIR_BOOST/include 

The 1.42 version of boost does not have include or lib folders.
In the 1.42 version of boost the include files are in "boost" and libs are in 
"libs" folder.


Original issue reported on code.google.com by williama...@gmail.com on 28 Oct 2010 at 9:46

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions