On Friday 03 April 2009 14:44:43 Jerry wrote:
> --- In fc-solve-discuss_at_yahoogroups.com, Shlomi Fish <shlomif_at_...> wrote:
> > > It's written in TCL/TK on Kubuntu 8.04. It's
> > > linked to fc-solve release 2.8.13 because I've had trouble compiling
> > > newer versions since the switch to Cmove6. (Anyone else have problems?)
> >
> > It's CMake 2.6.x. I see that Ubuntu 8.04 contains CMake 2.4.7 (see:
> > http://packages.ubuntu.com/hardy/cmake ). However, there's CMake 2.6.2 in
> > the hardy backports:
> >
> > http://packages.ubuntu.com/hardy-backports/cmake
>
> I'm sorry about the mistake. Yes, I did mean CMake-2.6
OK.
>
> > You may wish to try it, or compile CMake-2.6 yourself under a different
> > prefix under your home directory.
> >
> > In any case, compiling newer versions of FCS with CMake-2.6.x is simple:
> > just run:
> >
> > <<<
> > ./configure -r --prefix="$HOME/path/to/fcs/"
> >
> >
> > and then "make" and "make install".
>
> I reinstalled CMake from hardy-backports last night.
>
> <<<
> $ cmake --version
> cmake version 2.6-patch 2
>
>
> However, I'm still getting the same error.
>
> > But it would be useful to see which problems you encounter exactly.
>
> <<<
> $ ./configure -r .
You shouldn't add a trailing "." to the FCS' ./configure - use only dash-based
arguments. It doesn't do any harm for now, but this behaviour may be changed
in the future.
> cmake -DCMAKE_BUILD_TYPE=debug
> -DFCS_STATE_STORAGE=FCS_STATE_STORAGE_INTERNAL_HASH
> -DFCS_STACK_STORAGE=FCS_STACK_STORAGE_INTERNAL_HASH
> -DCMAKE_INSTALL_PREFIX=/usr -DDATADIR=/usr/share -DBUILD_STATIC_LIBRARY=
> CMake Error: Error in cmake code at
> /home/jerry/Downloads/freecell-solver-2.22.0/CMakeLists.txt:112:
> Parse error. Function missing ending ")". Instead found left paren with
> text "(". -- Configuring done
> <<<
>
I was able to reproduce this exact error using a vanilla version of
CMake-2.6.2 . It's not exhibited in a vanilla version of CMake-2.6.3, so I
suggest you download it and compile it from source, until a newer package is
available for Ubuntu. (I'll report the bug.)
> BTW, speed makes little difference for my purposes. I'm interested in the
> mathematical structure and solvabilty of Freecell. For that even an older
> version of FCS works great.
>
Well, newer releases also incorporate correctness and stability fixes - not
just speed optimization. I generally don't support older versions and tell
people to upgrade, at least until I release a version with an incompatible
API.
Regards,
Shlomi Fish
> Thanks,
> Jerry
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Interview with Ben Collins-Sussman - http://xrl.us/bjn8s
God gave us two eyes and ten fingers so we will type five times as much as we
read.
Received on Fri Apr 03 2009 - 06:42:17 IDT