Hi,

I'm not sure if your cmake command is correct.  It should look something
like this:

cmake <options> <source-dir>

Is /home/prafulla/sw/hypertable the toplevel source directory?  Typically,
have things laid out like this:

Toplevel source directory:
~/src/hypertable

Release build directory:
~/build/hypertable/release

Debug build directory:
~/build/hypertable/debug

To configure and make a debug build, I run the following commands:

cd ~/build/hypertable/debug
cmake -DTHRIFT_SOURCE_DIR=/usr/src/thrift ~/src/hypertable
make -j 8 install

That will install the software under /opt/hypertable.  If you want to
install it in a different directory such as /home/prafulla/sw/hypertable,
you would replace the cmake command with this:

cmake -DTHRIFT_SOURCE_DIR=/usr/src/thrift -DCMAKE_INSTALL_PREFIX=/home/
prafulla/sw/hypertable ~/src/hypertable

You should keep the source directory, build directory, and install
directory separate from one another.

- Doug


On Fri, Aug 16, 2013 at 11:00 PM, Prafulla T <[email protected]> wrote:

> Hi,
>
> I am trying to build hypertable on ubuntu 12.04. I installed dependency by
> executing bin/src-utils/build-setup-debian.sh
> Now after that, I followed following steps
>
> Current directory : hypertable cloned from github
> mkdir build
> cd build;
> cmake -DCMAKE_INSTALL_PREFIX=/home/prafulla/sw/hypertable
> -DCMAKE_BUILD_TYPE="Debug" /home/prafulla/sw/hypertable
>
> This gives multiple errors such as
>
> CMake Error: Could not open file for write in copy operation
> /src/cc/Common/failure_inducer_test.golden.tmp
>
> CMake Error: : System Error: No such file or
> directory
>
> CMake Error at cc/Common/CMakeLists.txt:162
> (configure_file):
>
>   configure_file Problem configuring
> file
>
>
>
>
>
> CMake Error: Could not open file for write in copy operation
> /src/cc/Common/Version.h.tmp
>
> CMake Error: : System Error: No such file or
> directory
>
> CMake Error at cc/Common/CMakeLists.txt:187
> (configure_file):
>
>   configure_file Problem configuring
> file
>
>
>
>
>
> CMake Error at cc/Common/CMakeLists.txt:188
> (configure_file):
>
>   configure_file Problem configuring
> file
>
>
>
>
>
> CMake Error: Could not open file for write in copy operation
> /src/cc/HyperAppHelper/hypertable.cfg.tmp
>
> CMake Error: : System Error: No such file or
> directory
>
> CMake Error at cc/HyperAppHelper/CMakeLists.txt:42
> (configure_file):
>
>   configure_file Problem configuring
> file
>
>
>
>
>
> CMake Error: Could not open file for write in copy operation
> /src/cc/AsyncComm/commTestTimeout.golden.tmp
>
> CMake Error: : System Error: No such file or
> directory
>
> CMake Error at cc/AsyncComm/CMakeLists.txt:84
> (configure_file):
>
>   configure_file Problem configuring file
>
> ...
> ...
> Also at the end
>
> CMake Error: Could not open file for write in copy operation
> /src/cc/Tools/rsclient/initialize.hql.tmp
>
> CMake Error: : System Error: No such file or
> directory
>
> CMake Error at cc/Tools/rsclient/CMakeLists.txt:64
> (configure_file):
>
>   configure_file Problem configuring
> file
>
>
>
>
>
> CMake Warning (dev) in
> CMakeLists.txt:
>
>   No cmake_minimum_required command is present.  A line of code such
> as
>
>
>
>     cmake_minimum_required(VERSION
> 2.8)
>
>
>
>   should be added at the top of the file.  The version specified may be
> lower
>
>   if you wish to support older CMake versions for this project.  For
> more
>
>   information run "cmake --help-policy
> CMP0000".
>
> This warning is for project developers.  Use -Wno-dev to suppress
> it.
>
>
>
> -- Configuring incomplete, errors
> occurred!
>
>
> Any clue how to fix this?
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Hypertable User" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/hypertable-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Doug Judd
CEO, Hypertable Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hypertable-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to