cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: cmake in 7.19.5 and future

From: Richard Atterer <richard_at_2009.atterer.net>
Date: Mon, 27 Apr 2009 01:24:41 +0200

On Sun, Apr 26, 2009 at 01:53:26PM +0200, Daniel Stenberg wrote:
> I've now removed the config-aix.h file I'm convinced wasn't needed and
> not a soul has yet tried of curl can get built with cmake from a (daily
> snapshot) tarball.

FWIW, I just gave it a try under Debian with cmake 2.6, both with the
latest snapshot and a checked-out CVS version.

The CVS version worked fine. I used "ccmake .", i.e. building in the
current directory. "make" eventually produced a "curl" binary without
errors. "make test" does nothing, I would have expected it to execute the
tests.

A try with the daily snapshot failed:

 CMake Error: File
/tmp/curl-7.19.5-20090426/include/curl/curlbuild.h.cmake does not exist.

 CMake Error at lib/CMakeLists.txt:3 (CONFIGURE_FILE):
   configure_file Problem configuring file

 CMake Error: File /tmp/curl-7.19.5-20090426/lib/config.h.cmake does not
exist.

 CMake Error at lib/CMakeLists.txt:5 (CONFIGURE_FILE):
   configure_file Problem configuring file

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  GnuPG key: 888354F7
  | \/¯|  http://atterer.net  |  08A9 7B7D 3D13 3EF2 3D25  D157 79E6 F6DC 8883 54F7
  ¯ '` ¯
Received on 2009-04-27