same problem...
Beginning Services configuration.
Using defaults from config.cache. To ignore, ./Config -nocache
Note: press Return for the default, or enter a new value.
Are you using configure or cmake?
[cmake]
In what directory do you want the binaries to be installed?
[/root/services]
Which group should all Services data files be owned by? (If Services
should not force files to be owned by a particular group, just press
Return.)
[]
What should the default umask for data files be (in octal)?
(077 = only accessible by owner; 007 = accessible by owner and group)
[077]
Would you like to build a debug version of Anope?
[y]
You can optionally have the build run through run-cc.pl, which will
cause warnings and errors (if any) to be colored yellow and red,
respectively. This relies on Perl being installed, so if you say yes
to this without Perl, the option will be ignored.
NOTE: If you are using MinGW, it is NOT recommended to say yes to
this, it may fail.
Would you like to utilize run-cc.pl?
[n]
Are there any extra arguments you wish to pass to cmake?
(You may only need to do this if cmake is unable to locate
missing dependencies without hints)
[]
Saving configuration results in config.cache... done.
cmake -DINSTDIR:STRING=/root/services -DDEFUMASK:STRING=077 -DCMAKE_BUILD_TYPE:STRING=DEBUG -DUSE_RUN_CC_PL:BOOLEAN=OFF ..
CMake Error at CMakeLists.txt:6 (remove_item_from_list):
Unknown CMake command "remove_item_from_list".
-- Configuring incomplete, errors occurred!
Now cd build, then run make to build Anope.