cmake compile error

Jake Goerzen jgoerzen at opencsw.org
Wed Sep 3 04:25:57 CEST 2014


On 08/04/14 01:56, rupert THURNER wrote:
>
> hi,
>
> i am lacking time a little bit, would somebody be able to look into
> the error cmake-3.0.0 compile gives, if i read correct the log these
> ones:
>
> "/home/rupert/opencsw/cmake/trunk/work/solaris10-i386/build-isa-pentium_pro/cmake-3.0.0/Source/CursesDialog/form/form.priv.h",
> line 124: syntax error before or at: _nc_Copy_Type
> ...
> "/home/rupert/opencsw/cmake/trunk/work/solaris10-i386/build-isa-pentium_pro/cmake-3.0.0/Source/CursesDialog/form/form.priv.h",
> line 132: syntax error before or at: _nc_Internal_Validation
>
> rupert
>

Hi Rupert,

   I took the cmake GAR recipe for a spin and found that the ./configure 
step finds two different libcurses.so (the SUNW version and the OpenCSW 
version):

-- Looking for wsyncup in /usr/lib/libcurses.so
-- Looking for wsyncup in /usr/lib/libcurses.so - found
-- Looking for cbreak in /opt/csw/lib/libncurses.so
-- Looking for cbreak in /opt/csw/lib/libncurses.so - found

Also, just before the same place as you mention in your post above, the 
compile fails with an error cannot find ncurses/ncurses.h

[ 41%] Building C object 
Source/CursesDialog/form/CMakeFiles/cmForm.dir/fld_arg.c.o
"/home/jgoerzen/opencsw/cmake/trunk/work/solaris10-i386/build-isa-pentium_pro/cmake-3.0.0/Source/CursesDialog/form/form.h", 
line 46: cannot find include file: <ncurses/ncurses.h>

Hope this will help in finding the solution.

Best regards,

Jake


More information about the maintainers mailing list